PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 5-16-03, 11:28 AM   #1
Chunks
 
Join Date: Apr 2002
Location: Australia
Posts: 37
Reputation: 5
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
Quote:
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
Chunks is offline  
Old 5-16-03, 05:52 PM   #2
omegaman66
 
Join Date: Nov 2001
Location: Louisiana
Posts: 487
Reputation: 32
wish I could help!

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????
omegaman66 is offline  
Old 5-16-03, 07:31 PM   #3
Chunks
 
Join Date: Apr 2002
Location: Australia
Posts: 37
Reputation: 5
thanks anyhow...

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
Chunks is offline  
Old 9-3-03, 11:34 AM   #4
VSAngela
(Just another LunaClick)
 
VSAngela's Avatar
 
Join Date: Apr 2002
Location: Marlborough, MA
Posts: 217
Reputation: 10
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?
__________________
VSAngela is offline  
Old 9-3-03, 12:19 PM   #5
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
Re: CHMOD Probs

Quote:
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.
tbonekkt is offline  
Old 9-3-03, 01:17 PM   #6
VSAngela
(Just another LunaClick)
 
VSAngela's Avatar
 
Join Date: Apr 2002
Location: Marlborough, MA
Posts: 217
Reputation: 10
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!
__________________
VSAngela is offline  
Old 9-3-03, 02:37 PM   #7
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Apparently, no "remote" method of setting 444 works - you have to do it from the server itself, which is what the PHP code does.
__________________
Steve
stevel is offline  
Old 11-5-03, 05:32 AM   #8
bplinson
 
Posts: n/a
This should be made a sticky topic. I had the same problem and the .php fileworked for me also!!!
 
Old 11-5-03, 10:17 AM   #9
natural
 
Posts: n/a
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.p...threadid=27525
 
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:32 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.