zackli Posted July 3, 2007 Posted July 3, 2007 Thanks in advance for all help!! (1). I am trying to install oscommerce in my computer as a localhost. There is only one step left: change file permissions. I am trying to use filezilla, smartFtp to FTP to specific file to change its permissions. I typed 127.0.0.1 into address box since i am using localhost. However I don't know what I should type for login and password box. I don't think I've set login and password. I just created user and password for the database which I used during previous installation. (2). What is "You need to .htaccess your/catalog/admin directory" supposed to mean? thanks for all of your help.
oschellas Posted July 3, 2007 Posted July 3, 2007 1. On a local pc with windows, just locate the file with your file explorer, right click the file and specify read only to get rid of warnings (no need to use ftp on a local machine). 2. Among other implementations, if possible you could implement htaccess protection for your admin folder when you place your site online.
zackli Posted July 3, 2007 Author Posted July 3, 2007 1. On a local pc with windows, just locate the file with your file explorer, right click the file and specify read only to get rid of warnings (no need to use ftp on a local machine). 2. Among other implementations, if possible you could implement htaccess protection for your admin folder when you place your site online. Thanks for valuable advice. I followed the first suggestion, however, I still got the below warning: Warning: session_start() [function.session-start]: open(/tmp\sess_0114ed3a9e8872934ecb42c9564f1b5a, O_RDWR) failed: No such file or directory (2) in C:\xampp\htdocs\catalog\includes\functions\sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\catalog\includes\functions\sessions.php:97) in C:\xampp\htdocs\catalog\includes\functions\sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\catalog\includes\functions\sessions.php:97) in C:\xampp\htdocs\catalog\includes\functions\sessions.php on line 97
oschellas Posted July 3, 2007 Posted July 3, 2007 Probably you are testing with php5 / mysql5, this configuration has some know problems and fixes you can find in this forum.
spax Posted July 3, 2007 Posted July 3, 2007 Edit your includes/configure.php and admin/includes/configure.php At the bottom of those two files, find this line and make it: define('STORE_SESSIONS', 'mysql'); That is storing sessions to the database, rather than the tmp directory.
zackli Posted July 3, 2007 Author Posted July 3, 2007 Edit your includes/configure.php and admin/includes/configure.php At the bottom of those two files, find this line and make it: define('STORE_SESSIONS', 'mysql'); That is storing sessions to the database, rather than the tmp directory. Thanks you guys a lot. I've solve the puzzle. May all of you have a good July 4th.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.