Post by bigboss » Mon Dec 26, 2011 1:05 pm

Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /web/system/library/session.php on line 11

This kind of errors not always ocurred. If I press F5 to refresh the browser, this error will not ocurr again.
What's happend and how to fix it???

New member

Posts

Joined
Sun Jul 25, 2010 10:35 am

Post by Qphoria » Mon Dec 26, 2011 1:24 pm

This is an issue on your server. More info here:
http://stackoverflow.com/questions/2904 ... 73#2952173

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bigboss » Mon Dec 26, 2011 1:39 pm

Yes! I am using Debian LAMP server. But I have checked my php.ini, the session.gc_probability = 0
is already set to zero. Besides, I am also running some other shopping carts but there is no this kind of error.
Qphoria wrote:This is an issue on your server. More info here:
http://stackoverflow.com/questions/2904 ... 73#2952173

New member

Posts

Joined
Sun Jul 25, 2010 10:35 am

Post by Daniel » Mon Dec 26, 2011 9:33 pm

contact your host. this is the servers problem nothing to do with opencart!

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by bigboss » Mon Dec 26, 2011 11:50 pm

In fact, it is my home server. I have checked it with the above website and try to fix the problem. But I still can't fix the problem. I have also installed the other shopping carts (os, zen, ec, presta, etc), but they don't have this problem.
Daniel wrote:contact your host. this is the servers problem nothing to do with opencart!

New member

Posts

Joined
Sun Jul 25, 2010 10:35 am

Post by bigboss » Sat Jan 07, 2012 2:54 pm

I have tried to install opencart to other server with older linux version and less php modules. There is no problem.
However, I am wondering the handling method of opencart for accessing the cache / session may be affected by the setting of server and the access right. But in fact the server is in a common setting and other shopping cart scripts have no this kind of problem.

New member

Posts

Joined
Sun Jul 25, 2010 10:35 am

Post by Daniel » Sat Jan 07, 2012 7:55 pm

its a permissions issue! with your server! nothing to do with opencart! you have not set the web user to have permission on this folder. are u stupied! opencart does not alter your session directory!

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by HappyBerry » Tue May 01, 2012 7:35 pm

Thats all very well saying its the server but I dont have access or permission to change the directory that is affected as I am on shared hosting.

Newbie

Posts

Joined
Fri Apr 06, 2012 9:18 pm

Post by Daniel » Wed May 02, 2012 6:24 pm

you don;t share the session directory. a new one is created for each web site on the host.

again this is nothing to do with opencart. its between you and your hosting company. contact them to fix the issue you have.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by suprazor » Thu May 03, 2012 4:49 am

So im also getting this error with my new host. This host has cronjob feature in cpanel. Im too noob with php but could it be as simple as setting cronjob feature to automatically execute session.php file found in yoursite/system/library?

If so then what are the files and lines I need to modify in opencart ftp to stop it from running session.php script on its own?

Newbie

Posts

Joined
Thu May 03, 2012 4:17 am

Post by sundecks » Thu May 03, 2012 11:26 pm

I also met the situation before.But after I restart it,it return to the normal.I don't know how to figure it too

Newbie

Posts

Joined
Thu May 03, 2012 6:57 pm
Who is online

Users browsing this forum: No registered users and 154 guests