MarsBar Posted July 10, 2004 Posted July 10, 2004 Warning: I am able to write to the configuration file: /var/www/html/oscommerce/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. How do I change the user permissions? Thanks, Mark.
Guest Posted July 10, 2004 Posted July 10, 2004 Your 2 configure.php files have to be chmod back to 644 The_Bear
MarsBar Posted July 10, 2004 Author Posted July 10, 2004 I have changed the chmod back to 644 using Bullet FTP. Still get same error warning message. Please help, Mark.
The_ancient Posted July 10, 2004 Posted July 10, 2004 I have changed the chmod back to 644 using Bullet FTP. Still get same error warning message.Please help, Mark. did you CHMOD the amdin Congif or the Catalog config>? it is Checking the Catalog Config
Maria Wilbrand Posted July 11, 2004 Posted July 11, 2004 i could only solve the prob some months ago with a permission 600 - works fine for me. //Isabel
Guest Posted July 11, 2004 Posted July 11, 2004 chmod 644 (-rw-r--r--) should be ok for your "oscommerce/includes/configure.php". On some servers you must set whole /includes/ directory to chmod 644. Have you checked does your settings in configure.php and filenames.php in /includes/ directory pointing to correct locations?
MarsBar Posted July 11, 2004 Author Posted July 11, 2004 I tried all what people have suggested. When I changed the whole directory chmod to 644 I get this message on a blank screen: Warning: main(includes/application_top.php): failed to open stream: Permission denied in /var/www/html/oscommerce/index.php on line 13 Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/oscommerce/index.php on line 13 Tried setting to 600 & 744 and still get original error warning msg! Peeing me off now! :rolleyes:
Maria Wilbrand Posted July 11, 2004 Posted July 11, 2004 i have my config files with 400 permission level. that was the only way i could avoid that message. /maria
MarsBar Posted July 11, 2004 Author Posted July 11, 2004 Still getting the same error msg with permissions set at 400. Thanks tho'. Someones gotta be able to help me on this it's really driving me crazy! :(
MarsBar Posted July 11, 2004 Author Posted July 11, 2004 Ok here's how to solve this problem if anyone else gets/has it! Set chmod of directory oscommerce/includes to 755. This allows you to edit the files inside so you can now change the chmod of configure.php to 500. Worked fine for me. \o/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.