Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Moving zen cart - Importing database problem

    Hi there,

    I hope someone can help as I've been trying various ways to sort this out but failed. I'm trying to move my zencart 1.3.5 to another server. I followed the instructions in
    http://www.zen-cart.com/wiki/index.p...Switch_Servers

    The fresh install 1.3.5 worked fine. I only get a problem after importing the store database.

    Ran fix_cache_key.php and received the following error messages:


    "Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/xxxx/public_html/store/fix_cache_key.php:43) in /home/test/public_html/store/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/test/public_html/store/fix_cache_key.php:43) in /home/test/public_html/store/includes/init_includes/init_templates.php on line 78

    Cache Settings Synchronization Tool
    Recommendations
    Possible appropriate cache directory for your site is: /home/test/public_html/store/cache

    Actual Information
    Read DIR_FS_SQL_CACHE from configure.php: /home/test/public_html/store/cache
    Found SESSION_WRITE_DIRECTORY in database:

    Now synchronizing...
    Database now contains the following SESSION_WRITE_DIRECTORY:

    Finished."


    When I try to view the page, I get the following error message:

    "Fatal error: Call to a member function on a non-object in /home/test/public_html/store/includes/init_includes/init_db_config_read.php on line 25"


    I've checked both sessions.php and init_templates.php for any spaces after ?> but there were none. I've also tried importing the store database with this method http://www.zen-cart.com/forum/showthread.php?t=50462 but it threw up the same errors.

    Any ideas please anyone?

    Thanks very much,
    L

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Moving zen cart - Importing database problem

    Are you on php 5.2.0?

    Were you on php 5.2.0 before these problems?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zen cart - Importing database problem

    Thanks for your reply Linda. No, I'm not on PHP 5.2. I'm on PHP 4.4.1.

    L

  4. #4
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zen cart - Importing database problem

    I've just done a refresh and I'm getting

    "Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels."

    I refreshed the page again after that and got the original error

    "Fatal error: Call to a member function on a non-object in /home/hampshir/public_html/current135/includes/init_includes/init_db_config_read.php on line 25"

 

 

Similar Threads

  1. v139h Problem Importing SQL database to new database ready for testing Zencart 1.5
    By gillpotsoffun in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 24 Aug 2015, 11:24 PM
  2. Replies: 1
    Last Post: 23 Mar 2010, 05:23 AM
  3. Problem when moving zen cart to another folder
    By AHeartForTheEarth in forum General Questions
    Replies: 12
    Last Post: 11 Nov 2008, 04:25 PM
  4. Moving zen cart problem
    By tallalex85 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 17 Jul 2008, 08:12 AM
  5. moving to new host, getting a db_cache error after importing database
    By littleturtlemama in forum Installing on a Windows Server
    Replies: 3
    Last Post: 19 Jun 2008, 11:18 PM

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