Guest Posted October 7, 2005 Share Posted October 7, 2005 I keep getting this message and I'm not sure why. Could someone please tell me how to fix it. Thank you. Warning: 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/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/includes/functions/sessions.php on line 106 Link to comment Share on other sites More sharing options...
Guest Posted October 7, 2005 Share Posted October 7, 2005 Hello, I was wondering if someone can help me with this error. I log into my site and at the bottom I receive this error message: Warning: 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/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/includes/functions/sessions.php on line 106 when I click on anything I then get the following two error messages: Warning: main(includes/languages//product_info.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/product_info.php on line 15 Warning: main(includes/languages//product_info.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/product_info.php on line 15 Fatal error: main(): Failed opening required 'includes/languages//product_info.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/product_info.php on line 15 Warning: main(includes/languages//index.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/index.php on line 33 Warning: main(includes/languages//index.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages//index.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/index.php on line 33 I have been searching for two days to try and figure it out and can't seem to find anything that helps. I have looked in the files but I am not sure how to tell what the line numbers are. If anyone can help me please. Thank you. Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2006 Share Posted November 6, 2006 did you eer fix it? I get the same error at the bottom of this page http://www.smokymtnmall.com/giftshop/ Link to comment Share on other sites More sharing options...
patmon Posted November 14, 2006 Share Posted November 14, 2006 I am getting the same message... Any ideas? Link to comment Share on other sites More sharing options...
zarren Posted November 24, 2006 Share Posted November 24, 2006 I am getting the same message... Any ideas? Hey guys Make a .htaccess file and type "php_flag session.bug_compat_warn off". Then upload this to your store directory. This should get rid of that error message. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.