Mantis - Quercus
Viewing Issue Advanced Details
2341 major always 01-16-08 14:57 03-03-08 16:11
mo  
mo  
high  
closed 3.1.5  
fixed  
none    
none 3.1.6  
0002341: Pligg error looking up contents of URL
Download Pligg_Beta_9.9.0, install in resin tree:

The first install screen attempts to download the contents of:

http://www.pligg.com/languages/getLanguageList.php?version=B990 [^]

The install0.php file checks for a language string, not finding
one it creates an instance of CD_HTTPRequest() and invokes the
DownloadToString() method. This method should returns the
contents of the URL as a string, but it returns "" in Quercus.
This seems to be a problem with fsockopen() and fwrite() and
fread() in Quercus.

Notes
(0002801)
mo   
02-28-08 19:34   
Test case:

php/1m0t.qa

The problem is with the feof() method, it does not function correctly
for a socket file descriptor.
(0002809)
mo   
03-03-08 15:57   
Added

php/1m0t.qa
php/1m0u.qa
php/1m0v.qa
(0002810)
mo   
03-03-08 16:11   
Confirmed that the install lang download issue is now fixed in Pligg 9.9.0.