Jump to content

Errors after migrating to a new host


avishai

Recommended Posts

Hi.

I have moved my shop Version 1.3 (can't update due to many changes on theme and core files...) to a new server.

 

I have copied all the files and uploaded them to the new server and after I have imported the DB and changed the settings.config.

 

Almost everything is working great except:

1. Emails are not sending from "contact form" ("an error occurred while sending message

“), I assume that other emails not send also...

2. Can't register a new user (it does register the user but it gives a white page with an error).

3. On all pages there is an error.

 

I have searched for an answer for my problem and found that I need to edit the "cookie.php" file and save it with the encoding UTF-8 without BOM but my original file was on that encoding...

 

 

Please help!

Thanks in advance!

 

 

Error for all website pages:

"Warning: Cannot modify header information - headers already sent by (output started at /home3/public_html/tools/smarty/compile/%%ED^EDD^EDDC97E2%%header.tpl.php:6) in /home3/public_html/classes/Cookie.php on line 521"

 

 

Error for "authentication.php" while registering:

"Warning: Cannot modify header information - headers already sent by (output started at /home3/public_html//mails/he/lang.php:1) in /home3/public_html/classes/Cookie.php on line 521"

Link to comment
Share on other sites

thanks but it's on "False" as is...

 

$smarty->caching = false;

$smarty->force_compile = true; // to pass "false" when put into production

$smarty->compile_check = false;

 

(p.s. I have tried to change the "force_compile" to FALSE too but still same message..)

Link to comment
Share on other sites

Tried it.

Same error megssage..

 

p.s. I have empty the folder mentioned, but it keep filling with files after page loads for the fist time.

p.s. (2), I don't have index.php file in this folder, I have checked for a backup 2 years ago and there is no "index.php" also, never was...

Link to comment
Share on other sites

Hi,

That is correct, the folder should fill with updated template files.

It basically regenerates your theme to the latest version from your .tpl files from the themes directory.

 

Could you post what's written on line "/home3/public_html/classes/Cookie.php on line 521"

Link to comment
Share on other sites

Hi,

Within your Prestashop settings, does it list what domain you want the website to run on and where the files for that domain are located on the server ?

 

As you have moved server the location of the files will have changed?

 

Like the...

"/home3/public_html/"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...