sligo-oy Posted August 28, 2012 Share Posted August 28, 2012 I wonder if someone else had the same issue or can replicate it. I saw a bug with the same issue and was supposed to be fixed, but at least I'm having trouble with this. So the issue is that the multistore tree never appears on the multistore page. I have multistore enabled. Here's my environment: Server information Prestashop version: 1.5.0.15 Server information: Linux #1 SMP Wed Mar 14 15:22:14 EDT 2012 i686 Server software version: Apache PHP version: 5.2.17 Database information MySQL version: 5.0.95-community MySQL engine: InnoDB Tables prefix: ps_ Store information Shop URL: http://presta15.avuliasaatu.com/ Current theme in use: default Mail configuration Mail method: You are using the PHP mail() function. Your information Your web browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1 Check your configuration Required parameters: OK Optional parameters: Please fix the following error(s) magicquotes So only thing is the magicquotes, which shouldn't effect like this especially since it's optional. It's a fresh install with only enabled the multistore feature. Link to comment Share on other sites More sharing options...
sligo-oy Posted August 29, 2012 Author Share Posted August 29, 2012 So nobody has the same issue with the multistore tree simply missing on the left column when multistore is enabled and there are shops created so there should be a tree? Really? Link to comment Share on other sites More sharing options...
Nick Fedchik Posted August 29, 2012 Share Posted August 29, 2012 What the version and revision? What the steps to reproduce the bug? Is it reproducable on latest SVN code? Did You post the bug to the project bugtracker? Link to comment Share on other sites More sharing options...
sligo-oy Posted August 30, 2012 Author Share Posted August 30, 2012 Version is 1.5.0.15 as it shows on the first post. Released on August 06, 2012. The multishop tree never showed, so steps are just to install a fresh copy and enable multistore. I'll test with the latest SVN code, haven't done that yet. No I didn't post a bug yet, since there was one a while back and it was resolved as fixed so I wanted to know first does this bug happen with others or is it just me for some reason. But I'll test latest svn now and let you know if the issue is still there. Link to comment Share on other sites More sharing options...
sligo-oy Posted August 30, 2012 Author Share Posted August 30, 2012 Ok, it's now tested with revision 17092. Fresh install, nothing else done expect enabling the multistore. No tree showing at this point. Also I add a shop group, shop. Still no tree. Without the tree I can't really modify existing stores. Next issue I found when adding url to a shop, I get error 406 "Not acceptable" when pressing "save" from adding url form.. This might be a result of server settings though. Except same server runs 1.4 versions without any hiccups. Link to comment Share on other sites More sharing options...
Tito Posted September 6, 2012 Share Posted September 6, 2012 (edited) I had similar issues, when using Internet Explorer. This is a copy/paste of the docs I'm writing for a client: Webshop Administration users who use Internet Explorer as their web browser should check their temporary internet file settings and change the "Check for newer version of stored pages" setting to "Every time I visit the web page" or "Every visit to the page" if another setting is selected. The correct setting will ensure that the Webshop BackOffice displays the correct content after changes are applied to the webshop. Note: We recommend to use the browser ‘Google Chrome’ for an optimised experience, though everything will also work in other browser. Using Internet Explorer 6 is strongly discouraged since it uses outdated technology. Edited September 6, 2012 by Tito (see edit history) Link to comment Share on other sites More sharing options...
sligo-oy Posted September 13, 2012 Author Share Posted September 13, 2012 (edited) I've tested this on all major browsers and the issue still stays. It seems that for some reason the multistore tree html doesn't get generated from anywhere. I might mine the code a bit myself to see why it's not showing at all. Currently tested revision 17369. Edited September 13, 2012 by sligo-oy (see edit history) Link to comment Share on other sites More sharing options...
Patric Posted September 13, 2012 Share Posted September 13, 2012 Hi, You should try with the final version. If it still occurs, please report the problem into our bug tracker. Thanks. Link to comment Share on other sites More sharing options...
sligo-oy Posted September 14, 2012 Author Share Posted September 14, 2012 Yes, I just noticed final release has come out. I now tested with two separate servers with the final version. Apparently there's something wrong with the server settings since the tree works fine on another server, but still not on the one I first tested it on. So don't think it's a bug. Link to comment Share on other sites More sharing options...
scruft Posted September 30, 2012 Share Posted September 30, 2012 Have you had any luck with this? I'm having the same problem on my Arvixe hosting, the tree is missing. I can't modify existing stores! It was working fine on (I think) RC 1. Link to comment Share on other sites More sharing options...
soroosh Posted November 9, 2012 Share Posted November 9, 2012 (edited) I have the same problem: Information about your configuration Server information Server information: Linux #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 Server software version: Apache PHP version: 5.3.18 Memory limit: 128M Max execution time: 30 Database information MySQL version: 5.1.65-cll MySQL engine: InnoDB Tables prefix: ***** Store information Prestashop version: 1.5.2.0 Shop URL: http://next.rahasan.com/ Current theme in use: default Mail configuration Mail method: You are using the PHP mail() function. Your information Your web browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 Check your configuration Required parameters: OK Optional parameters: Please fix the following error(s) magicquotes List of changed files Changed/missing files have been detected Updated files (20) config/config.inc.php config/defines.inc.php modules/blockcart/blockcart.css modules/blockcms/blockcms.tpl modules/blockcms/img/arrow_right_2.png modules/blockcontact/blockcontact.css modules/blockcurrencies/blockcurrencies.css modules/blocknewsletter/blocknewsletter.css modules/blocknewsletter/img/bg_bt_newsletter_ok.png modules/blockpermanentlinks/blockpermanentlinks.css modules/blockreinsurance/blockreinsurance.tpl modules/blockreinsurance/style.css modules/blocksearch/blocksearch.css modules/blocktopmenu/css/superfish-modified.css modules/blocktopmenu/img/arrows-ffffff.png modules/blocktopmenu/img/bg_blocktopmenu.png modules/blocktopmenu/img/bg_blocktopmenu_li_hover.png modules/blocktopmenu/img/bg_li_blocktopmenu.png modules/blockuserinfo/blockuserinfo.css modules/homeslider/bx_styles.css Edited November 9, 2012 by soroosh (see edit history) Link to comment Share on other sites More sharing options...
yubabikes Posted November 19, 2012 Share Posted November 19, 2012 Installed the version last week and have exactly the same problem. The tree left menu is not showing. Link to comment Share on other sites More sharing options...
yubabikes Posted November 20, 2012 Share Posted November 20, 2012 Any lead here on how to fix this issue. Prestashop specialists out there? thanks Link to comment Share on other sites More sharing options...
Henrik Pantle Posted November 28, 2012 Share Posted November 28, 2012 (edited) got the same thing here. after adding a new shop / shopgroup using 1.5.2 Edited November 28, 2012 by eltnap (see edit history) Link to comment Share on other sites More sharing options...
yusuf.alma Posted December 11, 2012 Share Posted December 11, 2012 It does not show up for me too. Still no solution? PS 1.5.2 Yusuf Alma Toko Baju Muslim "Almaisyah" Link to comment Share on other sites More sharing options...
kxxd Posted December 14, 2012 Share Posted December 14, 2012 I also have no tree, on both 1.5.1 and 1.5.2. However, running the same installation on a wamp server the tree shows up just fine. All server checks during online install came up OK. Link to comment Share on other sites More sharing options...
FILZYFROG Posted February 2, 2013 Share Posted February 2, 2013 Hi, I have the same problem but i think it's JS problem. Multishop tree is not wonrking but there is a lot of lists of values an buttons that are not working too. ReferenceError: $ is not defined Probably prestashop is not able to load some .js or something is crashing whit it. I've tried to copy fresh js and admin directories with no luck... I still looking for solutions. Link to comment Share on other sites More sharing options...
FILZYFROG Posted February 9, 2013 Share Posted February 9, 2013 Hi, My solution (not good but it works), modify header.tlp from source "admin/themes/default/template". I've just added .js files manually. <script type="text/javascript" src="/shop_directory/admin/../admin/../js/jquery/plugins/jquery.cookie-plugin.js"></script> <script type="text/javascript" src="/shop_directory/admin/../admin/../js/jquery/plugins/jstree/jquery.jstree.js"></script> Only way i've find. Link to comment Share on other sites More sharing options...
mopi Posted March 5, 2013 Share Posted March 5, 2013 My solution rename 'cookie-plugin' to 'cookie_plugin' in the web site (in adminsshopurlcontrolller , adminShopGroupControler AND adminShopController) and rename jquery.cookie-plugin.js to jquery.cookie_plugin.js is it working ! et voila 1 Link to comment Share on other sites More sharing options...
clsoserbkk Posted March 5, 2013 Share Posted March 5, 2013 Thank you mopi. You make my day. It seems pretty tricky but definitely worth it. I just wonder on the next upgrade; Should I rollback the modifications before upgrade to newer versions? May be stupide question cause there is high pourcent of chance prestashop wont have fix it Link to comment Share on other sites More sharing options...
Arnel Posted November 9, 2013 Share Posted November 9, 2013 Thanks mopi! We were also seeing this problem and made the changes that you suggested. I just wanted to add that in looking at the Apache error logs for the web server, I was seeing a Modsecurity error that was related to this issue. We corrected it by changing jquery.cookie_plugin.js in the following three files: adminsshopurlcontroller.php adminShop GrouopControler.php adminShopController.php When we refreshed the site afterwards we could see the Multisite tree working properly. Link to comment Share on other sites More sharing options...
openmybiz Posted November 11, 2013 Share Posted November 11, 2013 Thanks mopi! We were also seeing this problem and made the changes that you suggested. I just wanted to add that in looking at the Apache error logs for the web server, I was seeing a Modsecurity error that was related to this issue. We corrected it by changing jquery.cookie_plugin.js in the following three files: adminsshopurlcontroller.php adminShop GrouopControler.php adminShopController.php When we refreshed the site afterwards we could see the Multisite tree working properly. Hi would you please point me where I can locate these files thank you By the way, I could find these three files inside of a controllers/admin folder but the three files do not contain the wording "jquery.cookie-plugin.js" ? adminsshopurlcontroller.php adminShop GrouopControler.php adminShopController.php Link to comment Share on other sites More sharing options...
openmybiz Posted November 11, 2013 Share Posted November 11, 2013 Found a pretty detailed solution here: http://forge.prestashop.com/secure/Dashboard.jspa It worked perfect for me! I'm with V. 1.5.6.0 ZhenIT Sofware added a comment - 06/Jun/13 12:18 AM Got the problem. It is not a prestashop issue. There is a rule in apache's mod_security module (950004) that prevents loading url with the "cookie" string thus the file js/jquery/plugins/jquery.cookie-plugin.js is not loaded and the js that generates the tree fails. Smart solution: disable 950004 rule in mod_security. If you're in a shared hosting and don't have access to mod_security configration:rename js/jquery/plugins/jquery.cookie-plugin.js to js/jquery/plugins/jquery.c00kie-plugin.js change line:$this->addJqueryPlugin('cookie-plugin');to$this->addJqueryPlugin('c00kie-plugin'); in files: controllers/admin/AdminShopController.phpcontrollers/admin/AdminShopGroupController.phpcontrollers/admin/AdminShopUrlController.php Link to comment Share on other sites More sharing options...
insercom Posted March 27, 2014 Share Posted March 27, 2014 Hi I have tried everything you have said but still not work for me. I'm using version 1.5.6.1. Anyone have a different solution? Link to comment Share on other sites More sharing options...
Recommended Posts