maluisa87 Posted February 12, 2015 Posted February 12, 2015 Hello, I keep receiving this error on my login.php file and i just cant find where to fix it Warning: session_start() [function.session-start]: open(/var/www/vhosts/mywebpage.com/httpdocs/store/tmp//sess_t6bf4j3t20guhd37j2tcr9k2m6, O_RDWR) failed: Permission denied (13) in/var/www/vhosts/mywebpage.com/httpdocs/store/admin/includes/functions/sessions.php on line 102 and at the end of the page: Warning: session_write_close() [function.session-write-close]: open(/var/www/vhosts/mywebpages.com/httpdocs/store/tmp//sess_t6bf4j3t20guhd37j2tcr9k2m6, O_RDWR) failed: Permission denied (13) in/var/www/vhosts/mywebpage.com/httpdocs/store/admin/includes/functions/sessions.php on line 153Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/vhosts/mywebpage.com/httpdocs/store/tmp/) in /var/www/vhosts/mywebpage.com/httpdocs/store/admin/includes/functions/sessions.php on line 153 I just dont find the error. The webpage was working a week or two ago. Any ideas? Thanks guys.
allaboutwicker Posted February 13, 2015 Posted February 13, 2015 Hi, I am not sure, but from what I found on a post it sounds like you may have something wrong in your .htaccess file? Here is a link to the post that may help you. This particular thread is regarding installed addon Ultimate Seo URLs. http://www.oscommerce.com/forums/topic/154166-contribution-ultimate-seo-urls-v21-by-chemo/page-306
maluisa87 Posted February 13, 2015 Author Posted February 13, 2015 I tried changing the htacces file but got a bit lost there since I didnt installed the contribution there. Also the admin page was working just fine until a couple of weeks ago when I last logged in. Heres a copy of my htacces file # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers #<IfModule mod_setenvif.c> #<IfDefine SSL> #SetEnvIf User-Agent ".*MSIE.*" \ #nokeepalive ssl-unclean-shutdown \ #downgrade-1.0 force-response-1.0 #</IfDefine> #</IfModule> # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) #<IfModule mod_php4.c> #php_value session.use_trans_sid 0 #php_value register_globals 1 #</IfModule>
MrPhil Posted February 14, 2015 Posted February 14, 2015 Your .htaccess is completely commented out, so it has no effect. Do you have a /tmp directory (full path /var/www/vhosts/mywebpage.com/httpdocs/store/tmp/)? What are its permissions? Maybe you need to change from tmp to some other directory, or else add a tmp.
maluisa87 Posted February 14, 2015 Author Posted February 14, 2015 I just checked and changed the tmp folder permisions to 777 and it worked. Thanks MrPhil
Recommended Posts
Archived
This topic is now archived and is closed to further replies.