Forums / Templates, Stylesheets, Page Layout / Session_start error message when trying to access Admin panel - help please!!

Session_start error message when trying to access Admin panel - help please!!

Locked
Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 May 2008, 15:15
#1
campbdy avatar

campbdy

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Session_start error message when trying to access Admin panel - help please!!

Hi,

I am in course of setting up a new shop, and am trying to access my Admin panel for the first time, but keep getting the undernoted error messages. (You can see them yourself if you type in http://www.funkychangingbags.co.uk/admin/).

Have looked at a few forums/posts and have tried the following with no success. Please can anyone help. Thanks.

I have tried:

1)Deleting all cookies and temporary internet files.

2) Resetting my includes/configure to:

define('HTTP_SERVER', 'http://www.funkychangingbags.co.uk');
define('HTTPS_SERVER', 'http://www.funkychangingbags.co.uk');
define('ENABLE_SSL', 'true');

and reset my admin/includes/configure to:

define('HTTP_SERVER', 'http://www.funkychangingbags.co.uk');
define('HTTPS_SERVER', 'http://www.funkychangingbags.co.uk');
define('HTTP_CATALOG_SERVER', 'http://www.funkychangingbags.co.uk');
define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');



Error Messages:

Warning: session_start() [function.session-start]: open(/tmp\sess_ce7eaf3e7efdb7543a20ab86d4fa37b2, O_RDWR) failed: No such file or directory (2) in D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php:108) in D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php:108) in D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php:108) in D:\virtualservers\funkychangingbags.co.uk\www\admin\includes\init_includes\init_templates.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at D:\virtualservers\funkychangingbags.co.uk\www\includes\functions\sessions.php:108) in D:\virtualservers\funkychangingbags.co.uk\www\admin\includes\functions\general.php on line 34

Warning: Unknown: open(/tmp\sess_ce7eaf3e7efdb7543a20ab86d4fa37b2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
17 May 2008, 19:24
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Session_start error message when trying to access Admin panel - help please!!

The reference to /tmp/ as a folder for storing session data suggests that you're either using a *very* old version of Zen Cart, or you've not got your "/cache/" folder set to writable permissions.

You have a few options:
1. Fudge your hosting account's server so that the /tmp/ folder exists and is writable. (shouldn't be necessary if you configure Zen Cart correctly though)

2. Make sure you have a valid path specified in your DIR_FS_SQL_CACHE setting in your configure.php files. That setting should be the same in both the admin and non-admin versions. It typically contains the same thing as DIR_FS_CATALOG followed by . '/cache'.

3. Along with #2, run the fix-cache-key util from our downloads area under Troubleshooting tools.