Welcome, Guest. Please login or register.

Author Topic: Amiga.org may be running out of time  (Read 16317 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline whiteb

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 739
    • Show all replies
Re: Amiga.org may be running out of time
« on: March 23, 2009, 02:46:16 AM »
Wayne, I do not know if this is of any help or not.. but here goes.

http://www.xoops.org/modules/newbb/viewtopic.php?topic_id=18176&forum=14&post_id=100624

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/downl ... isc/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!
A4000D - CSMKII//128MB/IDE CF/Indivision Scandoubler
A1200
A1000

(And now a Minimig) :>)