zaglebie Posted October 19, 2013 Share Posted October 19, 2013 (edited) I've moved my shop to new server which have i think same configuration (apache2 instead of apache1, same php 5.4.2 etc)and i got some errors - at checkout:TECHNICAL ERROR: unable to save adressesDetails:Error thrown: [object XMLHttpRequest]Text status: parsererrorin logs:[sat Oct 19 21:28:00 2013] [error] [client 78.9.5.23] PHP Notice: Undefined variable: address_invoice in /home/.../domains/.../public_html/override/controllers/AuthController.php on line 207, referer: http://www..../bestellungafter sending email via contact form:Notice: Undefined variable: _LANGMAIL in /home/.../domains/.../public_html/classes/Mail.php on line 144 Notice: Undefined variable: _LANGMAIL in /home/.../domains/.../public_html/classes/Mail.php on line 144and after making order, in logs i got:[sat Oct 19 22:07:13 2013] [error] [client 78.9.5.23] PHP Notice: Undefined variable: currency in /home/.../domains/.../public_html/override/classes/PaymentModule.php on line 19, referer: http://www..../modules/bankwire/payment.php[sat Oct 19 22:07:13 2013] [error] [client 78.9.5.23] PHP Warning: Invalid argument supplied for foreach() in /home/.../domains/.../public_html/classes/Product.php on line 2800, referer: http://www..../modules/bankwire/payment.php[sat Oct 19 22:07:13 2013] [error] [client 78.9.5.23] PHP Notice: Undefined variable: _LANGMAIL in /home/.../domains/.../public_html/classes/Mail.php on line 144, referer: http://www..../modules/bankwire/payment.php[sat Oct 19 22:07:13 2013] [error] [client 78.9.5.23] PHP Notice: Undefined variable: _LANGMAIL in /home/.../domains/.../public_html/classes/Mail.php on line 144, referer: http://www..../modules/bankwire/payment.phpALSO mail alerts module stopped working - it stopped sending emails with new order notificationwhat could be the reason ? i've moved files safely i mean i've compressed directory at old server moved file and decompressed at new server so files cant be damagedand i dont believe that its my shop fault because at 2 previous servers everything was fine - no errors like thisit must be something with server configuration but what Edited October 19, 2013 by zaglebie (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted October 22, 2013 Share Posted October 22, 2013 What PrestaShop version are you using? Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 it's a mirror of the store? you've got exactly the same stores? it looks like you use some overrides and these overrides don't work well. and regarding to the configuration of the hosts, you've got exactly the same configuration of php.ini too? Link to comment Share on other sites More sharing options...
musicmaster Posted October 22, 2013 Share Posted October 22, 2013 One possibility is that it is a rights issue. You should check whether you have full rights to the directories. It can also be that you no longer have the "ownership" of some directories: for me that happened with directories that had been created with a Prestashop installation procedure. The _LANGMAIL error reminds me of another problem I once encountered: having no language. I had inserted the wrong password for the database and as a consequence the system retrieved an empty string when it tried to retrieve the language from the database. The system gave no errors but tried to have that empty string where it should have had a language abbreviation. So for example it tried to retrieve translations//fields.php instead of translations/en/fields.php. Link to comment Share on other sites More sharing options...
zaglebie Posted October 22, 2013 Author Share Posted October 22, 2013 its same store moved to new server, same files database etc i think configuration is also same php 5.4.2 just like on old server about _LANGMAIL - about which password are you talking about ? password to database is correct for sure because store is working well Link to comment Share on other sites More sharing options...
musicmaster Posted October 22, 2013 Share Posted October 22, 2013 A hosting is more than PHP and Apache. Each server provider has its own policies about what exactly you are allowed to do with your site. Part of it is in php.ini, but part of it - like many security settings - is outside control of the user. Link to comment Share on other sites More sharing options...
Recommended Posts