Moved site - problems with sessions?
I moved my site over to a new server this morning. I couldn't see it at the time as I had only just changed the nameservers.
I have just popped home to check it and am getting the below error in the header.
I need to go back to work, hoping somebody will have sugestions for a fix.
I have run fix_cache_key.php but that made no difference.
Many thanks.
Quote:
: session_save_path() [
function.session-save-path]: Unable to access d:/Domains/cache in
/mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/functions/sessions.php on line
151
Warning: session_start() [
function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/functions/sessions.php:151) in
/mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/functions/sessions.php on line
108
Warning: session_start() [
function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/functions/sessions.php:151) in
/mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/functions/sessions.php on line
108
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/functions/sessions.php:151) in
/mounted-storage/home101a/sub008/sc63196-YWGZ/justrimless.co.uk/includes/init_includes/init_templates.php on line
78
Re: Moved site - problems with sessions?
Right then....
I have done a fresh install of ZC and it looks OK.
I need to export my database from my old server and import it onto the new one but it isn't happening.
Error I get is #1193 - Unknown system variable 'SQL_MODE'
Any help?
Re: Moved site - problems with sessions?
Hi Rick,
How are you doing the export/import and what version of mysql do you have on your new server
Re: Moved site - problems with sessions?
Basically I am using my servers respective control panels.
On my old server I choose Export and save as.
On the new server I choose import and locate the saved file.
Both use phpmyadmin and on the new server I can choose between v4 or v5.
Re: Moved site - problems with sessions?
The reason I ask, is I am assuming you are doing a phpmyadmin dump, and the server version from export to import are different.
ie you exported from mysql5 but imported to mysql4.
If this is the case, then u will need to hand edit the phpmyadmin dump file, and remove any lines like
SET SQL_MODE =
Re: Moved site - problems with sessions?
What I am doing now....
I have created a new ZC install.
I have made a new database and imported my old database into this, it seems to have been successful.
I have changed the configure.php files to point to the database and I can see all my products but the site looks 'stock'.
I am now copying my old ZC files over the new ones with FTP.
Fingers crossed.
Re: Moved site - problems with sessions?
Well it went OK that time, back up and running.