Jump to content

Can´t access Download folder


pdn

Recommended Posts

Hi,

 

I can´t access the Download folder (or sub-folders in the client area) but I can access the files under "Most Popular Downloads"

Has this something to do with my php.ini file or ionCube? I think I changed that some time ago.

Link to comment
Share on other sites

Thanks for the reply!

I can´t open the folders where I have put the downloads in. I can access the files directly but not navigate to the files. I get: The requested page could not be found.

 

Permission on the download folder located in root is 0777 and globals=off

...if that has something to do with it?

Link to comment
Share on other sites

I also have this problem, but in my case my main site is built with drupal and it is throwing up the drupal page not found (not the server 404). I think .htaccess maybe needs a rewrite rule to stop drupal from handling this page?

 

For the whmcs downloads, the URL is of the following format:

 

http://www.mywebsite.com/index.php?q=dl.php&type=d&id=1

 

however the main drupal index page is index.php, so drupal thinks it should be serving this URL.

 

Anyone any idea how to prevent drupal from serving anything with index.php?q=dl.php in the URL?

Link to comment
Share on other sites

I was about post about this on the drupal forum but I have just noticed something...

 

If you hover over the download link it will display the URL as the full path to the file including the WHMCS subfolder (or whatever you have named it), i.e.:

 

http://www.mywebsite.com/whmcs/dl.php?type=d&id=1

 

But when you click on the link the following URL is then displayed in the browser address bar along with the drupal page not found error:

 

http://www.mywebsite.com/index.php?q=dl.php&type=d&id=1

 

in other words when the link is clicked for some reason its being served from the web root (drupal) instead of the whmcs directory, so is this a drupal issue or a whmcs problem?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated