Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

renaming download folder?


LisaC

Recommended Posts

I know this has been asked and I found this reply:

If you do decide to change the name of the folder you will also have to change the name in 'includes/configure.php' to reflect the changes you made to the download folder.

 

Am just not sure where abouts in this file I would change the info. Last time I tried this I couldn't access my store any more and had to re install so I am checking to be sure this time.

 

 

Other that that file and renaming teh folder, is there anything else I need to change?

 

Thank you so much for the replies and so sorry to repeat the question

Link to comment
Share on other sites

some guide lines for when you are ready to update the config file:

 

1: download a fresh copy from the server of your includes/configure.php - do not used the copy from the original install.

 

2: make a copy of this file and call it something like includes/configure_original_settings.php, then save it on your computer

 

3: Make sure you open and edit the includes/configure.php file in an editor like notepad or any editor that does not add any hidden codes

 

4: You will edit this line:

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 

I suggest that you change it by adding numbers to it, so you will know what it is. Like this

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download9572/');

 

5: Before you upload the edited includes/configure.php file, make sure you know how to change the permissions if needed

 

6: Don't forget to change the name of the download folder on the server itself

Link to comment
Share on other sites

Thank you so much for taking the time to reply. Worked great :)

Thanks

 

 

some guide lines for when you are ready to update the config file:

 

1: download a fresh copy from the server of your includes/configure.php - do not used the copy from the original install.

 

2: make a copy of this file and call it something like includes/configure_original_settings.php, then save it on your computer

 

3: Make sure you open and edit the includes/configure.php file in an editor like notepad or any editor that does not add any hidden codes

 

4: You will edit this line:

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 

I suggest that you change it by adding numbers to it, so you will know what it is. Like this

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download9572/');

 

5: Before you upload the edited includes/configure.php file, make sure you know how to change the permissions if needed

 

6: Don't forget to change the name of the download folder on the server itself

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...