Post by tonymc » Fri Apr 30, 2010 9:24 pm

Hi

Thuis is my first OpenCart install and I have the following error at the top of the store and the top of the admin area

Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_gmuh20i02c36f7h3c8bon8g1d6, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/mebustem.com/httpdocs/shop/system/library/session.php on line 11

the test shop is at www.mebustem.com/shop

The install process showed everything was fine and I have looked through the forum and the folders that should be writable are set to 777

Any help/direction much appreciated

Many thanks

Tony

Newbie

Posts

Joined
Fri Apr 30, 2010 9:13 pm

Post by Daniel » Fri Apr 30, 2010 9:38 pm

contact your host. your session tmp directory is not writable.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by tonymc » Fri Apr 30, 2010 9:53 pm

Thanks for the quick response

I have contacted the hosting company and will post back asap

Regards
Tony

Newbie

Posts

Joined
Fri Apr 30, 2010 9:13 pm

Post by tonymc » Fri Apr 30, 2010 11:31 pm

Daniel

Where should the session tmp directory be located

Thanks

Tony

Newbie

Posts

Joined
Fri Apr 30, 2010 9:13 pm

Post by Qphoria » Sat May 01, 2010 1:27 am

that is on the server side, or if you have access above the public_html directory you might be able to adjust it. Otherwise your host will have to do something.

more info:
http://www.google.com/search?q=session_ ... =firefox-a

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by tonymc » Sat May 01, 2010 7:29 pm

Thanks for the help and guidance so far.

I have found this on my hosting company website

How do I change the default session.save_path?
There are times when you will need to modify the default session.save_path which is hard coded into your PHP confguration. When using Plesk, the PHP.INI file is shared however you have control over many of the flags.

First, you need to create a .htaccess file in your document root (/httpdocs), it is within this file that you add your custom PHP session save path flag, eg:

php_value session.save_path '/var/www/vhosts/yourdomainname.co.uk/httpdocs/tmp'

This flag would set the session save path to your /httpdocs/tmp folder, simply ensure this folder exists. If you are manually installing Joomla you may need to change the session.save_path. We recommend that you use the Joomla installation script found under "Web Applications" in your hosting control panel as this automatically sets the sessions.save_path.

Now I have done that and my .htaccess file says

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
php_value session.save_path '/var/www/vhosts/mebustem.com/httpdocs/tmp'

it is in my root folder and the /tmp has been created in my root folder and is 777 but error os still appearing - I have cleared cache, cookies etc - completely reinstalled and still get the same message

Any more help greatly appreciated

Regards

Tony

I will get back on to my hosting company as well

Newbie

Posts

Joined
Fri Apr 30, 2010 9:13 pm

Post by i2Paq » Sat May 01, 2010 9:46 pm

tonymc wrote: I will get back on to my hosting company as well
That is the only one who can solve this issue.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by tonymc » Tue May 04, 2010 7:04 pm

Hi

Problem solved.

I made the changes to my .htaccess file that I found on the hosting FAQs but it made no difference.

As pointed out my others on this thread, it is not an Open Cart issue - it is a hosting issue.

So, if you get this error do not waste your time - get straight onto the hosting company and get them to resolve it. If they cannot resolve it then its time for a new host. Without it resolved all functionality will not be available to you - no log in for admin, no adding products to the cart etc etc

Thanks for the help and advice

Regards

Tony

Newbie

Posts

Joined
Fri Apr 30, 2010 9:13 pm
Who is online

Users browsing this forum: No registered users and 24 guests