Picola Posted December 4, 2002 Posted December 4, 2002 I am running Win2K server and installed Php4 and MySql. I am getting following errors when I access ADMIN/DEFAULT.PHP I followed instruction but I think I did something wrong. Thank you for your help. :D ------------------------------------------------------------------------------------- Warning: open(/tmpsess_42cbffbfe5ebea4c8bf215c7d1bff593, O_RDWR) failed: No such file or directory (2) in c:inetpubwwwrootadminincludesfunctionssessions.php on line 4 Warning: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;c:php4pear') in c:inetpubwwwrootadminincludesinclude_once.php on line 4 Warning: Failed opening 'includes/languages/english/' for inclusion (include_path='.;c:php4pear') in c:inetpubwwwrootadminincludesinclude_once.php on line 4 Unable to connect to database server! Warning: open(/tmpsess_42cbffbfe5ebea4c8bf215c7d1bff593, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Himself Posted December 4, 2002 Posted December 4, 2002 Darn, I was waiting for someone else to reply. I've got this exact problem and I've been looking at the code for a while. Closest solution I've found on the forum is here http://www.oscommerce.com/forums/viewtopic.php...arning+open+tmp (sorry that's not linked quite right but it should help). They're talking about creating a tmp directory in your root directory (That's your C:tmp). I guess this is something peculiar to a windows install - I'm loading it here just to check it all looks right before moving to a solid lynix server. Hope this helps you a little.
albert10966 Posted December 4, 2002 Posted December 4, 2002 this error is common on windows machines running php, you have to edit your php.ini file to reflect the direct path to your temp file i.e. c:inetpubtmp [session] ; Handler used to store/retrieve data. session.save_handler = files ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session functions. session.save_path = c:inetpubtmp then create the tmp folder wala done
albert10966 Posted December 4, 2002 Posted December 4, 2002 not too sure about the pear error, but make sure your adminincludesconfigure.php is set the same way to the database as the catalog is i.e. database host , username and password
Recommended Posts
Archived
This topic is now archived and is closed to further replies.