gtroops Posted November 21, 2006 Posted November 21, 2006 Hello there, I have a question, I have installed osCommerce for the first time, but i get the following errors: Warning: I am able to write to the configuration file: /customers/atocomputers.nl/atocomputers.nl/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. Can anyone help me? Thank you My regards, Amro
cinder Posted November 21, 2006 Posted November 21, 2006 Hello there, Warning: I am able to write to the configuration file: /customers/atocomputers.nl/atocomputers.nl/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Can anyone help me? Thank you My regards, Amro I found on your first warning that if you change the permissions of the configure file back to 755 that takes the first warning away. The other im not sure how i fixed it.
natewlew Posted November 21, 2006 Posted November 21, 2006 You have 2 options for you second problem. Option 1. You need to create the folder /tmp and I think it needs to be chmod 777. Option 2. Open you includes/configure.php. Change your store sessions to mysql. You should do this anyways on shared servers. define('STORE_SESSIONS', 'mysql'); Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search!
gtroops Posted November 22, 2006 Author Posted November 22, 2006 Thank you clista and natewlew!!! I have done what you said natewlew... and its good now but clista where can i do that what you said: I found on your first warning that if you change the permissions of the configure file back to 755 that takes the first warning away.
♥Vger Posted November 22, 2006 Posted November 22, 2006 The configure.php files should have permissions of 644, 444 or 400 - depending on your server. If you use permissions of 755 then expect your site to get hijacked. Vger
gtroops Posted November 22, 2006 Author Posted November 22, 2006 Hmm ok thank you :) so i got to change it in the configure.php? becouse i dont know where to change it so if you tell me exactly where i can do it than it will be greatfull thank you very very much!!! My regards
gtroops Posted November 22, 2006 Author Posted November 22, 2006 Please any 1?? I really need it Thank you all for your support!
gtroops Posted November 22, 2006 Author Posted November 22, 2006 I have found out how to chemod i think... just right klikking in the ftp on the folder in my host (includes) and chmod it to 755 but it is still not working :s guys help me please!
♥Vger Posted November 23, 2006 Posted November 23, 2006 Slow down and read: The configure.php files should have permissions of 644, 444 or 400 Vger
gtroops Posted November 23, 2006 Author Posted November 23, 2006 Slow down and read:Vger I have made what you said but i have still the same problem... I have a hosting by one.com so i dont know if you need to know that? I have changed in the map /catalog/includes/configure.php (i have try'd them all 444,644 and 400) and i dont know what to do right now :( so i'll be waiting for your answer. Thanks a lot
zero_club Posted November 23, 2006 Posted November 23, 2006 I have made what you said but i have still the same problem...I have a hosting by one.com so i dont know if you need to know that? I have changed in the map /catalog/includes/configure.php (i have try'd them all 444,644 and 400) and i dont know what to do right now :( so i'll be waiting for your answer. Thanks a lot hi , I've got another suggestion to you. it worked for me.(provided that the website which is hosted on a unix platform) try downloading a ftp client with capablity of changing the permission. e.g. WSFTP . in the host bit you can right-click configure.php select Chmod. then a pop up window appears. what you need to do is to untick any write permission from the gui screen. hope this help !! Tony
gtroops Posted November 26, 2006 Author Posted November 26, 2006 Hello There! I have done what you said but i have still the same problem :(:(:( i dont know what the problem is so anyone please help me My domein is registered at www.one.com PLEASE HELP I REALLY NEED IT!!!! Thank you all
natewlew Posted November 26, 2006 Posted November 26, 2006 Maybe there is somewhere is your hosting company's control panel that will let you change file permissions? Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search!
gtroops Posted November 26, 2006 Author Posted November 26, 2006 No i have asked them they told me its normal.. they gave me a script and its: If the above does not work you can use the following PHP script to change CHMOD: <? $filename = "file.php"; chmod("/customers/mydomain.com/mydomain.com/httpd.www/$filename", 0777); echo "chmod for $filename was changed"; ?> Save the file as CHMOD.PHP in the root folder and execute it using the browser. But i tryied and no the same problem again!!!! So pleasse HELP ME I'M DOWN NOW :(:'(
♥Vger Posted November 26, 2006 Posted November 26, 2006 You need to find yourself a more user-friendly, more oscommerce-friendly, hosting company. Vger
gtroops Posted November 26, 2006 Author Posted November 26, 2006 Hmmm is thats what i can do? I think there is a way to do it if a someone helps me..
v94_erl Posted October 13, 2007 Posted October 13, 2007 I just solved this problem by running the following script (chmod.php) on my one.com domain: <? $filename = "configure.php"; chmod("/customers/mydomain.com/mydomain.com/httpd.www/catalog/includes/$filename", 0555); echo "chmod for $filename was changed"; ?> I hope it can help someone. Daniel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.