Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download Problems: Redirect


Guest

Recommended Posts

Posted

Hi there, newbie here.

 

I am getting a problem that I just cannot understand and after combing the board I cannot find anyone else with a similar problem.

 

The problem is this:

When trying to download products, I get the link to the product but when clicking the link I get taken to the temporary folder (generated under redirection) and I get a blank webpage.

 

It seems to me that the download.php is making the folder in the /pub/ directory and making the link inside, but the link does nothing. All my permissions are correct, ie download is 755 and pub is 777. The file I want redirected is in /download/.

 

I've checked in configure.php that my path are filesystem directories for DIR_FS_CATALOG and they seem to work.

 

A few oddities are present but they may be normal, such as the temp directories generated all begin with a period (ie .fasdfsafa/) and I cant see them inside using an FTP client (WSFTP pro). When using admin tool -> file management they appear but I cannot delete them as I get permission errors. I also took the period out of download.php (Line 46: $dirname = '.';) and this way I get generated folders without the period before them and I can view them inside the /pub directory with FTP client. When I open the folder and try to view the link (in notepad) I get ftp errors saying file does not exist.

 

I have installed download manager 5.3 but to my knowledge this seem to be functioning perfectly and does not seem to have anything to do with the redirected link.

 

I am very stuck and all comments or ideas would be welcome.

 

Thank you. :D

Archived

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

×
×
  • Create New...