Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php


WireNet

Recommended Posts

Can someone help me on this.....

 

When I make changes to the includes/configure.php file... I receive this error message when uploading back to my server...

 

upload failed(/public_html/catalog/includes/configure.php) not allowed...

Link to comment
Share on other sites

Change the permissions on the existing configure file (777) or delete it. Your server is protecting it.

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

i had the same problem when i installed a forum in php on mysql server ... my hosting is on a windows server and you only can chmod 777 to a unix server if im not wrong ... does someone know ea how to change it on a windows 2000 server? ... just curious ... becuz i might have the same problem for this installation...

 

el chillum

Link to comment
Share on other sites

okay... you have me about the Change the permissions on the existing configure file (777) or delete it

 

Now I am completely lost....

chmod 666 ea means that all files are writable ;) so you can upload them ...

 

though no answer yet how to do it .... i hope that someone has the solution!

 

el chillum

Link to comment
Share on other sites

You should be able to set the permissions using your FTP client. If not, you can do it through code:

 

Create a php file named "secure.php" or whatever. Put the following code in it:

 

<?php 
chmod('includes/configure.php', 0644); 
?>

 

Just put in whatever permissions you want, 0666, 0644, etc.

 

Upload this file to your server in the Catalog folder. Then run it in your browser: http://www.yourwebsite.com/catalog/secure.php

 

Although nothing will show on the screen when you run the file, it will set the permissions correctly.

I'd rather be flying!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...