rj45 Posted August 6, 2006 Share Posted August 6, 2006 Hi, am running SUSE 10.1 Firefox, MySQL 5.x, PHP5. Right after installation, with adeguate changes to php.ini for globals and longs, I manage to get a sucessful installation, but when I try to browse the localhost/config I get the following errors: ----------------------------------------------------------- Warning: session_start() [function.session-start]: open(SESSION_WRITE_DIRECTORY/sess_3asmrvkkps25moq07ld8mt2a21, O_RDWR) failed: No such file or directory (2) in /srv/www/htdocs/catalog/includes/functions/sessions.php on line 97 Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /srv/www/htdocs/catalog/includes/application_top.php on line 285 Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/catalog/includes/application_top.php on line 285 Warning: Unknown: open(SESSION_WRITE_DIRECTORY/sess_3asmrvkkps25moq07ld8mt2a21, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0 ----------------------------------------------------------------- am afraid there is something wrong... <_< Any hit for that? Thanks in advance for any help. Link to comment Share on other sites More sharing options...
♥Vger Posted August 6, 2006 Share Posted August 6, 2006 Make sure that the last line of boh configure.php files says 'mysql' where indicated - thus storing sessions in the database and not in files. Vger Link to comment Share on other sites More sharing options...
rj45 Posted August 6, 2006 Author Share Posted August 6, 2006 Thank you Vger, thank was a quick and effective one! :) yes, storing in the DB works better. But I am still puzzling for the language Error - see above on my log - which in the end break the php execution. :( Any hint for that one? rj45 Link to comment Share on other sites More sharing options...
choosealogin Posted August 6, 2006 Share Posted August 6, 2006 Your sessions weren't working, and a session tried to start, and couldn't set a language. Try clearing your browser cache, cookies, etc...and try again. It worked for me. Link to comment Share on other sites More sharing options...
joelpie Posted August 6, 2006 Share Posted August 6, 2006 I ran into this problem as well.. For a quick fix I just added ?language=en to my osCommerce URL example: oscommwebsite.com/dir/?language=en I does this because a different language is stored in your browser cache somewhere, so clearing the cookies, and cache, etc, will do the trick, as well. Link to comment Share on other sites More sharing options...
rj45 Posted August 6, 2006 Author Share Posted August 6, 2006 thank you both of you. Unfortunately both clearing cookies and using the extended URL with /?language=en did not change the situazio. :wacko: Would you have any other idea let me know. regards, rj45 Link to comment Share on other sites More sharing options...
arrannen Posted August 11, 2006 Share Posted August 11, 2006 thank you both of you.Unfortunately both clearing cookies and using the extended URL with /?language=en did not change the situazio. :wacko: Would you have any other idea let me know. regards, rj45 I had the same problem....if you ONLY work with english language, my solution was to change the following line from: require(DIR_WS_LANGUAGES . $language . '.php'); TO: require(DIR_WS_LANGUAGES . 'english.php'); Link to comment Share on other sites More sharing options...
rj45 Posted August 28, 2006 Author Share Posted August 28, 2006 Thank you arrannen. Forcing the language to any available it works quite well as a workaround. Nonetheless I have traced back the problem which was the following: despite a successful installation as promped at the end of the installation, the database was not initialised. I presume this was due to the fact that the DB user was missing some priviledges. A re-installation from scratch worked fine. :thumbsup: Link to comment Share on other sites More sharing options...
WS Evolution Posted February 26, 2008 Share Posted February 26, 2008 I had the same issue... the problem was a result of missing data in the database, so if you have the same problem check the database first.. Link to comment Share on other sites More sharing options...
jaymax Posted January 29, 2010 Share Posted January 29, 2010 I had the same issue... the problem was a result of missing data in the database, so if you have the same problem check the database first.. What was the missing data? Link to comment Share on other sites More sharing options...
stevsurf Posted February 25, 2011 Share Posted February 25, 2011 What was the missing data? I would also like to know what data is missing? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.