126 | Posts |
40.5K | Downloads |
16 | Themes |
5 | Plugins |
Good day.
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
Johannes Pretorius
Dominion IT
2K | Posts |
296K | Downloads |
16 | Themes |
18 | Plugins |
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.
126 | Posts |
40.5K | Downloads |
16 | Themes |
5 | Plugins |
Good day.
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)
126 | Posts |
40.5K | Downloads |
16 | Themes |
5 | Plugins |
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
[code]
[/code]
Only fsockopen has it , the other 2 methods miss it
fopen_request
and
stream_request
When you add it, then it start to work. Thus nothing from with the streams or PHP / Apache install. Just not following the redirect.
thank you
Johannes Pretorius
2K | Posts |
296K | Downloads |
16 | Themes |
18 | Plugins |
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More NewsFind out more about our Provider Spotlight
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using