|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Posts: n/a
|
I get this error when I go to my catalog:
Warning: I am able to write to the configuration file: /home/USERNAME/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I've tried changing the CHMOD to practically every number combo I can think of (people have suggested 644, 444 and 777 but none have worked). Does anyone know how I can fix this? You can view the page here: http://www.loosefigurecollector.com/...g/default.php? |
|
|
#2 | |
|
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
|
Re: includes/configure.php Problem
Quote:
In a new PHP file, insert the following: <?php chmod('includes/configure.php', 0444); ?> save as chmod.php and upload to /catalog and /admin (just to be safe). Then access the pages in a browser (www.domain.com/pathto/catalog/chmod.php) and you'll be set.
__________________
Thank you to all forum participants. |
|
|
|
|
|
#3 |
|
Posts: n/a
|
Thank you for your reply! Ok, I made a new PHP file called chmod.php like you suggested throught the File Manager to the following directories:
/www/l/loosefigs/htdocs/osCommerce/catalog/ /www/l/loosefigs/htdocs/osCommerce/catalog/admin I tried accessing them in a new browser like suggested, but I get an error: http://www.loosefigurecollector.com/...alog/chmod.php The problem is still happening. When I go back to look at the script in the chmod.php under catalog, I get the following error: Warning: file(/www/l/loosefigs/htdocs/osCommerce/catalog/chmod.php): failed to open stream: No such file or directory in /www/l/loosefigs/htdocs/osCommerce/catalog/admin/file_manager.php on line 156 Do I need to change anything in the file_manager.php? Or should I scratch the chmod.php file and upload it through FTP? |
|
|
#4 |
|
Posts: n/a
|
OH MY LORD IT WORKED!!
I deleted the chmod.php I had put in the /catalog directory, and uploaded a new one through FTP (instead of the file manager) and by golly it WORKED!! Thank you SO MUCH, I was going crazy over this one! You rock! |
|
|
#5 | |
|
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
|
Quote:
Glad I could help.
__________________
Thank you to all forum participants. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|