Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

download directory invalid!!!


kppyeung

Recommended Posts

I am now working on the osc in the remote server.

 

A warning sign display in the site...

 

Warning: The downloadable products directory does not exist: /var/www/html/download/. Downloadable products will not work until this directory is valid.

 

How to fix this?

 

I tried to delete the htaccess that comes with it, but it is

not working. Should I do that?

 

thanks!

 

kppyeung

Link to comment
Share on other sites

I am now working on the osc in the remote server.

 

A warning sign display in the site...

 

Warning: The downloadable products directory does not exist: /var/www/html/download/. Downloadable products will not work until this directory is valid.

 

How to fix this?

 

I tried to delete the htaccess that comes with it, but it is

not working. Should I do that?

 

thanks!

 

kppyeung

 

ok this means the download folder is missing, no problem,

 

hopefully your on a remote nix server, just putty in, and enter the following code,

 

cd /var/www/html

 

then

 

mkdir download

Link to comment
Share on other sites

Obviously the directory is there or you couldnt have deleted the .htaccess file.

 

First put the .htaccess file back its needed to prevent direct acces via the web to your download files.

 

Most likely you need the full server path to your domain

 

Look in Admin->Tools->Server Info for

 

_SERVER["DOCUMENT_ROOT"]

 

Then change your includes/configure.php

 

define('DIR_FS_CATALOG', '/home/virtual/......./var/www/html/');

Link to comment
Share on other sites

most likely an error in the includes/configure.php file, the download needs a / in front of it,

 

/download/

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...