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 09-18-2014 07:17:52

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 873

Unable to Save DB Exports from Admin

Do you have any suggestions as to why the Save button at System Dashboard > System > File Manager > Download Files does not work?

The Delete button works fine.

We have set user name and password.

Last edited by sdn (09-18-2014 07:18:44)


Simon

Offline

 

#2 09-18-2014 07:53:56

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

Re: Unable to Save DB Exports from Admin

It's because it's an HTTP link and browsers are now disabling them on HTTPS sites.  This will be fixed in an upcoming update.  You can mod {private}/core/CORE/includes/viewdownloads.php.  Look for:

Code:

$this->globals('core.url_nonssl')

And change to:

Code:

$this->globals('core.url_ssl')

Nick Hendler

Offline

 

#3 09-18-2014 08:26:14

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 873

Re: Unable to Save DB Exports from Admin

I have made the change to the code and now I get our main public website page not found displayed in the admin frame. I seem to remember that is what used to happen in the past. Any ideas?


Simon

Offline

 

#4 09-18-2014 08:42:46

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

Re: Unable to Save DB Exports from Admin

As a temporary measure you could try holding down the Ctrl key when clicking SAVE, this will open a new window for the download.

Offline

 

#5 09-18-2014 08:46:51

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 873

Re: Unable to Save DB Exports from Admin

Thanks for the suggestion. Unfortunately it does not work. The page breaks out of the admin area and displays the same page not found at https://www.../downloads/downloads.php?file=ecom_abcdefg_dataexport.csv. Tried in Firefox and IE with same result.

Last edited by sdn (09-18-2014 10:04:27)


Simon

Offline

 

#6 09-19-2014 08:02:42

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

Re: Unable to Save DB Exports from Admin

Is it targeting the correct URL?  Is your SSL URL correct?


Nick Hendler

Offline

 

#7 09-19-2014 08:33:11

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 873

Re: Unable to Save DB Exports from Admin

I have discovered that if I turn off password protection on the downloads directory in cPanel I can download the files without any problem.

When I turn protection back on (and add a user with the same Username and password as displayed at System Dashboard > System > File Manager > Download Files) it goes to the 404 page.

Any ideas?


Simon

Offline

 

#8 09-19-2014 16:26:16

dh783
Moderator
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Unable to Save DB Exports from Admin

Did you create a htpasswd file?
Just entering information into the area you list does not create that file, you need to create the password and user and enter it into a htpasswd file in the root so that the script can access to secure that page. You can find this info on google as well as htpasswd password generators there.

John

Offline

 

Board footer