Zen Cart Logo
Forums / General Questions / Strange error message

Strange error message

Locked

Views: 1,986

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Nov 2006, 8:51 PM
#1
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Strange error message

My site has gone haywire, and i get an error message across the top of the screen if i access the url, or the admin panel. The mesage reads "Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/var/www/html/catalog/cache) is not within the allowed path(s): (/home/ihgseing:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ihgseing/public_html/includes/functions/sessions.php on line 145"

It would appear that something is attempting to call something in var/www/html/catalog/cache, yet i do not have such a folder. My store is in the root, so it is just a /.

Url is https://www.strelitzia.c0.uk (deliberately changed to a 0)

Any idea what is calling for what here??

It's totally screwed my site as all the css has gone crazy as well.

Hope someone can give me some help here.

Regards
Steve

2 Nov 2006, 12:39 AM
#2
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Strange error message

nobody got any suggestions on this???

2 Nov 2006, 1:02 AM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Strange error message

You've got an incorrect path setting somewhere.

/var/www/html/catalog/cache << this is the incorrect path being used

/home/ihgseing/catalog/cache << this is the path that should be used

Check your: includes/config.php file, make sure settings are correct. Also check permissions on your 'cache' directory. If still not sure you should be able to get help from your Hoster.

Also, not sure if the above error is causing problems with your alignment, but it is definitely off-center.

2 Nov 2006, 1:41 AM
#4
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Strange error message

But i don't see why there should be a reference to /catalog at all as my store is in /

I know the alignment is all over the place, so is the text size. It all happened at the same time. Host don't know what has happened. The said it was an error in my scripts somewhere, but i tod them it can't be as nothing was changed to make it break.

Regards
Steve

2 Nov 2006, 4:12 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Strange error message

Ok, as there does not seem to be any rhyme or reason for the current problem, ask you Hoster to restore a backup from before the problem occured. Will also tell you how good your Hoster is at providing backups. :wink2:

2 Nov 2006, 5:44 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Strange error message

Admin->Configuration->Sessions->Session Directory
It probably should be set to:
/home/ihgseing/public_html/cache

Further, your configure.php files need to have the proper path set as well. At the bottom of these files, you'll see a definition setting for DIR_FS_SQL_CACHE, which should be set the same as the Session Directory