Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: session_start() [function.session-start]: open


maluisa87

Recommended Posts

Posted

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 153

Warning: 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. 

 

 

 

 

Posted

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>
 
Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...