1
pavcio
XOOPS on PHP5 - success story ;-)
  • 2004/3/28 14:58

  • pavcio

  • Just popping in

  • Posts: 2

  • Since: 2004/3/28


Hi.

I`ve just sucessfully set up XOOPS 2.0.6 on PHP5. But I had to make some modifications.

First of all, I had to change name of 'clone' methody of XoopsObject in kernel/object.php, because this name is reserved in new PHP. Then it turned out that PHP get_class() function is now case-sensitive, so I wrapped all calls with strtolower(). My patch is here: http://ares.4lo.bytom.pl/pavcio/downloads/misc/xoops-2.0.6-php5.diff

But that`s not all. After patching the XOOPS source I realized that PHP crashes (!) sometimes when Smarty is outputting some templates (?). I tried to debug it but after several hours I left it. I`ve replaced old Smarty bundled with XOOPS with new version - 2.6.2. Now everything works fine and it`s much faster!

Hope this post will help somebody.

2
Mithrandir
Re: XOOPS on PHP5 - success story ;-)

the main problem with XOOPS and PHP5 has so far been the sending of objects as references in function calls, which has not seemed to work very well.

Have you had any problems in that area? Solved them?

3
pavcio
Re: XOOPS on PHP5 - success story ;-)
  • 2004/3/28 16:49

  • pavcio

  • Just popping in

  • Posts: 2

  • Since: 2004/3/28


Hello,

I haven`t got any other problems than described by me. It just works.

4
ZPC
Re: XOOPS on PHP5 - success story ;-)
  • 2004/4/26 17:30

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


Anybody got white pages after login after this procedure (the changes listed above and new Smarty 2.6.2) and no error messages even with debug mode on.
I can access most of the admin pages but cannot view any normal page.

Any guesses?

5
blueangel
Re: XOOPS on PHP5 - success story ;-)
  • 2004/8/5 6:32

  • blueangel

  • Module Developer

  • Posts: 132

  • Since: 2002/2/20


hi pavcio,
some hosting are starting to update the PHP versions from 4 to 5, and this cause of course problems with XOOPS 2.0.7

can you explain us more in detail how you made runnign XOOPS with PHP 5

thanks a lot in advance

Login

Who's Online

317 user(s) are online (215 user(s) are browsing Support Forums)


Members: 0


Guests: 317


more...

Donat-O-Meter

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

Latest GitHub Commits