Posted on: 07/27/05 04:21am
By: beewee
Hi, after installing the CVS version I got this error:
Warning: main(HTTP/Request.php): failed to open stream: No such file or directory in /usr/home/outdoorman/domains/outdoormania.nl/system/classes/syndication/parserfactory.class.php on line 31
Fatal error: main(): Failed opening required 'HTTP/Request.php' (include_path='.:/usr/local/lib/php') in /usr/home/outdoorman/domains/outdoormania.nl/system/classes/syndication/parserfactory.class.php on line 31
The HTTP/Request line in this file seems odd to me, but I'm no developer...
HTTP/Request error installing CVS
Posted on: 07/27/05 10:21am
By: drshakagee
Try going here and downloading the
pear packages then install them in your path_to_gl/system/pear/ folder and set "$_CONF['have_pear'] = false;". Or if you have pear on your server you can set "$_CONF['have_pear'] = true;" and that should work.
HTTP/Request error installing CVS
Posted on: 07/27/05 01:32pm
By: DTrumbower
You are missing the HTTP pear packages. If you have a debian server and use apt-get you won't get them. It would be interesting to know how many servers have all the pear libraries, instead of a small select list.
HTTP/Request error installing CVS
Posted on: 07/27/05 02:57pm
By: beewee
Yep, thanks, it works fine now with the downloaded PEAR files (on a FreeBSD server BTW)!
Need HTTP_Request package too
Posted on: 08/31/05 10:36am
By: Anonymous (stealthman)
I was getting the same error:
PHP Warning: main(HTTP/Request.php)
[<a href='function.main'>function.main</a>]:
failed to open stream: No such file or directory in /usr/share/pear/SOAP/WSDL.php on line 27
PHP Fatal error: main() [<a href='function.require'>function.require</a>]:
Failed opening required 'HTTP/Request.php' (include_path='.:/usr/share/pear')
in /usr/share/pear/SOAP/WSDL.php on line 27
but I had installed the HTTP pear package. It turns out I needed to also install the HTTP_Request package. Hope that helps someone.
HTTP/Request error installing CVS
Posted on: 08/31/05 02:04pm
By: Dirk
[QUOTE BY= stealthman] but I had installed the HTTP pear package. It turns out I needed to also install the HTTP_Request package. Hope that helps someone.[/QUOTE]
Hmm, the HTTP:Request package is part of the PEAR tarball that's available for download from the
CVS[*1] page.
Are you sure you had your $_CONF['have_pear'] set correctly?
bye, Dirk
HTTP/Request error installing CVS
Posted on: 01/17/06 11:36pm
By: barrywong
Hello everyone...
I am running Geeklog 1.3.11 (with PEAR setting on config.php = "$_CONF['have_pear'] = true;".) without any problems. I installed the latest Geeklog 1.4.0 on the same server and encountered the following error when I set PEAR setting to "true" as well. This is the error message:
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
However, when I set config.php to "$_CONF['have_pear'] = false;". the problem disappears.
I reinstalled PEAR(http://www.geeklog.net/nightly/geeklog-pear.tar.gz) on to path_to_gl/system/pear/as suggested but the problem is still there.
drshakeagee suggested
Try going here and downloading the pear packages then install them in your path_to_gl/system/pear/ folder and set "$_CONF['have_pear'] = false;". Or if you have pear on your server you can set "$_CONF['have_pear'] = true;" and that should work.
Because Geeklog1.3.11 works with the same setting while Geeklog1.4.0 doesn't, I am wondering if there is a bug?
Any comments? Thank you.
HTTP/Request error installing CVS
Posted on: 01/18/06 01:36am
By: destr0yr
Is this the actually error message?
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
If so, you haven't edited a config file - the path_to_gl still exists.
HTTP/Request error installing CVS
Posted on: 01/18/06 07:49am
By: barrywong
[QUOTE BY= destr0yr]
If so, you haven't edited a config file - the path_to_gl still exists.[/QUOTE]
Thank you destr0yer for responding. Yes. That is the error message.
Sorry, but can you please clarify..
I amended line 136 of config.php and changed "false" for "true". Should I
rem out line 140:
$_CONF['path_pear'] = $_CONF['path_system'] . 'pear/';
I tried that but it didn't work. Everytime I added a new article, the above 2 errors - Warning and Fatal errors would return. What am I missing?
Is this there something else that I am missing? Sorry for being so dense.
HTTP/Request error installing CVS
Posted on: 01/22/06 02:03pm
By: Dirk
[QUOTE BY= barrywong] Is this there something else that I am missing? Sorry for being so dense.[/QUOTE]
I assume this has been sorted out now (cf.
this thread[*2] )?
bye, Dirk
HTTP/Request error installing CVS
Posted on: 01/22/06 06:42pm
By: barrywong
Thank you Dirk for explaining.