Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with session after install


jmh

Recommended Posts

Posted

hi, so far the installing works fine, but after installing i can view the site just one

time and i get the error message:

 

Warning: session_write_close() [function.session-write-close]: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in /srv/www/web6/html/oscommerce/catalog/includes/functions/sessions.php on line 107

 

but i set the register globals to on and i got php 4.3.1 so i cant find the error.. in the db the right language is stored.. but it seems that he cant read it out. because after a reload and the php codes trying to read the session data this error appears:

 

Warning: main(/srv/www/web6/html/oscommerce/catalog/includes/languages/.php) [function.main]: failed to create stream: No such file or directory in /srv/www/web6/html/oscommerce/catalog/includes/application_top.php on line 285

 

Fatal error: main() [function.main]: Failed opening required '/srv/www/web6/html/oscommerce/catalog/includes/languages/.php' (include_path='.:/usr/share/php') in /srv/www/web6/html/oscommerce/catalog/includes/application_top.php on line 285

so it seems that the var $language in the php code is emtpy... what can i do?

Archived

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

×
×
  • Create New...