I have installed gpEasy for first time and have noticed I have a clean install, all goes well, all checkes passed no errors.
but when I try and install a plugin via the download plugins option -> Install then it fails saying
Oops, the package download failed. Please try again later
Now I traced this to RemoteGet.php and noticed the Test function select the stream method as the prefered method to download the file. But that does not
work and fopen also does not work but fsockopen does work. Anything I can look at on why this is the case ? (allow_url_fopen is true)
I recon this cant be set to a prefered method in the config file ?
Thank you for the great product
Wow, thanks for tracking all of that down. Which version of gpEasy are you using?
Anything I can look at on why this is the case ?
Try turning debugging on to see if there are any errors popping up. http://docs.gpeasy.com/Main/Debugging
There currently is not an option to set a prefered method for RemoteGet in the configuration.. ideally we wouldn't need one, but I can see your reasons for asking.
I am using versrion 2.3.3
I tried debugging but nothing, only error is the message
Oops, the package download failed. Please try again later(1)
I have changed the code to always use fsockopen on my server for now. I am busy trying to see if there is any other way I can get the streams to work correctly for then no code change will be needed.
PS : Basically the download plugin URL gets redirected to the correct path to download (It gets a 304 - Moved Temporarily back) and that is where the streams fall over, but fsockopen succeed.
Thanks once again for this great product.
(Busy trying to translate to Afrikaans, but it is a massive language file :D takes some time)
Hi there, I found out why only the one way was working and not the others. This piece of code is missing from the others
Only fsockopen has it , the other 2 methods miss it
When you add it, then it start to work. Thus nothing from with the streams or PHP / Apache install. Just not following the redirect.
Find out more about gpEasy's Provider Spotlight