Jump to content

Moved to new server - got errors


Recommended Posts

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 adresses

Details:
Error thrown: [object XMLHttpRequest]
Text status: parsererror

in 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..../bestellung

after 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 144

and 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.php

ALSO mail alerts module stopped working - it stopped sending emails with new order notification

what 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 damaged

and i dont believe that its my shop fault because at 2 previous servers everything was fine - no errors like this

it must be something with server configuration but what

Edited by zaglebie (see edit history)
Link to comment
Share on other sites

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

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

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

×
×
  • Create New...