damsoi01 Posted September 8, 2014 Share Posted September 8, 2014 Hello everyone and sorry if it looks like a re-post, I have searched on the forum for many days a solution to me problem but nothing helped so far. I have a boutique that worked well as long as it was on my test server, but since we uploaded it to our production server the validation of payment does not work, it gives a blank page. I tried with Paypal, Checks and Wire transfers and the user never gets a confirmation email, nor do I, and the status of the order in backend is blank. However, the money from paypal does get transferred but we don't get any validation (either me or the client) I wanted to know why it stopped working from the test server to the prod one. http://hdmontrouge.com/boutique Thanks in advance for the help! Link to comment Share on other sites More sharing options...
NemoPS Posted September 8, 2014 Share Posted September 8, 2014 blank page = errors, try and follow my signature suggestion and post back the error page here Link to comment Share on other sites More sharing options...
kristianknag Posted September 8, 2014 Share Posted September 8, 2014 I have been having the same problems, although i haven't moved my prestashop installation. No matter which payment module i use, it returns to i blank page and i dont get any error page even if i turn the error reporting to on. It still just goes to a blank page. Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 Thank you for the reply, the error shown (while trying with bank wire) is Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/hdmontro/www/boutique/themes/default-bootstrap/mails/fr/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/hdmontro/www/boutique/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2 Any idea what it comes from? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 Now on backend I also get this error when clicking on an order (since I activated the error display) Notice à la ligne 120 du fichier /home/hdmontro/www/boutique/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Trying to get property of non-object Link to comment Share on other sites More sharing options...
vekia Posted September 8, 2014 Share Posted September 8, 2014 your email files are escaped with backslashes you edited this file (mentioned in error code) manually? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 I simply changed them from backend, but maybe I erased an important part? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 I uploaded the originals folders "Themes" and "Tools" and "Mails" but it didn't fix the issue. Moreover, I updated the translations in backend and still the same error. Link to comment Share on other sites More sharing options...
NemoPS Posted September 8, 2014 Share Posted September 8, 2014 Do you have magic_quotes_gpc enabled on your server? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 How do I know if I do? I uploaded a php.ini at the root of my server and at the root of my shop, I thought that would do the trick: ; Magic quotes ; ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \'). magic_quotes_sybase = Off extension=pdo.so extension=pdo_mysql.so Link to comment Share on other sites More sharing options...
NemoPS Posted September 8, 2014 Share Posted September 8, 2014 okay, they are off now then, provided that the php.ini you uploaded is used as base config for your hosting space. If you checked that already, but still have the issue, can you manually check that order_conf_product_list file? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 This file is the original: {foreach $list as $product} {$product[\'reference\']} {$product[\'name\']} {$product[\'price\']} {$product[\'quantity\']} {$product[\'price\']} {foreach $product[\'customization\'] as $customization} {$product[\'name\']} {$customization[\'customization_text\']} {$product[\'price\']} {$product[\'customization_quantity\']} {$product[\'quantity\']} {/foreach} {/foreach} I went into backends information, and it says: Optionnal Paramter -magicquotes Shouldn't it be fine with a php.ini? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 8, 2014 Author Share Posted September 8, 2014 Pasting a line in .htaccess the magic quotes turned off, however the error keeps going.. Link to comment Share on other sites More sharing options...
NemoPS Posted September 9, 2014 Share Posted September 9, 2014 At this point, remove all quotes, they are not there in my out of the box presta {$product['quantity']} Link to comment Share on other sites More sharing options...
damsoi01 Posted September 9, 2014 Author Share Posted September 9, 2014 I don't have the quotes either in root/mails/en but they do appear in themes/default-bootstrap/mails/en/ This is really weird, I had everything working last month so I tried to restore a back up version and the error remains. Link to comment Share on other sites More sharing options...
NemoPS Posted September 10, 2014 Share Posted September 10, 2014 In the restored backup of the theme ones, are there quotes? Link to comment Share on other sites More sharing options...
damsoi01 Posted September 12, 2014 Author Share Posted September 12, 2014 Hello, sorry for the delay, yes there were quotes as well, but it still worked before though. I never touched the scripts since I liked the design and functionalities by default.. Link to comment Share on other sites More sharing options...
damsoi01 Posted September 12, 2014 Author Share Posted September 12, 2014 Well, I re-installed prestashop's latest version on another subdomain, connected it to my current mysql DB and it fixed the problem. I guess there has been an issue during the last update of my shop.. Issue fixed, I just had to re-upload the pictures folders and the shop is now fully operational once more. Thanks for your time and advices! Link to comment Share on other sites More sharing options...
Recommended Posts