Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

download error


karinha

Recommended Posts

Sorry it's me again. since I changed my downloadable file to a zip my download does not work anymore. when my download by redirect is set on false I get a blank page when I try to download my product after "purchase", when it is set on true I get this error message:

Not Found

The requested URL /catalog/pub/.ztvdlrdztuggdwiqj/funkstreet.zip was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an Error Document to handle the request.

 

Why does it search the download in the pub directory and not in the download directory??? what are those weired letters about it is searching the file?

Link to comment
Share on other sites

Is there nobody you can help me? I have checked my config.php file already a hundred times, but I still get this error message: /catalog/pub/.ztvdlrdztuggdwiqj/funkstreet.zip

Why does the Internet search my file in the pub directory and not the downloads directory although I direct it to the download folder?

 

Here is what I have in my config.php file. That's fine, no?

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'downloads/')

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

I really don't know anymore where to look for a mistake. Can somebody please help me?! I already lost a day on that one... :'(

 

Thanks a lot in advance!

Link to comment
Share on other sites

I am still investigating on that topic.... I looked if I can access my download folder through the link...nob. It asks me for a username and password, when i put in what I have for mu admin folder, it doesn't work. There is a .htaccess file in my download folder with following text:

AuthType Basic

AuthName "No access"

AuthUserFile .htnopasswd

AuthGroupFile /dev/null

Require valid-user

 

Is that supposed to be there? I also tried to delete it, but it doesn't change my download problem. I am really starting to be frustrated here. Nobody who has any suggestion???? PLEASE!!!!!!!!!!!!!

 

PS: In how far is this Download Controller helpful and needed??? My download works fine in theory (I only get the download link after paying), only that it doesn't find my down loadable file...

Link to comment
Share on other sites

There is a .htaccess file in my download folder... ...I also tried to delete it

You should not remove the .htaccess file as this controls access to the folder - I don't fully understand .htaccess coding, but I believe this one prevents any unauthorised access to your download folder, so now you've removed the file, it is no longer protected. I may have this wrong (someone please confirm/deny), but unless you know what you're doing with .htaccess files, leave them alone.

 

Good luck and sorry I can't be of any other help at the moment - I've just started with a site selling music downloads, so am still learning the download aspect of osc.

 

J.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...