Guest Posted December 9, 2003 Share Posted December 9, 2003 Hi, I've just installed oscommerce, and I keep getting a message at the top of the screen Warning: I am able to write to the configuration file: /var/www/html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. How do I change this? And another question; I wanted to write my terms and conditions in the condition.php file, but it keeps on saying there's an error. I wrote it out in plain html, and it worked perfectly fine on my current site. I'm not really an PHP pro, but does everything have to be on one line if I write down a story? :rolleyes: Thank you, Wendy Link to comment Share on other sites More sharing options...
241 Posted December 10, 2003 Share Posted December 10, 2003 CODE Warning: I am able to write to the configuration file: /var/www/html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. How do I change this? You need to chmod your catalog\includes\configure.php file to 444 or 644 You need to chmod your admin\includes\configure.php file to 444 or 644 And another question; I wanted to write my terms and conditions in the condition.php file, but it keeps on saying there's an error. I wrote it out in plain html, and it worked perfectly fine on my current site. I'm not really an PHP pro, but does everything have to be on one line if I write down a story? This is done in catalog\includes\languages\english\conditions.php . Look for this code line define('TEXT_INFORMATION', '<table border="0" width="95%" cellpadding="0" cellspacing="0" align="center"> <tr> <td><div align="center">BUSINESS WORKOUT LIMITED<strong><br><br> CONSUMER TERMS OF SALE<br><br> <em>PLEASE READ THESE TERMS OF SALE CAREFULLY BEFORE PLACING YOUR ORDER AND RETAIN A COPY OF THESE TERMS AND YOUR ORDER FOR FUTURE REFERENCE</em></strong></div><br></td> </tr> <tr> <td> <p><font size="-1">1. Format of the Contract <br> and enter everything you want to enter after the define('TEXT_INFORMATION', ' but before the '); tr></table>'); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2003 Share Posted December 10, 2003 thank you, it worked :D Another quick question, it now reads Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. in what folder should I creat it, and could someone explain it a little bit further? Thank you. :rolleyes: Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2003 Share Posted December 10, 2003 it has to be made directly on the C: drive if you are using windows... ie: c:\tmp hope that helps Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.