Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / can't upgrade to 1.3.9d - Fatal error

can't upgrade to 1.3.9d - Fatal error

Locked

Views: 1,641

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jun 2010, 5:56 PM
#1
m_digregorio avatar

m_digregorio

New Zenner

Join Date:
Jan 2010
Posts:
18
Plugin Contributions:
0

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!

5 Jun 2010, 9:07 AM
#2
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,867
Plugin Contributions:
3

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

6 Jun 2010, 8:29 AM
#3
m_digregorio avatar

m_digregorio

New Zenner

Join Date:
Jan 2010
Posts:
18
Plugin Contributions:
0

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?

6 Jun 2010, 10:52 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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.

6 Jun 2010, 11:44 AM
#5
m_digregorio avatar

m_digregorio

New Zenner

Join Date:
Jan 2010
Posts:
18
Plugin Contributions:
0

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 Jun 2010, 1:43 PM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

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

m.digregorio:

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

m.digregorio:

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

m.digregorio:

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

8 Jun 2010, 12:30 PM
#7
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,867
Plugin Contributions:
3

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.