Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-26-2013 07:44:16

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

downloads directory

just upgraded to europacart 8.05 and can no longer access my downloads. If I try to export a table via the Admin interface I get to the downloads page but when I click Save I get a 404 page not found.
If I remove password protection from the downloads directory it works fine (not ideal).

Last edited by nigel (06-26-2013 07:46:11)

Offline

 

#2 06-26-2013 08:04:11

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

Use whatever tools your host has given you to password protect that directory (/{public}/downloads).  While you're at it, do the same for the uploads directory (/{public}/uploads)


Nick Hendler

Offline

 

#3 06-26-2013 08:18:07

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: downloads directory

Hi Nick,

I can password protect the directory through cPanel but when I do this I can no longer access the downloads through the admin interface.

Offline

 

#4 06-26-2013 08:42:46

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

You need to change the password for the downloads/uploads directories under System | Component | Settings.


Nick Hendler

Offline

 

#5 06-26-2013 08:51:26

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: downloads directory

I had already checked that. The username and password for the directories are the same as they were before the upgrade. Could something have happened during the install?

Offline

 

#6 07-06-2013 04:54:18

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: downloads directory

I still can't get this working. I have set the username and password for the directory through cPanel then entered the same information at: System Dashboard > System > Component > Settings > Directory Protection Settings

I have another install which is running 8.0.4 and that is working just fine, it downloads the files as expected. I can only presume that something happened during the upgrade to 8.0.5 but I can't figure it out.

Offline

 

#7 07-08-2013 09:10:50

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

When you see a download file dialog in the software, does it present the right username and password?  If so, when you access the public downloads directory using your browser, does that username and password work?


Nick Hendler

Offline

 

#8 07-08-2013 09:28:50

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: downloads directory

when I go to:  "System Dashboard > System > File Manager > Download Files" it shows my username and password. It also shows the files in the public downloads directory but when i click Save I get a "404: not found"
when I go to:  "http://www.mysite.com/downloads" I get a "404: not found"

I can access the downloads directory via FTP and the downloaded files are there.

Offline

 

#9 07-09-2013 08:37:30

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

The software should be linking to a file named downloads.php with a parameter for the filename to download.  When you copy that link and use it, what happens?  I think the .htaccess file you're using to protect the directory is not working/written properly.


Nick Hendler

Offline

 

#10 07-09-2013 08:52:20

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: downloads directory

Hi Nick,

when I copy the link I get:

Code:

http://www.mysite.com/downloads/downloads.php?file=cms_banners_dataexport.csv

when I paste it into the address bar it gives me a "404"

my .htaccess (permissions 0644) in the downloads folder is:

Code:

AuthType Basic
AuthName "downloads"
AuthUserFile "/home/mysiteusername/.htpasswds/public_html/downloads/passwd"
require valid-user

Last edited by nigel (07-09-2013 09:53:51)

Offline

 

#11 07-10-2013 08:43:40

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

Are you pasting it into the address bar right after the software says the file is ready for download?  Is the file sitting in the /downloads directory?


Nick Hendler

Offline

 

#12 07-10-2013 09:18:11

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: downloads directory

yes to both questions. I also pasted the link into a new tab but still getting a 404 error.
Just out of interest, I upgraded my other site 8.05 and that has now got the same problem?

Offline

 

#13 07-12-2013 08:13:39

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

It might be best for you to submit a free support ticket here at this point:

https://kryptronic.com/cms-dynform/TECHTICKET.html

I am out of suggestions and would really need to get in there and test it out to help any further.


Nick Hendler

Offline

 

#14 05-28-2015 12:44:18

kgillespie
Member
From: Sandy, Oregon
Registered: 06-10-2004
Posts: 164
Website

Re: downloads directory

I have the same issue with two or three of my sites as well. I have lots of other sites that don't have this issue but for some reason others do. I have checked all my settings, passwords, preferences and user rights etc... I do the same setup on all my sites going through same procedures. Do I also have to submit a ticket to have you take a look? Strange behavior especially since I just updated and upgraded these 3 sites from 7.0 and 8.0 to latest versions. One the sites that was working fine before upgrade is still working fine. The other 2 are still broken concerning the ability to access the downloads directory and files in it. I too get this error message on both: "404: Not Found - The resource you requested cannot be found. Please use the menu to continue." This is not my first time using, setting up and working with the software and the downloads. That is what makes this such an odd deal.

Offline

 

#15 05-29-2015 07:00:06

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

This sounds like the file you're trying to download is not in the downloads directory.  You can test the directory setup as follows:

Upload a file, say x.jpg to the {public}/downloads directory.  Then try to download it with:

http://www.yourdomain.com/downloads/dow … file=x.jpg

You should be prompted for a user/pass, which you should know and enter.  If the download starts, you're good.


Nick Hendler

Offline

 

#16 06-05-2015 12:20:44

kgillespie
Member
From: Sandy, Oregon
Registered: 06-10-2004
Posts: 164
Website

Re: downloads directory

The directory is there and is able to download properly IF I turn off or remove the locked user and password. But when I add the lock private setup it then doesn't allow it to work. I still get the error message on my site page:
"404: Not Found
The resource you requested cannot be found. Please use the menu to continue."

Here is the url that comes up when doing a right click and choose new tab or new window on the save file: http://websitenamehere.com/downloads/do … export.csv

Offline

 

#17 06-08-2015 13:07:25

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: downloads directory

You may want to report this to your host.  If it works with directory protection turned off, and doesn't work with it turned on, there is likely a webserver configuration issue on your account or virtual host.


Nick Hendler

Offline

 

Board footer