Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

chmod


norrgarden

Recommended Posts

HELP

I cant set chmod 444 at configure.php by my FTP-program. I got warning msg says my config file is writeble.

my webhost says I need to do it by chmod in php.

Please help me to create this file and tell me were I should upload it...

Link to comment
Share on other sites

HELP

I cant set chmod 444 at configure.php by my FTP-program.  I got warning msg says my config file is writeble.

my webhost says I need to do it by chmod in php.

Please help me to create this file and tell me were I should upload it...

You're going to need administrative access to your hosting account, such as cpanel. Ask tech support at your isp how to do this.

Link to comment
Share on other sites

Create a new txt file, and click Save As, and save as "chmod.php" (with the double quotes). You now have a blank php page. Into this put

<? php

chmod ("configure.php", 0400);

?>

 

Upload it to your 'includes' folder where the configure.php file is, and then type into your browser http://www.yourdomain.com/includes/chmod.php

 

That should do it. Not sure however if it needs a forward slash before configure.php

 

Once it's done don't leave the chmod.php file on your server.

 

Vger

Link to comment
Share on other sites

when I want to open chmod.php into my browser i get this result:

 

Parse error: parse error, unexpected T_STRING in /customers/stallnorrgarden.se/stallnorrgarden.se/httpd.www/catalog/admin/includes/chmod.php on line 2

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...