Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot CHMOD configure.php file in any FTP program


mattashwood

Recommended Posts

Posted

Hi there,

 

I'm just trying to get the free demo set up before I download a template and set one up. I'm fairly new to this sort of thing, but usually don't have too much trouble.

 

But this problem I dunno if it's on my host's end, my computer, my FTP...or the fact I'm trying this in OS X

I am using Yummy FTP now, I've tried with Fetch and Cyberduck...same thing

http://gldstudio.com/pic1.jpg

 

 

If you have a look at: http://temp.gldstudio.com/osc/

 

You will see that warning at the top

Warning: I am able to write to the configuration file: /home/glds02/gldstudio.com/public_html/osc/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Now I've tried to set it to 644, or 444, but I keep getting the error with my FTP

http://gldstudio.com/pic2.jpg

http://gldstudio.com/pic3.jpg

 

I haven't really found a definite answer so I was wondering if anyone could give me a suggestion on this one.

 

Thanks!

Posted

FTP can be pretty bad at this, if you cannot do this via your Control Panel File manager

 

use this code

 

<?php

$filename = "configure.php";

chmod("/home/glds02/gldstudio.com/public_html/osc/includes/$filename", 0444);

echo "chmod for $filename was changed";

?>

 

I filled it out with your details.

 

Save it as chmod.php upload it to your osc directory then call it in your browser.

 

http://temp.gldstudio.com/osc/chmod.php

 

it will set the permissions for you

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

If ftp clients do not allow you to change permissions on directories then don't use them.

 

Use the functionality within your ISP's admin area, cpanel or whatever they have. If your hosting admin area can't do it call their helpdesk cos they are in control of the server.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

file manager in cpanel.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...