Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2010
    Posts
    18
    Plugin Contributions
    0

    Default can't upgrade to 1.3.9d - Fatal error

    Hello,

    I try to upgrade zen cart version 138 to 139d.
    When I start de setup i receive the next error:

    Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: memcache (path: /public/sites/www.ilmercatino.nl/upgrade/cache) in /public/sites/www.ilmercatino.nl/upgrade/zc_install/includes/functions/sessions.php on line 92


    What is wrong with the upgrade?

    Please help!

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

    Default Re: can't upgrade to 1.3.9d - Fatal error

    Hi,

    Do you have any contributions/custom code installed, as memcache is not currently an option in Zen Cart v1.3.

    What is the value of the

    define('STORE_SESSIONS',

    in your configure.php

  3. #3
    Join Date
    Jan 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: can't upgrade to 1.3.9d - Fatal error

    Hello,


    Thanks for a reply.
    The value in the configure.php (v.139d) is:
    define('STORE_SESSIONS', 'db');


    I have installed zen cart 138a whitou problems, but now I can't upgrade to zen cart v. 139d.

    any suggestions?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: can't upgrade to 1.3.9d - Fatal error

    That only answers one of Wilt's questions. The problem you are having is being triggered by something that isn't part of Zen Cart. We really need to know what that is to have much of a chance of helping here.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jan 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: can't upgrade to 1.3.9d - Fatal error

    OK, i have made a local upgrade test.
    First, I have installed zen cart 138a
    second, i have upgrade to zen cart v.139d whitou a problem.

    Now, when I try to upgrade de site online, the upgrade proces won't start.

    I have made a modificationto the application_top file (zc_install\includes).

    from
    zen_session_start();
    to
    //zen_session_start();

    Now I able to start the upgrade proces, but when i klik to upgrade database, I receive:

    Time Out" page which says "problem detected" and suggests a timeout occurred, "the server has no place to write its session files", or "PHP sessions might not be functional on your server".

    the cache" folder's permissions is marked as writable.

    I, am hopeless!

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: can't upgrade to 1.3.9d - Fatal error

    Quote Originally Posted by m.digregorio View Post
    I have made a modificationto the application_top file (zc_install\includes).
    from
    zen_session_start();
    to
    //zen_session_start();
    You REALLY shouldn't do that. It is sure to break more than it will fix (even though it has provided a useful bit of information).

    Quote Originally Posted by m.digregorio View Post
    "the server has no place to write its session files", or "PHP sessions might not be functional on your server".
    This is probably the root cause of your problem.

    Quote Originally Posted by m.digregorio View Post
    the cache" folder's permissions is marked as writable.
    Can you please be more specific... a 'chmod' value of 007 is 'writable' but it is an unsuitable permission for most practical purposes.
    It needs to be '777'.

    Also, in a previous message you stated that your config file has:

    define('STORE_SESSIONS', 'db') ;

    This could cause a conflict if you are expecting the sessions to be stored in a folder.

    I suggest either change this define to match your cache directory, or ask yourself why the sessions are unable to be stored in the database as per your define. Do you need to tun the 'fix cache' utility perhaps?

    Sorry if I'm a little vague on this, but I freely admit I'm no expert when it comes to zencart and the way it caches data.

    Cheers
    Rod

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

    Default Re: can't upgrade to 1.3.9d - Fatal error

    Hi,

    The initial problem you reported is because PHP , either because of system level settings or because of changes made to core code, is trying to use Memcache as a storage module for session data.

    Zen Cart currently has no support for Memcache as a storage module.

    If you are sure that you have made no changes to core code, or installed any contributions that might use memcache then you will also have to check system level settings. ie php.ini, to see if memcache has been enabled there.

 

 

Similar Threads

  1. v139h Fatal Error after upgrade
    By csaling in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 25 May 2012, 04:47 PM
  2. Fatal Error on Upgrade to 1.3.6
    By Jebao in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 29 Oct 2006, 12:56 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