Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:06 pm EST
Geeklog Forums
HTTP/Request error installing CVS
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
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...
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
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...
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
13
12
Quote
Status: offline
drshakagee
Forum User
Full Member
Registered: 10/01/03
Posts: 231
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.
Yes I am mental.
Yes I am mental.
10
11
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
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.
18
11
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Yep, thanks, it works fine now with the downloaded PEAR files (on a FreeBSD server BTW)!
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
11
9
Quote
stealthman
Anonymous
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.
Text Formatted Code
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.
15
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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.
Hmm, the HTTP:Request package is part of the PEAR tarball that's available for download from the CVS page.
Are you sure you had your $_CONF['have_pear'] set correctly?
bye, Dirk
12
14
Quote
Status: offline
barrywong
Forum User
Regular Poster
Registered: 04/12/02
Posts: 95
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
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.
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.
28
11
Quote
Status: offline
destr0yr
Forum User
Full Member
Registered: 07/06/02
Posts: 324
Is this the actually error message?
If so, you haven't edited a config file - the path_to_gl still exists.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
Text Formatted Code
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 31If so, you haven't edited a config file - the path_to_gl still exists.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
14
12
Quote
Status: offline
barrywong
Forum User
Regular Poster
Registered: 04/12/02
Posts: 95
Quote by destr0yr:
If so, you haven't edited a config file - the path_to_gl still exists.
If so, you haven't edited a config file - the path_to_gl still exists.
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.
13
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by barrywong: Is this there something else that I am missing? Sorry for being so dense.
I assume this has been sorted out now (cf. this thread)?
bye, Dirk
11
11
Quote
All times are EST. The time is now 08:06 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content