Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Posts
    126
    Plugin Contributions
    0

    Default 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.
    : 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

  2. #2
    Join Date
    Aug 2006
    Posts
    126
    Plugin Contributions
    0

    Default 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?

  3. #3
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default 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

  4. #4
    Join Date
    Aug 2006
    Posts
    126
    Plugin Contributions
    0

    Default 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.
    Last edited by Justrimless; 30 Aug 2008 at 09:48 PM.

  5. #5
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default 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 =

  6. #6
    Join Date
    Aug 2006
    Posts
    126
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Aug 2006
    Posts
    126
    Plugin Contributions
    0

    Default Re: Moved site - problems with sessions?

    Well it went OK that time, back up and running.

 

 

Similar Threads

  1. Moved Site from test location, now problems
    By jviney in forum Customization from the Admin
    Replies: 1
    Last Post: 29 Aug 2011, 09:03 PM
  2. Problems with Zen Cart after Provider moved my website to a new server
    By ingoito in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Apr 2009, 09:28 PM
  3. Moved site and now my template is broked? (Or, love and hate with my flyoutmenu.)
    By yelow in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Feb 2009, 08:53 PM
  4. Replies: 0
    Last Post: 13 Nov 2007, 05:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR