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
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
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
more info:
http://www.google.com/search?q=session_ ... =firefox-a
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
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
That is the only one who can solve this issue.tonymc wrote: I will get back on to my hosting company as well
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.
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
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
Who is online
Users browsing this forum: No registered users and 24 guests