Posted on: 01/19/06 01:39am
By: barrywong
I believe there is a bug on Geeklog 1.4.0rc1 that is related to config.php when line:136 $_CONF['have_pear'] = true; (defaulted to "false").
When this option is set to "true:", the following error message occurs intermittently whne adding/editing a story.
Warning: main(HTTP/Request.php): failed to open stream: No such file or directory in path_to_gl/system/classes/syndication/parserfactory.class.php on line 31
Fatal error: main(): Failed opening required 'HTTP/Request.php' (include_path='.:/php/includes:/usr/share/pear') in path_to_gl/system/classes/syndication/parserfactory.class.php on line 31
I believe it is a bug with Geeklog 1.4.0rc1 because I have Geeklog 1.3.11sr2 (with the same setting "true") running on the same server without problem. Of course it could be due to a corrupt installation. I will try installing another copy in the next few days to see if this problem happens with the re-installation.
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 01/19/06 02:02am
By: Dirk
1.4.0 now uses the PEAR HTTP_Request class to read feeds. Older versions used fopen(). So that's the difference.
Make sure you really have the HTTP_Request class installed (it's included in the 1.4.0 tarball). To confirm your PEAR settings, try sending an email from Geeklog. If that works, it should be able to find the HTTP_Request class as well.
bye, Dirk
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 01/22/06 05:19am
By: barrywong
Hi Dirk, Thank you for responding.
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 02/05/06 11:33pm
By: Aerocream
To Fix the issue I just looked at the file names of the missing files and made sure they were teh right case. For example I have to rename request.php and url.php and this corrected my issue.
url.php to URL.php
request.php to Request.php
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 03/24/06 10:29am
By: Anonymous (Christian)
Hello!
I got the same error message, my "have_pear" is set to true.. so I assume that it's not properly installed (or at least with constraints!?) at free.fr! Is there a way to overcome this? I have Geeklog1.40sr2.
Most of the time (I guess when no pear is needed) it works, check it out at ultimate33.free.fr/geeklog33/admin
Thanks a million, I feel like I'm so close... but still not there!
Christian
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 03/24/06 02:40pm
By: Dirk
Geeklog relies on PEAR for certain functions. See
Geeklog and PEAR[*1]
bye, Dirk
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 03/27/06 03:16am
By: Anonymous (Christian)
Hello Dirk,
I've read everything about Geeklog and Pear, and I know that my problem is rooted here! What I want to know now is...
...is there a way to get Geeklog to work without having the proper classes installed on the webserver but with the constraint that the PHP function ini_set is disabled by the provider (something that I suppose, although PHP 4.1.3 is installed!!!)?
...or if there isn't - so I have to choose another CMS - what I certainly try to avoid! I'm very happy with your system running on my machine!
In hope to get at least a YES or NO,
have a nice day,
Christian
system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 03/27/06 01:44pm
By: Dirk
To quote from the FAQ article linked to above:
If you can't use ini_set and PEAR is not installed on your server, then you are out of luck and should consider switching hosting services.
Or, in other words: You get what you pay for ...
bye, Dirk
Re: system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 09/13/08 08:15am
By: Anonymous (Philprism)
My whole website went splat with the same error after an upgrade to 1.5
If you look at the first part of the error it says 'HTTP/Request.php'
1. The pear directory is lower case 'http' on the default install
2. I changed the directory name from 'http' to 'HTTP' to match the path/name combination
My website came back ON LINE...............................................
Just added a story and is still on line!
Re: system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 09/13/08 08:23am
By: Dirk
Quote by: Philprism1. The pear directory is lower case 'http' on the default install
The PEAR directory in the Geeklog tarball is uppercase, HTTP, of course.
bye, Dirk
Re: system/classes/syndication/parserfactory.class.php on line 31 error message
Posted on: 03/06/09 02:36pm
By: Anonymous (radu)
I comented out the line in read in parserfactory.class.php
// Require pear HTTP_REQUEST
//require_once('HTTP/Request.php'
;
is this OK???
Thanks