SMFHacks.com

Downloads System Pro => Support => Topic started by: Marshall on August 10, 2011, 01:09:46 pm

Title: No link?
Post by: Marshall on August 10, 2011, 01:09:46 pm
Heya

I am having a problem which may be fairly common for you, not sure!

After doing a site restore the other day to a specific time point, some downloads on my download system pro are "invalid links", but some arnt. The ones that are unavailable seem completely randomly selected too. They are from a series of dates, new and old, from different people and different file names. What is even more strange is that when re-uploaded, they still don't work, but if I upload something else, it works. After changing the file name of the thing im uploading, it still does not work. It's very strange and I am not sure what is causing this.

Thanks,

Please check it out for yourself too if you wish: http://www.rw-trainsim.co.uk/ (registration needed).
Title: Re: No link?
Post by: SMFHacks on August 10, 2011, 01:11:57 pm
Make sure you backup contained all the files in the downloads folder. That folder is where are all uploads are saved to by Downloads Pro
Title: Re: No link?
Post by: Marshall on August 10, 2011, 01:27:57 pm
I've found the correct filenames from the MySQL database and was able to find all the files, even when they are re-uploaded they don't work
Title: Re: No link?
Post by: SMFHacks on August 10, 2011, 01:37:51 pm
Is it giving an error message if so what is the exact error message
Title: Re: No link?
Post by: Marshall on August 10, 2011, 01:44:32 pm
It comes up with the 500 error page
Title: Re: No link?
Post by: SMFHacks on August 10, 2011, 01:50:12 pm
500 sounds like file permissions. Make sure file permissions set correctly on the downloads folder.
Title: Re: No link?
Post by: Marshall on August 10, 2011, 01:53:00 pm
what should they be set to?
Title: Re: No link?
Post by: SMFHacks on August 10, 2011, 01:55:10 pm
I believe at least 755
Title: Re: No link?
Post by: Marshall on August 10, 2011, 01:59:53 pm
Ok thanks I'll set all to 755
Title: Re: No link?
Post by: Marshall on August 10, 2011, 02:08:05 pm
Still no luck I'm afraid :( Some (the same ones as before) will not download
Title: Re: No link?
Post by: Marshall on August 10, 2011, 02:13:55 pm
seems to be only ones with pictures added using the picture uploader that comes with download system pro, although some of the downloads with pictures are fine.
Title: Re: No link?
Post by: SMFHacks on August 11, 2011, 11:49:14 am
If you have access to your server logs check your apache log when an error occurs to see if you can find more detail
Title: Re: No link?
Post by: Marshall on August 24, 2011, 11:11:15 am
Sorry about the delay in replying, I have found an error log and it shows just the following line when the error appears:

[Wed Aug 24 09:06:08 2011] [error] [client 82.8.66.254] Premature end of script headers: /home/matho3/public_html/rs-trainsim/forums/index.php

Then goes to 500 error script.

Thanks
Title: Re: No link?
Post by: SMFHacks on August 24, 2011, 11:34:46 am
hmm that is one of the hardest ones to debug since there is no set answer to solving that one. Could be a whitespace in the file,permissions.
Title: Re: No link?
Post by: Marshall on August 24, 2011, 03:08:56 pm
You suggest I re-install the download system? Once un-installed I will go through every modified code and make sure it is all removed too.
Title: Re: No link?
Post by: Marshall on August 26, 2011, 02:02:28 pm
Ok I sorted it, For knowledge of other people that may have the same problem in the future, it was my max upload settings in php.ini.

I had literally php.ini in each folder, you only need one in your root.
Title: Re: No link?
Post by: Erik Hansen on September 02, 2011, 03:19:32 pm
tHANK ALL :) :) :) :) :)