MichaelVH Posted November 24, 2003 Share Posted November 24, 2003 I've problems using the webshop on my computer (locally). I've succeeded in installing it in c:\phpdev (I'm using phpdev 4.2.3) But now (after opening the index.php) I get following errors : Warning: I am able to write to the configuration file: c:/phpdev/www/netsquare/catalog/includes/configure.php. & Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. I've tried every possible rights for the configure.php and i've set in almost every director another directory called tmp, but I'm not able to get it work. Any ideas? Another question : Once I've finished it offline, how can I install it online? Just copy-paste? :s Link to comment Share on other sites More sharing options...
LiQuIdAiR Posted November 24, 2003 Share Posted November 24, 2003 on the 1st error you simply have to use an FTP program to navigate to the configure.php file both in the CATALOG/Includes section and also the ADMIN/Includes section, right click on the configure.php file and click on change CHMOD, make sure it is set to READ ONLY... to fix the tmp error msg try this Right click: My Computer Click on Advanced tab Click on Environment Variables The look for a variable named TEMP if one is not listed create it with the following information Variable Name: TEMP Variable Value: %USERPROFILE%\Local Settings\Temp I read about this on a previous post.... once you get the test site to work correctly i find its a good idea to start fresh again with the installation on a live server..REASON is you will be amazed on the understanding you have attained... I hope im being helpful Link to comment Share on other sites More sharing options...
berkedam Posted November 24, 2003 Share Posted November 24, 2003 Warning: I am able to write to the configuration file: c:/phpdev/www/netsquare/catalog/includes/configure.php. That's not an error, it's what it says, a warning. Note: on windows you cannot CHMOD files, therefore: in win 98SE I right-click the file and under properties of the file mark them read-only. warning is gone: :D There must be something similar in XP Anyway, testing local there is hardly any problem with that warning, because you are the only one handling (or making a mess of it) the file. I have ../catalog/tmp and ../catalog/admin/tmp and ../catalog/includes/tmp and ../catalog/install/tmp and no warnings or errors anymore "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
MichaelVH Posted November 25, 2003 Author Share Posted November 25, 2003 I've still got those errors/warnings :( Warning: open(/tmp\sess_2ea82d15a384b1da35ada4264de13894, O_RDWR) failed: No such file or directory (2) in c:\phpdev\www\netsquareshop\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67 this is what he gives me.. I've put in ALL my c:\phpdev folders another folder called tmp or temp (both actually). I've took a look @ my environment variables and they are all ok.. I cannot understand this :s Link to comment Share on other sites More sharing options...
Jeremy at oddly enough Posted November 25, 2003 Share Posted November 25, 2003 You could restore the install folder, run the install again and selecet database session storage instead. You can probably change that manually in the configure.php file too. Jeremy Link to comment Share on other sites More sharing options...
beardeddone Posted November 26, 2003 Share Posted November 26, 2003 I've still got those errors/warnings :( Warning: open(/tmp\sess_2ea82d15a384b1da35ada4264de13894, O_RDWR) failed: No such file or directory (2) in c:\phpdev\www\netsquareshop\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67 this is what he gives me.. I've put in ALL my c:\phpdev folders another folder called tmp or temp (both actually). I've took a look @ my environment variables and they are all ok.. I cannot understand this :s The only tmp directory you need should be in your c: root, should be c:\tmp should exist, delete the rest of the tmp's unless you like looking at them. this should also be defined in your php.ini file. Best Regards Link to comment Share on other sites More sharing options...
MichaelVH Posted November 26, 2003 Author Share Posted November 26, 2003 Thank you, that actually worked. Thnx for the help :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.