1
xueming
HELP: blank page after server upgrade to php5 ...
  • 2009/4/26 4:43

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Hello,

I am using XOOPS 2.0.13 and xlangauge 2.06. After the upgrade of php5, I got this error meesage and blankpage:

[25-Apr-2009 22:13:32] PHP Fatal error: Call to a member function getAll() on a non-object in /home1/dfwchine/public_html/aquari
ancapital/modules/xlanguage/include/functions.php on line 169

The line of the code is this
$langs =& $GLOBALS["xlanguage_handler"]->getAll(true);


Thanks for your help !!

2
deka87
Re: HELP: blank page after server upgrade to php5 ...
  • 2009/4/26 7:26

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


write something like this
#AddType zend-script .php
#Action zend-script /cgi-php/php4
into your .htaccess
Mind anchors

3
xueming
Re: HELP: blank page after server upgrade to php5 ...
  • 2009/4/26 19:56

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Thank you. someone from the server hosting managed to bring the site up, but one of the language still show blank page. Right now I remove that language selection.

So what is this do? I see the php4 in there, will this convert the php4 code to php5?

Thanks again for the help!!

4
deka87
Re: HELP: blank page after server upgrade to php5 ...
  • 2009/4/27 3:37

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


yeah it's actually supposed to forse your website to use php4. at least works on mine.
Mind anchors

5
xueming
Re: HELP: blank page after server upgrade to php5 ...
  • 2009/6/24 17:21

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


Thank you !!

6
ghia
Re: HELP: blank page after server upgrade to php5 ...
  • 2009/6/24 22:33

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


xLanguage should not be a problem on PHP 5.
Did you made the right edit on common.php?

Login

Who's Online

192 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

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

Latest GitHub Commits