VitruvianMan Posted May 12, 2013 Share Posted May 12, 2013 Hi all, please help to solve this big error: I have launched PS 1.5.4.0, all is done, I made translations directly in TPL files, but at Checkout - First step OK, but Second step just this blank page with few rows. Thanks a lot! This is second step of order with error (blank page with few info): Link to comment Share on other sites More sharing options...
El Patron Posted May 12, 2013 Share Posted May 12, 2013 it would seem that there is an underlying error (php). Try this : http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ to see if you can identify the error (assuming there is an error) Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 12, 2013 Author Share Posted May 12, 2013 Thanks a lot for suggestion! I did it and get these errors, but don´t see what to exactly do: Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2013 Share Posted May 12, 2013 can you try to disable the link block module? Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 12, 2013 Author Share Posted May 12, 2013 Thanks, I did it, but its´not in that... Link to comment Share on other sites More sharing options...
ectrading Posted May 14, 2013 Share Posted May 14, 2013 Hi, I am getting the same problem, but my error is: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/ectradin/public_html/tools/smarty/sysplugins/smarty_internal_compile_private_print_expression.php on line 127 any ideas? Link to comment Share on other sites More sharing options...
El Patron Posted May 14, 2013 Share Posted May 14, 2013 Hi, I am getting the same problem, but my error is: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/ectradin/public_html/tools/smarty/sysplugins/smarty_internal_compile_private_print_expression.php on line 127 any ideas? you need to increases the max memory that php is allowed to use. There are loads of post in this forum and on external forums on how to increase this, if you are unsure contact your hosting provider. Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 14, 2013 Author Share Posted May 14, 2013 I tried almost everything, but nothing worked. Please, help with suggestions... Link to comment Share on other sites More sharing options...
ectrading Posted May 14, 2013 Share Posted May 14, 2013 Hi, Hosting provider increased memory from 16mb to 128mb and now all ok. Thanks 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 14, 2013 Share Posted May 14, 2013 did you load a custom module 'blocklink', this is the problem module, i.e. where the error is. and you stated you changed the .tpl files directly for translation, You should have used the back office to do this. It's possible that you may have made a coding error when directly the .tpl files. Note: never ever change files unless you have no other choice. Compare the modules/blocklink file dates to see if you modified the file, if not then download via ftp your files and upload a new native prestashop blocklink module (can be found by unzipping the version of PS you are using). Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 14, 2013 Author Share Posted May 14, 2013 Hi, thanks a lot for answer, I have controlled all TPL files and code is OK. Then disabled and deleted Link module (before that checked dates - never changed). But still the same error... Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 it's really weird, you disabled / uninstalled the module, and the problem still apear, are you sure that you uninstalled correct module? Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 21, 2013 Author Share Posted May 21, 2013 Hi, I have finally made new htaccess and new debugs and found the fatal error - you can see it in picture: And this is line 332 in cache file: <label for="id_address_delivery"><!--?php if ($_smarty_tpl--->tpl_vars['cart']->value->isVirtualCart()){?><!--?php echo smartyTranslate(array('s'=-->'Vyberte fakturačnú adresu:'),$_smarty_tpl);?></label> And this is original template orderr-address.tpl file line: <label for="id_address_delivery">{if $cart->isVirtualCart()}{l s='Vyberte fakturačnú adresu:'}{else}{l s='Vyberte doručovaciu adresu:'}{/if}</label> Please, help with fixing this error. Thanks a lot for your suggestions! Link to comment Share on other sites More sharing options...
vekia Posted May 21, 2013 Share Posted May 21, 2013 it means that variable $cart isn't defined as object. can you try with: {$cart|print_r} have you got any output when you use code abouve? Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 21, 2013 Author Share Posted May 21, 2013 Thank you, I do not know, where to change this suggested code. Original cache file is here, in attached file. THX 521d922804e4b71125955837afb30d9a903114b9.file.order-address.tpl.php Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 22, 2013 Author Share Posted May 22, 2013 Still haven´t solve it... do you all have some ideas what to do with this VirtualCart non-object error? Thanks! Link to comment Share on other sites More sharing options...
El Patron Posted May 22, 2013 Share Posted May 22, 2013 what happens when you turn 'on' smarty force compile? Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 22, 2013 Author Share Posted May 22, 2013 Nothing. I tried to turn it off, then on, with or without turned on cache. You can see actual configuration in attached file. Thanks Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 23, 2013 Author Share Posted May 23, 2013 ok, I definitely decide to pay anyone who can fix that fatal error - please, help Link to comment Share on other sites More sharing options...
El Patron Posted May 23, 2013 Share Posted May 23, 2013 ok, I definitely decide to pay anyone who can fix that fatal error - please, help I pm'ed you, and I don't charge to help. Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 25, 2013 Author Share Posted May 25, 2013 Error is still unsolved, it´s pretty big issue, we have up to 6000 products in shop and over 4000 customers. But now are all orders stopped for 2 weeks because of this strange bug. Link to comment Share on other sites More sharing options...
VitruvianMan Posted May 26, 2013 Author Share Posted May 26, 2013 Well, I have finally fixed it, just replaced all isVirtualCart () in order-address.tpl file by value - now all is working. Thanks to this topic in Spanish: http://www.prestashop.com/forums/topic/226761-solucionado-fatal-error-call-to-a-member-function-isvirtualcart-on-a-non-object-in/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now