FAQ: Warning: I am able to write to the configuration file
#1
Posted 05 April 2003 - 08:42 PM
Warning: I am able to write to the configuration file: c:/phpdev/www/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
A: you need to chmod the configure.php file to 644
#2
Posted 05 April 2003 - 11:50 PM
Right click on 'includes/configure.php' Select 'Properties' (A new box will appear...) Select/Tick 'Read-only' Click 'Ok'
(Don't forget to do this for both your 'catalog' and 'admin' directories.
Viola!
All better...
Cheers,
Tony
#3
Posted 06 April 2003 - 12:04 AM
you seem to be very well versed and I invite you to please share your Windows knowledge for all the benefit from - your tips and hints and input are greatly appreciated
8)
find answers at wiki.oscommerce.com/top
#4
Posted 06 April 2003 - 12:25 AM
I'll be starting an 'Installation on Windows' tutorial for the WIKI soon, which will cover everything from Apache/PHP/mySQL/mySQL Front/phpMyAdmin download locations and recommended installation methods.
I'll also be including the setup of osCommerce sites as a local websites (as per recent 'tips & tricks').
Basic moral of the tutorial will be to cover a Windows user up until the point where they need to configure the store with their store name and product details.
Once I get the time to install a Linux box... you'll see many more questions coming from my direction.
Cheers,
Tony
#5
Posted 06 April 2003 - 12:54 AM
keep up the great work 8)
find answers at wiki.oscommerce.com/top
#6
Posted 09 April 2003 - 03:19 PM
I have a problem with that warning.
I follow your step during i testing them in my computer and it working fine.
But once i make a change on my server ( Unix ) to chomod 644, the warning still the same thing ??
What should i do..
thank you very much
#8
Posted 09 April 2003 - 07:05 PM
Did you CHMOD both the admin and the catalog configure.php files?
If you only did one, do a quick check to make sure it was the correct one... and then do both anyway.
Try surfing to another page off the default page, just incase your default page is being retreived from your browsers cache.
Let me know how you go...
#9
Posted 15 April 2003 - 01:40 PM
You will probably need to set catalog/includes/configure.php to 444 as I had this problem when my server was updated to new security levels.
I still have the admin/includes/configure.php set to 644 which seems to be no problem.
#10
Posted 17 April 2003 - 05:03 PM
When you highlight a file /directory and right-click >CHMOD
The value shown is the setting you used when last changing permission!
Lets say you have 2 files which need to be 755
You set the first file to 755 by ticking the correct boxes.
When your about to do the second, you notice it says 755 ...so you think thats alright and dont change it. When in reality it will be whatever it was before !
WS-FTP LE only shows the value after the operation, on screen you see boxes which you have to tick.
I was helping a student when I noticed this. I have changed to another FTP program. WS-FTP LE is fine for basic FTP useage.
Hope this helps someone.
#11
Posted 28 April 2003 - 08:41 PM
Quote
Did you CHMOD both the admin and the catalog configure.php files?
If you only did one, do a quick check to make sure it was the correct one... and then do both anyway.
Try surfing to another page off the default page, just incase your default page is being retreived from your browsers cache.
Let me know how you go...
In some cases you may need to set it to chmod 444. My server is that way, I get errors if I don't.
-------------------------
#12
Posted 08 May 2003 - 09:44 PM
i have set the CHMOD permissions to both files to 444 but i still have this message on top of the page. it can not be a problem of my cache ... i have done this with two PCs and with several FTP Clients. And i have deleted Cache several times.
#14
Posted 05 March 2004 - 02:01 AM
after initial configuration, there usually is not a need to edit the file again.
If you are still getting an error with permissions set as 444, then there is a problem with the check function itself.
I saw this error after I had set the permissions to 644, and at this point, I have commented out the check. I don't recommend this for everyone, but I definitely don't want a customer seeing this message, ever!.
I believe the best place for any checks like this would be the admin interface.
#15
Posted 02 April 2004 - 08:25 PM
felt a bit better when I saw all you guys experiencing the same problem as myself.
Since I have tried everything suggested and still have this annoying error message in the top of the page (and I assure you I do not want any customers to see it!) so I have understood that my last resort is to comment out the 'check'
but how do I find this check??
Please help,
Cheers,
Froggie
#16
Posted 05 April 2004 - 01:15 PM
#17
Posted 31 May 2004 - 05:07 PM
#19
Posted 15 June 2004 - 12:36 AM
Can anyone remember what all the reccomended settings are?
rgds
Paul
beep... beep....My Pager
#20
Posted 15 June 2004 - 12:45 AM

Sign In
Register
Help



MultiQuote





