Jump to content

Recommended Posts

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

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

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

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

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

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

×
×
  • Create New...