| User | Post |
|
4:07 pm 15 Sep 2007
| lstelie
Member
| | | |
|
| posts 9 |
|
|
Hello
http://audioblog.fr/download-manager.php?id=1
is supposed to point to
http://audioblog.fr/downloads/photo/nameofthefile.pdf
But the result is a 404
On the other hand
http://audioblog.fr/download-manager.php
Doesn’t issue a 404 but logically issues :
Invalid ID, numbers (0-9) only!
Any help welcome
Luc
|
|
|
|
|
Well there are two reasons that spring to mind. The first is that a 404 is issued if the filepath is not valid. So first question, when you look at the index do you have the tick beside the download?
The other thing is something that happened to me a couple of weeks back when I switched hosts. The permissions on my ‘download-mananger.php’ file were too open. Check the permissions on this file . Advised permission is 644. Anything greater than this could cause the problem on some hosts. Also worth checking permission on your download folder and file as well to make sure they can be reached by a user.
If neither of these are the culprit then I would suggest asking your host of they have anything in place that may be stopping the redirect.
|
|
|
12:00 am 16 Sep 2007
| lstelie
Member
| | | |
|
| posts 9 |
|
|
Hello Andy,
You’re right, the error was mine (bad path)
A suggestion : it would be cool in a further release to have the plugin able to count also clicks on links.
There are files stored on the WP host, and their downloads are registered, but in some case I use link pointing directly to external files that I can’t place on my server (for copyright reasons for example) .
In fact this would require two kind of content :
- local with a file name/category name
- external ,in this case the whole file’s url would be given, along it’s category.
Luc
|
|
|
|
|
Should be possible. I’ll add it to the list!
|
|
|
|
|
Andy,
I'm having the same problem on the CEP site but there's a tick next to each entry. CHMOD'ing the folder the files are in to 644 results in not even the thumbnails displaying. It's on the wallpapers page.
|
|
|
|
|
Well Hi Wonko
The folder(s) that the download files are in needs to be more open (say 755 for example). It's the actual 'download-manager.php' file that needs to be 644. The problem was that some hosted setups, when encountering a code file with too open permissions mark is as 'suspect' and issue an error. Sometimes a 404 (I have been told) and sometimes a 500. So check the actual code file first and open up the folders.
If that's not the problem then I am unsure what else might be going on. It's a very simple script and if it can reach the file requested it should be just fine…
|
|
|
|
|
The php file is 644 and the folder the files are in is 777. Let me know if you want a tinker.
|
|
|
|
|
Give me a link please. I can't find a 'wallpaper' link on the CEP site….
|
|
|
|
|
|
|
|
I have a hunch (and only a hunch!) that it's the download-manager.php file that it's not finding but as long as it's in the right place (the WP root) I don't see any reason it shouldn't behave itself.
What about another plugin or the .htaccess? Anything denying that url?
|
|
|
|
|
Yeeees … the “root” folder. Ahem. 
|
|
|
|
|
Do I take it we have a result?!
|
|
|
|
|
|
|
|
Glad it's now working…
|
|