haiderg Posted December 23, 2013 Share Posted December 23, 2013 Hi, I installed Prestashop 1.5 latest build via Softaculous for a friend but when I made changes to a javascript file and images, they don't appear on front office. I even tried refreshing of browser after force compilation and disabling cache options but still no luck. So I uninstalled it thinking this error is with latest build only, I installed version 1.4.11 and still when I made some changes and tried to reflect them on front office, they were not fully showing. I again tried force compilation and deleting of cache folders as mentioned on different tutorial websites but no luck. So I upgraded the version back to 1.5 and when I clicked the button to clear cache my router got restarted as it fell down from table and then when i tried to access presta shopping cart or admin panel of prestashop both appeared as blank?? I tried it on another computer and same result. I called a friend to access it and same result. How unstable is it? Just clicking one button in admin panel can cause all my efforts of days to vanish? And what is the use of an open source cart if our changes don't appear even after refresh and force compilation? I am not sure where it is hiding its cache. I checked error_log file and it was showing file not found in root directory while those files are in theme directory. It is default theme of version 1.5 and I did not changed any paths? You can visit front office by clicking here. Please help. Thanks! Link to comment Share on other sites More sharing options...
indus Posted December 23, 2013 Share Posted December 23, 2013 (edited) You should go to your root folder and under folder called config, open the file defines.inc.php and turn display errors to on and dev mode true. That will give you a clue. Your back office is working fine ? Edited December 23, 2013 by indus (see edit history) Link to comment Share on other sites More sharing options...
haiderg Posted December 23, 2013 Author Share Posted December 23, 2013 Thanks for quick reply but back office is also not working and giving blank page just like front office. I can reinstall and do the huge modifications again only if I have the assurance that cacheing problem will somehow be resolved. Any changes made to theme never appears on front office no matter what i do and I am not sure why is happening even if I reinstall the cart or even install a previous version. Another user suggested that I must disable cloudfare and I checked but there is not cloudfare or optimization enabled in Cpanel of my hosting account. Please help. Link to comment Share on other sites More sharing options...
indus Posted December 23, 2013 Share Posted December 23, 2013 (edited) From your description, it is difficult to understand what the problem is. Can you try to do the steps i mentioned . That will display an error on the page. Cache is not the problem in your case. Prestashop cache works fine. Unless you are using memcached or other options at the end of the performance section of back office. Btw, who is your host? Seems like your installation has not been done properly. Edited December 23, 2013 by indus (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted December 23, 2013 Share Posted December 23, 2013 it sounds to me there is more of an issue of your mass changes than underlying PrestaShop. You had a working shop and then implemented changes and your shop tipped over. So I would be reluctant to point at base installation as the culprit. It is recommended to install the install build from PrestaShop rather than using 3rd party installations. Link to comment Share on other sites More sharing options...
indus Posted December 23, 2013 Share Posted December 23, 2013 I agree with El Patron, avoid the install script and try the prestashop installer. Link to comment Share on other sites More sharing options...
haiderg Posted December 23, 2013 Author Share Posted December 23, 2013 okay, I enabled debugging and now this message is appearing on front office: Fatal error: Call to undefined method Shop::initialize() in /home/apnisupe/public_html/config/config.inc.php on line 95 I did not touch any default settings of cache page. Memcached and other settings are same as in default installation. I just enabled forcecompilatioin and clicked the button next enable disable cache (I think button was labeled delete cache or something) The web host (hitbiz.net) is fine, I have several websites hosted with them and never had any issues and they are very cooperative. Click here to see their default PHP installation on servers as I already contacted them and they say the problem is not with their servers and I agree with them as Prestashop was first running fine wihtout any issues except, I could not get rid of cache or could not see changes I made to theme. The changes were simple (not related to any PHP function or script). For example, if I change a javascript and put comment on top of the javascript file like // test to see if changes adopted and I force compile and clear browser cache and everything but still that line did not appear on javascript. Hope this makes sense. Thanks for any help. I can reinstall from prestashop download but I don't think it will solve cacheing issues. Will it? Link to comment Share on other sites More sharing options...
El Patron Posted December 23, 2013 Share Posted December 23, 2013 Call to undefined method Shop::initialize() in /home/apnisupe/public_html/config/config.inc.php on line 95 this tells us that you do not have classes/shop/Shop.php or you do but it does not have function initialize... which tells me you have a bad installation and/or have deleted some important files Link to comment Share on other sites More sharing options...
haiderg Posted December 23, 2013 Author Share Posted December 23, 2013 ok I am now doing a fresh install using files downloaded directly from prestashop site. I will then check if cache problem persists or not and will let you guys know if it does. Thanks for your help. Link to comment Share on other sites More sharing options...
El Patron Posted December 23, 2013 Share Posted December 23, 2013 yes, please let us know how it goes. .I am sure you will get it sorted...there is a bit of a learning curve with new cms's.. Link to comment Share on other sites More sharing options...
Recommended Posts