1
otisredding
ISP upgraded php, some modules erroring out
  • 2007/2/28 19:28

  • otisredding

  • Just popping in

  • Posts: 7

  • Since: 2005/8/25


install info:
xoops 2.0.16
agendax 2.2
bmsurvey 0.5
php 4.4.4 (with...
allow_call_time_pass_reference = on
allow_url_fopen = on
register_globals = off )

Hello all. Yesterday my ISP upgraded to PHP 4.4.4, from an earlier 4.x version. Now I get errors in the agendax and bmsurvey modules, but other ones like CBB and wfsection work fine. Accessing the problem modules (any page) gives me a "64 - Host not available" error.

Turning php debug on isn't much help.

Doing an include of an agendax file from an external php script (which my site has always done and it worked fine) like so:

include("http://www.mydomain.com/modules/agendax/index.php?op=week");

...now generates the following errors:

Warning: main(http://www.mydomain.com/modules/agendax/index.php?op=week) [function.main]: failed to open stream: HTTP request failed! in file /someDirectory/index.php line 19

Warning: main() [function.include]: Failed opening 'http://www.mydomain.com/modules/agendax/index.php?op=week' for inclusion (include_path='.:/usr/local/share/pear/') in file /someDirectory/index.php line 19

Anyone come across anything similar?

Carmine

2
otisredding
Re: ISP upgraded php, some modules erroring out
  • 2007/2/28 20:23

  • otisredding

  • Just popping in

  • Posts: 7

  • Since: 2005/8/25


I've tracked the problem down to this line in agendax:

bindtextdomain( 'agendax', $agendax_path . '/locale/' );

in ../modules/agendax/i18n.php

Not sure why this would cause a fatal error?!? Anyone had this happen?

Commenting out the entire block of code fixes it.

Carmine

3
vaughan
Re: ISP upgraded php, some modules erroring out
  • 2007/2/28 21:02

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


not sure. but try echoing $agendax_path

see what the result is.

Login

Who's Online

434 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 434


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits