vidorado Posted November 23, 2011 Share Posted November 23, 2011 When i uploaded my prestashop 1.4.4.0 shop to my hosting i had a problem: All the back office tabs worked perfectly except the modules tab. I was having a silent blank page and an error 500 in the response headers. The problem was the memory_limit value of my hosting configuration, and it was being a silent error because error_reporting was set to "Off" in the config file. The modules admin tab is the most memory consuming part of the back office and perhaps that requires a minimum of 32MB of ram to work properly. Hope that helps. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 23, 2011 Share Posted November 23, 2011 When i uploaded my prestashop 1.4.4.0 shop to my hosting i had a problem: All the back office tabs worked perfectly except the modules tab. I was having a silent blank page and an error 500 in the response headers. The problem was the memory_limit value of my hosting configuration, and it was being a silent error because error_reporting was set to "Off" in the config file. The modules admin tab is the most memory consuming part of the back office and perhaps that requires a minimum of 32MB of ram to work properly. Hope that helps. Hi vidorado, Thank you for posting this! We get a lot of people with this issue who we have to answer one by one, so hopefully people will find this right away when searching for help on these forums. For anyone who may be confused, you can change this value yourself if you have access to your php.ini file via ftp, but if you don't, your host can do this for you very easily. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 5, 2011 Share Posted December 5, 2011 I have a similar issue. I've upgraded from 1.3.1. to 1.4.5.1 and o lot of tabs are missed on BO. In BO Home page I have a blanck page with message "tab cannot be found". I have 80% of tbas but for example "performance tab" is missed. I'm using the same server on which Ihave installed fresh 1.4.5.1 and they are working so something is wrong on upgrading. Please help, some suggestion ? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 5, 2011 Share Posted December 5, 2011 Hi DIT, Did you use our autoupgrade module? And have you already tried upgrading your memory limit? -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 5, 2011 Share Posted December 5, 2011 Hi Mike, no I've not used autoupgrade module, because I've updated from 1.3.1. I've followed upgrading process following prestashop doc site. I do not know, about "upgrading memory limit", could you explain it ? Tks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 5, 2011 Share Posted December 5, 2011 Hi DIT, Most servers have a default memory value of 32M, but sometimes that is not enough to handle the workload of this kind of site. Luckily, it is very easy (and free!) to upgrade. If you have access to your site's php.ini file, you can change the memory_limit value manually (I would try switching it to 64M). Alternatively, if you do not have access to this file, just give your hosting provider a call and they should be able to take care of this for you very easily. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 5, 2011 Share Posted December 5, 2011 Hi Mike, thanks for your prompt reply but I guess that your suggestion is for an upgrade procedure, is it ? I've already done it but a lot of tabs are missed. Site is working properli in FO and BO, but I've missed the following tabs (very strange): 1-BO Home page (only top menu is working) 2-Preferences/Aspect, completely missed, cannot change logo etc ... message "cannot find tab" 3-Preferences/performance, completely missed, no link, nothing So it's quite strange. How can install again only missed tabs (or activate them) ? Thanks for your help Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 5, 2011 Share Posted December 5, 2011 No, this is actually for any PrestaShop install that has this issue, not just an upgrade. Basically, if there is not enough memory allocated to your site, certain information may be missing from your Back Office (for example, the contents of an entire tab may be blank). I would suggest that you call your hosting provider and ask them to increase your memory_limit in the php.ini file and see if that fixes it for you. Most hosts are happy to do this for you easily, they just don't have it set this way as a default because that would put far too much strain on their servers to allocate that much to every single site. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 5, 2011 Share Posted December 5, 2011 Ok Mike, I'll check it and I let you know. I have other 2 P.s. 1.4.5.1 on the same server with default settings and they are working properly. The difference is that for the other 2 sites are 1.4.5.1 fresh installations but for the last one for which I have such problems is an upgrade. Ant way I'm going to check the php.ini. Thanks Link to comment Share on other sites More sharing options...
DIT Posted December 6, 2011 Share Posted December 6, 2011 Hi Mike, I've increased memory_limit on php.ini but unfortunately nothing happened on BO so a lot of tabs are missed. Any other idea ? Thanks in advance for your support Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 6, 2011 Share Posted December 6, 2011 Hi DIT, Can you please PM me with your FTP and Back Office login credentials? -Mike Link to comment Share on other sites More sharing options...
Aldeag Posted December 6, 2011 Share Posted December 6, 2011 Where exactly is the php.ini file suppossed to be? I have some problems with some modules which are supposed to be installed, but I don´t see under the Catalogs tab, maybe it has something to be with this problem... : http://www.prestasho...ts/page__st__40 Link to comment Share on other sites More sharing options...
DIT Posted December 9, 2011 Share Posted December 9, 2011 Hi Mike, I was absent for a couple of days. I've checked carefully with error firebug on FO and BO and I have the same error on JS for both sides as per below details. I've tried to re-copy js folder but I have the same errors, any idea ? Error: $ is not defined File sorgente: http://www.eliotecnicastermieri.com/ecommerce/js/tools.js Row: 225 Error: jQuery is not defined File sorgente: http://www.eliotecnicastermieri.com/ecommerce/js/jquery/jquery.easing.1.3.js Row: 13 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi DIT, It appears that this is an issue with your theme. Please try replacing your theme's tools.js file with a fresh version, and let me know if that resolves your issue. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 9, 2011 Share Posted December 9, 2011 Hi Mike, thanks, I'm gonna to try. I have another question: where can I find a "schema" for blooks hook, I think that I have some problems also on hooks of each block so I would be sure that all blocks are properly hooked (some of them are at "top" but also on "header" for example) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi DIT, By "schema," are you talking about a list of where each module is hooked, even if its more than one place? -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 9, 2011 Share Posted December 9, 2011 Hi DIT, By "schema," are you talking about a list of where each module is hooked, even if its more than one place? -Mike yes right Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 You can do that in your Back Office under Modules > Positions. You can also try the "Live Edit" function on the right side of that page for a more practical look at their locations. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 9, 2011 Share Posted December 9, 2011 Yes Mike, I know it. I think that during upgrade something became wrong because I've discovered that "blockcart" was only on right colum (with live edit I can place it only there) but checking on another site, I've seen that "blockcart" must be hooked on "header" as others modules. Ihave several problems in BO (for missed tabs) and also FO is not working very well. To be sure about installation I would check for the standard theme wich hook/s is right for each block, but I cannot find a general "schema" about it. Do you have it ? Tks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Oh I apologize, I thought you were asking for your specific store. This is something I'm actually not sure if we have, partially because there are so many external modules available. I checked with a developer but he hadn't heard of it before either, but I will try to ask the original creator of the software to see if maybe there is an area where this can be found. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 9, 2011 Share Posted December 9, 2011 Ok Mike thanks. Please correct me if I'm wrong: all modules/blocks that are showed permanently in each page MUST be on HEADER HOOK, is it correct ? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi DIT, The three main hooks that are on every page are as follows: Header of Pages Top of Pages Footer However, you're technically correct, as Header of Pages is the one where you'll have the most flexibility compared to the other two. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 9, 2011 Share Posted December 9, 2011 Hi Mike, it will be great to have a MAP of standard modules / hooks on presta theme, because I think that it can be helpfull for everybody. I hope that your collegues will do it. I'll wait for them, Thanks. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi Mike, it will be great to have a MAP of standard modules / hooks on presta theme, because I think that it can be helpfull for everybody. I hope that your collegues will do it. I'll wait for them, Thanks. Absolutely. I don't know if there is something like that already or if someone (it would probably end up being me) would have to go in and test each module on each individual hook, but I will try to look into this for you. -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi DIT, I just spoke with Bruno, PrestaShop's original creator, and this is not something that is currently available for PrestaShop. However, in our upcoming version 1.5, we are introducing the ability to hook any module anywhere within the site, so that will be something you can look forward to. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 10, 2011 Share Posted December 10, 2011 Hi Mike, thanks for your support. I have good news, I've solved all my problems, in this way: 1-Upgrade to 1.4.6.2 but still with several admin tabs missed 2-No more js errors, may be because I was using a wrong template (Ps mixed 1.3.1 and 1.4.5.1) 3-I've add missed tabs, one by one from preferences, with name, class and img, looking to another installation. May be the 3th solution can be helpfull for some other cases, I've not found something similar on the forum. Thanks again, bye Link to comment Share on other sites More sharing options...
DIT Posted December 12, 2011 Share Posted December 12, 2011 Hi Mike, I have last issue. On "configuration information" I have the following error on optional parameter: Definisci l'opzione PHP "register global" su "off" - Set option PHP "register global" "off" But on my php.ini is already set "off". What can I do ? Tks. I have another installation on the same server with Ps 1.4.6.2 but I've not seen such message Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 12, 2011 Share Posted December 12, 2011 Hi DIT, Have you tried calling your hosting provider to ask them about this? They should have direct access to the php.ini file that will allow them to look into this for you and make any changes if necessary. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 13, 2011 Share Posted December 13, 2011 Hi Mike, yes I've called and solved my last issue, tks. I've posted a problem that I've discovered on my cache folder. On tool/smarty/cache I have several "blockcategories" temporary .php files generated from such black. It is 1 file almost each second and it is 7kb. It's quite strange. Do you know if there is a unpgraded blockcategorie module ? I'm using P.S. 1.4.6.2 and prestashop_new theme. Tks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 13, 2011 Share Posted December 13, 2011 Hi DIT, You can go ahead and delete all of the files EXCEPT index.php in your tools/smarty/cache and tools/smarty/compile directories. For future reference, that is known as clearing your smarty cache, and will be very helpful for you in the future whenever you're making changes to your site. I'm glad you were able to resolve this though! Did your host tell you what they changed specifically? -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 13, 2011 Share Posted December 13, 2011 Hi Mike, I know that I can delete-clean cache and compile folders, I do it almost twice a day since long time ago, but it is not normal. In the previous version I deleted everyday img/tmp and sometimes smarty/compile but I've never seen files on cache folder. I was thinking that with new version it was not necessary and more over now I have also cache folder, and why only files generated from "blockcategories", I guess that it is an error on such module. What do you think ? I've read some others posts with cache/blockcategories problem Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 13, 2011 Share Posted December 13, 2011 Hi DIT, If you've enabled Cache in your Back Office under Preferences > Performance, than that folder will start to get filled up with the cache/blockcategories files. I couldn't tell you why blockcategories specifically is showing up in there, but I did run some tests on a test environment and confirmed that it is related to you enabling the Cache in your Back Office. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 14, 2011 Share Posted December 14, 2011 Hi Mike, but my problem is that I have thousand of blockcategories files generated every day, I think 1 file each visitor/page, it is a huge amount. It is not normal, with 1.3.1. I did not face such problem. How can I do ? Tks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 14, 2011 Share Posted December 14, 2011 Hi DIT, The exact same thing actually happens to me on my test environment, so I will try to look into this for you to see if there is anything we can do to suppress it. -Mike Link to comment Share on other sites More sharing options...
DIT Posted December 14, 2011 Share Posted December 14, 2011 Hi Mike, Ok I'll wait for you. For your tech info, I've tried to use the previous "blockcategorie" that was installed on 1.3.1 version and such old module did not create such huge amount of files on cache folder, but such module does not allow to show categories on prestashop_new theme folder and I think that it is not compatible with 1.4.6.2. I guess that something is wrong on "blockcategorie 2.0". Any way I'll wait for your news, thanks Link to comment Share on other sites More sharing options...
elgaxton Posted March 5, 2012 Share Posted March 5, 2012 Hello everyone, I have been reading thru this thread, my own situation is that my BO modules shows blank, I have tried to access php.ini but I can see it. please where is it located? I'm using Prestashop 1.4.7.0 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts