Quote:
Originally Posted by Pirat3
ok i just moved servers to a VPS one, this mod worked just fine till after change. now everytime i try to download a file it gives a "file error". (all my users have this issue).
Or the file will open in a new firefox tab with a bunch of weird symbols etc..
Any fix or reason how to fix?
I CHMOD 777 the downloads directory, downloads.php is CHMOD 664 tried 777 but no cigar.
|
Check the chmod of the files inside the downloads directory. They should have chmod 666 permissions.
You don't need to chmod downloads.php as there's no need to change it
Quote:
Originally Posted by Black Tiger
@RSJelle: I think the problem is in the code of the addon. Probably the "order by" piece. It's complaining about a missing ; or something, you are good at code, maybe you can see what's wrong because you know a lot of code and also know which tables are used in the present downloads II version.
This is the downloads addon code they use:
*code*
From the previous version the change to "dl_files" and "dl_cats". Previously Order by was by 'order' which now they changed to 'id' but maybe this is not correct anymore or there are some other problems.
If you can't see it, oke, bad luck for me then. 
|
I don't see any problems with it at first sight. What's the exact error you are getting?