capun_canuck Posted July 21, 2005 Share Posted July 21, 2005 Okay I am close to giving up. I get the common "Warning: I am able to write to the configuration file" error message. I have been through about 20 posts on this forum. I have changed the permsions to read only. Still didn't work. I have even tried that little php script that was suggest -no luck. I have called the Hosting Company and they are telling me that the file is read only. I have also tried the installation twice. To be sure. SO. Do I assume that it is a bug in OScommerce, and just comment out the error message? I don't want to be leaving a hole in the system. Advice please. Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2005 Share Posted July 21, 2005 There are two configure.php files - one in /includes/ and the other in /admin/includes - make sure you have set permissions on both. Matti Link to comment Share on other sites More sharing options...
tec Posted July 21, 2005 Share Posted July 21, 2005 first make sure you chmod both config files, if that fails, go into the file manager of the clients control panel, and chmod it from there. Link to comment Share on other sites More sharing options...
AlanR Posted July 22, 2005 Share Posted July 22, 2005 Try the little script in this post: http://www.oscommerce.com/forums/index.php?sho...06entry343806 I think the issue is server permissions. They're not letting ftp clients set chmod. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
capun_canuck Posted July 22, 2005 Author Share Posted July 22, 2005 Yup, tried bot configure.php files. (0644, 0444, 0400) a lot of combos. No luck. Tried the script. Tried my hosting company ? though I don't trust these guys. Oh well. Link to comment Share on other sites More sharing options...
AlanR Posted July 22, 2005 Share Posted July 22, 2005 Check to see if you have a second configure.php file in includes/local Some installs create one. If so that's the one osC is reading and the one to change (or delete). Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
tec Posted July 22, 2005 Share Posted July 22, 2005 Yup, tried bot configure.php files. (0644, 0444, 0400) a lot of combos. No luck. Tried the script. Tried my hosting company ? though I don't trust these guys. Oh well. <{POST_SNAPBACK}> you dont need to go to your hosting company to chmod files through your cpanel, unless of course you do not have a cpanel; in which case you should not be there. :-" If you like, you can PM me your login info for your hosting and ftp and i can see if i can fix it for you, or try a fresh install. :D Link to comment Share on other sites More sharing options...
berkedam Posted July 22, 2005 Share Posted July 22, 2005 Pls ask you hoster if PHP runs as CGI module (and NOT as Apache) under suPHP or suexec. More info www.suphp.org. In that case you file is already protected, forget about the warning and comment the error message. xtra check to see if includes/configure.php is writable http://www.oscommerce.com/forums/index.php?sho...=0entry464619 see post #4 "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
dave111 Posted July 22, 2005 Share Posted July 22, 2005 first make sure you chmod both config files, if that fails, go into the file manager of the clients control panel, and chmod it from there. <{POST_SNAPBACK}> This means go to cpanel/plesk (or whatever hosting admin panel you have) then look for a "file manager" option. After you find this navigate to the includes/configure.php. Change the permissions to 444 through this webbased file managed. This problem is probably because some hosting doesnt allow you change CHMOD through FTP (as already mentioned in this post) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.