View Full Version : CHMOD Probs
Hi all,
you must get this alot.......
i have installed Oscommerce successfully.... and as per the instructions manual i have to CHMOD the config.php files which i have done using Smart FTP... i CHMODDED the pages to 644 (and almost ever other combo in between) and i still get an error at the top of my page Warning: I am able to write to the configuration file: /www/*/******/htdocs/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
*** hidden the indenty....
any idea's... cause iam getting nowhere, i am no fool when it comes to CHMOD, it seems to be perhaps a server issue?
thanks for any help in advance...
Regards
Chunks
omegaman66
5-16-03, 05:52 PM
I am not sure about all this chmod garbage. What follows might not help but it might shed some light so you can figure this gargage out.
More than a year ago I tried to install a cgi message board on my site here at powweb. I followed the rules and could not get it to execute.
I was using WS_FTP Lite and powweb kept telling me to change the chmod settings. Whick I had numerous times. Turns out WS_FTP Lite had a bug. It would change the chmod setting on the screen just like the commands had been exectued but in reality nothing was really changing. Talk about frustrating.
So I downloaded coffeecup ftp program and all was right.
Now more than a year later, I again wanted to change the chmod setting on a folder. I used coffeecup ftp and unless I had execute selected the images in the folder would not display. Finally just gave up.
Long story short who the heck knows. Could be your computer lying to you could be powweb. Just read where someone here couldn't delete their access log file but could delete their error log file. Whats up with that????
hi omegaman66,
thanks for the suggestion.... that thought of my ftp program being the fault had occured to me.... except i use it to manage other websites without having these problems... and for crying out loud it really shouldn't be this hard a problem.... don't you think?
anyhow maybe a site administrator can shed some light on the issue?
Regards
Chunks
Hiya, Chunks...I'm having the same issue with my install of osCommerce. I've tried all sorts of CHMOD combinations, but no luck...the warning message isn't going away.
I'm also having silly SSL issues. I installed osCommerce in /htdocs/catalog. The SSL links weren't working until I changed my HTTPS_SERVER in configure.php to [mysslserverport]/catalog.
When I try to log into my store as a customer, I submit my info and am greeted by the Security Alert message: "You are about to redirected to a connection that is not secure." I click OK, and then I'm promptly greeted by my 404 "file not found" page.
Anybody have any insight on these issues?
Originally posted by Chunks
Hi all,
you must get this alot.......
i have installed Oscommerce successfully.... and as per the instructions manual i have to CHMOD the config.php files which i have done using Smart FTP... i CHMODDED the pages to 644 (and almost ever other combo in between) and i still get an error at the top of my page
*** hidden the indenty....
any idea's... cause iam getting nowhere, i am no fool when it comes to CHMOD, it seems to be perhaps a server issue?
thanks for any help in advance...
Regards
Chunks
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.
Aha! Works like a charm, tbonekkt. Thanks for that. :)
When I tried CHMODing 444 from WS_FTP, I still got the error message. Why does your method work, but the other doesn't? *curious*
Thanks again!
Apparently, no "remote" method of setting 444 works - you have to do it from the server itself, which is what the PHP code does.
bplinson
11-5-03, 05:32 AM
This should be made a sticky topic. I had the same problem and the .php fileworked for me also!!!
it is a sticky topic, "sticky: Oscommerce Information" by JadeDragon.
If you're having problems with ssl see this post http://forum.powweb.com/showthread.php?s=&threadid=27525
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.