ZikmaSolutions Posted August 5, 2014 Share Posted August 5, 2014 I have problem with blank page on my prestashop www.computers.rs I changed define('_PS_MODE_DEV_', true);define('_PS_DEBUG_PROFILING_', false);define('_PS_MODE_DEMO_', false); but again i have problem... Please help me. e commerce is LIVE.... Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 5, 2014 Share Posted August 5, 2014 I guess you fixed the problem. The site looks good to me Marty Shue Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 5, 2014 Author Share Posted August 5, 2014 Noo everyone said that everything is okay but is not... Surf at my site change 10-15 pages ... u must get blank page.. I will record video ... This is crazy.... Link to comment Share on other sites More sharing options...
NemoPS Posted August 6, 2014 Share Posted August 6, 2014 I browsed about 20 pages with no issue, are you sure it's not your browser's cache? Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 6, 2014 Author Share Posted August 6, 2014 I am clearing cache after every tpl/css change... I am using mozilla and using CTRL+R after every change... I see this problems on Chrome and Maxton ... Link to comment Share on other sites More sharing options...
El Patron Posted August 6, 2014 Share Posted August 6, 2014 I get blank page here http://www.computers.rs/operativni-sistemi/16089-microsoft-windows-sl-8-1-64bit-eng1pk-dvd-4hr-00201.html but when I go to from different browser that page works. there was no error on page please check your php and apache (assuming apached) error logs. Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 6, 2014 Author Share Posted August 6, 2014 When you get blank page, you must reload that page to see content. How to check error logs i have dedicated server without cpanel. Link to comment Share on other sites More sharing options...
El Patron Posted August 6, 2014 Share Posted August 6, 2014 When you get blank page, you must reload that page to see content. How to check error logs i have dedicated server without cpanel. refreshing page as you know is not solution. as for error logs, search using google or other search engine for your type of server software to determine where error logs are located. Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 6, 2014 Author Share Posted August 6, 2014 Refreshing page is anoying! I must fix that.What can be problem? Anyone else ? Link to comment Share on other sites More sharing options...
El Patron Posted August 6, 2014 Share Posted August 6, 2014 Refreshing page is anoying! I must fix that. What can be problem? Anyone else ? please do not ask for 'anyone else' how annoying, you need to find error in your logs. Please follow advice given and not look for answer that best suits you. if you want to run a dedicated or any other hosting with a website, having basic skills to find error logs is required. the point of the post is to help you find issue of blank page, there is no miracle answers when you can not find error log which could most likely resolve your issue. 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 6, 2014 Author Share Posted August 6, 2014 Okay sure.So I need to ask my hosting to give me error logs. But they will say to me everything looks okay. This happening only on prestashop. So something is on presta... Link to comment Share on other sites More sharing options...
El Patron Posted August 6, 2014 Share Posted August 6, 2014 Okay sure. So I need to ask my hosting to give me error logs. But they will say to me everything looks okay. This happening only on prestashop. So something is on presta... without error then we can guess until the cows come come. you should empower yourself to become fluent in basic aspects of webmastering, it's best to find out 'how to' do something so as not to rely on others for this level of issue. this will serve you well in the future. Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 Hello again. This is error log. Lets see what is problem. [Thu Aug 07 14:36:52 2014] [error] [client 194.247.204.15] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/26-torbe-za-laptopove?p=2 [Thu Aug 07 14:37:02 2014] [error] [client 66.249.78.249] PHP Fatal error: Function name must be a string in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 [Thu Aug 07 14:37:10 2014] [error] [client 188.2.76.214] PHP Fatal error: Function name must be a string in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281, referer: http://www.google.rs/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CBoQFjAA&url=http%3A%2F%2Fwww.computers.rs%2Frucni%2F1901-dymo-rhino-5200-case-tvrdi-transportni-kofer.html&ei=N3jjU-O3EpCN4gTB_IHwCA&usg=AFQjCNEaCsl8I7QNqSB6r3OlCGJCqAKGsw&sig2=JV3hk9v2ihnGsB7H4Numvg&bvm=bv.72676100,d.bGE&cad=rja [Thu Aug 07 14:37:31 2014] [error] [client 178.223.90.9] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/50-racunarske-komponente [Thu Aug 07 14:37:32 2014] [error] [client 66.249.78.254] PHP Fatal error: Function name must be a string in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 [Thu Aug 07 14:37:34 2014] [error] [client 178.223.90.9] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/58-graficke-kartice [Thu Aug 07 14:37:41 2014] [error] [client 178.223.90.9] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/60-nvidia-geforce [Thu Aug 07 14:38:02 2014] [error] [client 66.249.78.254] PHP Fatal error: Function name must be a string in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 [Thu Aug 07 14:38:02 2014] [error] [client 37.58.100.235] PHP Fatal error: Function name must be a string in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 [Thu Aug 07 14:38:42 2014] [error] [client 178.223.90.9] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/60-nvidia-geforce?p=2 [Thu Aug 07 14:39:17 2014] [error] [client 94.228.239.193] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/78-napajanja [Thu Aug 07 14:39:21 2014] [error] [client 178.223.185.154] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/167-kucni-aparati [Thu Aug 07 14:39:29 2014] [error] [client 178.223.185.154] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/50-racunarske-komponente [Thu Aug 07 14:39:32 2014] [error] [client 178.223.185.154] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/19-brand-racunari [Thu Aug 07 14:39:42 2014] [error] [client 178.223.90.9] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/60-nvidia-geforce?&p=3 [Thu Aug 07 14:40:01 2014] [error] [client 178.223.90.9] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/60-nvidia-geforce?&p=4 [Thu Aug 07 14:40:39 2014] [error] [client 94.228.239.193] PHP Warning: asort() expects parameter 1 to be array, null given in /var/www/html/modules/livefilter/livefilter.php on line 1237, referer: http://www.computers.rs/78-napajanja?p=2 [Thu Aug 07 14:41:00 2014] [error] [client 66.249.78.249] PHP Fatal error: Function name must be a string in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 7, 2014 Share Posted August 7, 2014 Please disable the livefilter module and see if this fixes your problem. Marty Shue 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 (edited) Same.. I think there is no problem with live filter... Blank page happening only on frontpage presta. Backend works well! Edited August 7, 2014 by ZikmaSolutions (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 what is your version of PrestaShop? Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 PrestaShop™ 1.5.4.0Load time:0.945s Please look at my preferences tab... I think maybe is problem caching? Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 that is a bit dated, 1.5.6.2 would be better release for you as it may very well fix your issue. when I search I see 'similar' issues but that does not mean that it resolves this issue, for example: http://forge.prestashop.com/browse/PSCFV-10408 http://www.prestashop.com/forums/topic/205130-blank-page-when-cache-enabled/ there may be others. I am happy you found how to get errors, this will serve you well in the future, you can now like me take parts of the error message and see if you can find previous issue/fix. 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 I am not sure how to update to 1.5.6.2 and i am scary to do this, 'cos I have more than 22k products, 1000 customers and 1000 orders history. That errors came with this new tempalate. On the last template everything were ok. So we have errors logs, now need to find what is problem. Thanks for helping me 1 Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 yes upgrading can be very scary. if you create a test shop of production and then test upgrades allows one to know what if any issues they may have. here is 1.5 guide, look at auto, not manual http://doc.prestashop.com/display/PS15/Updating+PrestaShop please let us know if you resolve, good luck! Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2014 Share Posted August 7, 2014 I am not sure how to update to 1.5.6.2 and i am scary to do this, 'cos I have more than 22k products, 1000 customers and 1000 orders history. That errors came with this new tempalate. On the last template everything were ok. So we have errors logs, now need to find what is problem. Thanks for helping me Well, at least now we know it's the template error. You can always test an upgrade on a test server if you want to see if the 1.5.6.2 will help you. http://www.prestashop.com/blog/en/set-up-a-test-server-for-your-online-store/ 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 After enabled smarty Debug i got this: Smarty Debug Console - Total Time 0.24696 included templates & config files (load time in seconds) /var/www/html/modules/feeder/feederHeader.tpl (compile 0.00000) (render 0.00036) (cache 0.00000) /var/www/html/modules/ganalytics/header.tpl (compile 0.00000) (render 0.00018) (cache 0.00000) /var/www/html/modules/facebookcomments/header.tpl (compile 0.00000) (render 0.00015) (cache 0.00000) /var/www/html/modules/zopimfree/header.tpl (compile 0.00000) (render 0.00009) (cache 0.00000) /var/www/html/modules/csslider/csslider.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /var/www/html/modules/csstaticblocks/views/templates/hook/csstaticblocks_csslideshow.tpl (compile 0.00000) (render 0.00000) (cache 0.00009) /var/www/html/modules/csmegamenu/csmegamenu.tpl (compile 0.00000) (render 0.00000) (cache 0.00033) /var/www/html/modules/csaddtocartextend/csaddtocartextend.tpl (compile 0.00000) (render 0.00025) (cache 0.00000) /var/www/html/modules/csstaticblocks/views/templates/hook/csstaticblocks_displaytopbottom.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /var/www/html/modules/csstaticblocks/views/templates/hook/csstaticblocks_displayfootertop.tpl (compile 0.00000) (render 0.00000) (cache 0.00009) /var/www/html/modules/csstaticblocks/views/templates/hook/csstaticblocks_displayfooterbottom.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /var/www/html/themes/bestchoice/modules/blockuserinfo/blockuserinfo.tpl (compile 0.00000) (render 0.00033) (cache 0.00000) /var/www/html/themes/bestchoice/modules/blocksearch/blocksearch-top.tpl (compile 0.00000) (render 0.00055) (cache 0.00000) /var/www/html/modules/blocksearch/blocksearch-instantsearch.tpl (compile 0.00000) (render 0.00019) (cache 0.00000) /var/www/html/themes/bestchoice/modules/csheaderlink/csheaderlink.tpl (compile 0.00000) (render 0.00036) (cache 0.00000) /var/www/html/modules/csstaticblocks/views/templates/hook/csstaticblocks_displaytop.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /var/www/html/modules/cscatalogmenu/cscatalogmenu.tpl (compile 0.00000) (render 0.00000) (cache 0.00015) /var/www/html/themes/bestchoice/modules/blockcms/blockcms.tpl (compile 0.00000) (render 0.00039) (cache 0.00000) /var/www/html/modules/blockcategories/blockcategories.tpl (compile 0.00000) (render 0.00000) (cache 0.00013) /var/www/html/modules/blockleocustomhtml/tmpl/default.tpl (compile 0.00000) (render 0.00011) (cache 0.00000) /var/www/html/modules/lofadvancecustom/tmpl/default/default.tpl (compile 0.00000) (render 0.00000) (cache 0.00019) /var/www/html/modules/scrolltop/footer.tpl (compile 0.00000) (render 0.00017) (cache 0.00000) /var/www/html/modules/csstaticblocks/views/templates/hook/csstaticblocks_displayfooter.tpl (compile 0.00000) (render 0.00000) (cache 0.00009) /var/www/html/themes/bestchoice/category.tpl (compile 0.00000) (render 0.00456) (cache 0.00000) /var/www/html/themes/bestchoice/breadcrumb.tpl (compile 0.00000) (render 0.00019) (cache 0.00000) /var/www/html/themes/bestchoice/errors.tpl (compile 0.00000) (render 0.00018) (cache 0.00000) /var/www/html/themes/bestchoice/category-count.tpl (compile 0.00000) (render 0.00015) (cache 0.00000) /var/www/html/themes/bestchoice/layout.tpl (compile 0.00000) (render 0.00149) (cache 0.00000) /var/www/html/themes/bestchoice/header.tpl (compile 0.00000) (render 0.00070) (cache 0.00000) /var/www/html/themes/bestchoice/footer.tpl (compile 0.00000) (render 0.00021) (cache 0.00000) Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 I would seriously look at this forge report/fix and apply it. http://forge.prestashop.com/browse/PSCFV-10408 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 I can't upgrade... No way.... Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 I would seriously look at this forge report/fix and apply it. http://forge.prestashop.com/browse/PSCFV-10408 I can't upgrade... No way.... this is not an upgrade, this is fix that is 'very' similar to your issue and fixed on later version of yours. Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 7, 2014 Author Share Posted August 7, 2014 HEY! This is update. I disabled cache,and everything is ok.But pages are so slow.... What can do now? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2014 Share Posted August 7, 2014 HEY! This is update. I disabled cache,and everything is ok. But pages are so slow.... What can do now? Have you tried applying the fix that El Patron stated? Please be sure to backup and test any changes before making it to your live store. Thanks! Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 HEY! This is update. I disabled cache,and everything is ok. But pages are so slow.... What can do now? 1. download (using ftp) classes/module/Module.php from your shop. 2. open with a file editor 3. save file 'as' classes/module/backup_Module.php (back up the file) 4. now reopen classes/module/Module.php you downloaded 5. go to this link: https://github.com/PrestaShop/PrestaShop/commit/242556e176502ec61271a3945e1337917bc88f93 6. on that page, click view 7. copy all the code 8. paste into the open file classes/module/Module.php and file it 9. now FTP classes/module/Module.php to your remote classes/module/Module.php in the end, you will find keeping current especially when loading current todays themes/modules is less trouble than this. https://github.com/PrestaShop/PrestaShop/commit/242556e176502ec61271a3945e1337917bc88f93 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 8, 2014 Author Share Posted August 8, 2014 Good morning, after this steps and changes site is no work... Just blank page. Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2014 Share Posted August 8, 2014 Good morning, after this steps and changes site is no work... Just blank page. then restore the back up you made in step 3. you may consider posting in job offers section to get someone to apply this correctly and do other debug. 1 Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 8, 2014 Share Posted August 8, 2014 you may consider posting in job offers section to get someone to apply this correctly and do other debug. This was going to be my exact response Marty Shue Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2014 Share Posted August 8, 2014 on another note, posting that you get blank page, it not enough information to give any sort of advice. make sure to turn on debug and get error code/explanation. Link to comment Share on other sites More sharing options...
NemoPS Posted August 8, 2014 Share Posted August 8, 2014 I second El Patron, moreover, if you always get a blank page it means there is a syntax error somewhere, so you should enable error reporting (see my signature) Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 9, 2014 Author Share Posted August 9, 2014 @Nemo1 all time PS_MODE_DEV is set to true. So what to try now? I tried El Patron and i got blank page on homepage so i back up file. Link to comment Share on other sites More sharing options...
NemoPS Posted August 9, 2014 Share Posted August 9, 2014 weird, is there a chance php errors are globally disabled on the server? Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 9, 2014 Author Share Posted August 9, 2014 No chance... How i can "reset" cache? I dont have blank pages when cache is checked "NO", But site is so slow... Maybe there is error in cache files, cos i updated 99999 tpl , php and css files in last 3 weeks Link to comment Share on other sites More sharing options...
NemoPS Posted August 9, 2014 Share Posted August 9, 2014 The only other thing I can think about is writing permissions. You can try emptying cache by going to advanced parameters/performance and click 'clear smarty cache'. Or do it manually by erasing the content of cache/smarty/compile and cache/smarty/cache (keep index.php) Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted August 9, 2014 Author Share Posted August 9, 2014 I need to delete cache from theme folder or root? on this adress i dont have index.php => cache/smarty/compile and cache/smarty/cache Link to comment Share on other sites More sharing options...
El Patron Posted August 9, 2014 Share Posted August 9, 2014 what you need to do, and always do, is when you get blank page or 500 error, is to get the underlying error. this causes community to respond with guesses... Link to comment Share on other sites More sharing options...
NemoPS Posted August 11, 2014 Share Posted August 11, 2014 Strange, index should always be there as far as I know. Well, no big deal, from the root folder Link to comment Share on other sites More sharing options...
Recommended Posts