Cara tersebut kurang efektif, karena ada perubahan pada model OOP di PHP 5 yang
belum 100% backward compatible sama php 4. Error tersebut terjadi karena saya
memanggil metode GUI_paging secara statis (tidak membuat instance dari kelas
GUI_paging terlebih dahulu)
Solusinya untuk php 5 adalah rubah code pada GUI_paging.inc.php menjadi seperti
ini :
var $all_recs_num = 0;
var $recs_each_page = 0;
var $pages_each_set = 0;
Ubah menjadi :
public $all_recs_num = 0;
public $recs_each_page = 0;
public $pages_each_set = 0;
---------------------------------------------------------------------
function pagerSet($all_recs_num, $recs_each_page, $pages_each_set = 10,
$paging_page = '')
Ubah menjadi :
static function pagerSet($all_recs_num, $recs_each_page, $pages_each_set = 10,
$paging_page = '')
Selamat mencoba
Open Source is about respecting others people creation,
Sharing knowledge and Trying not to use piracy program.
http://dicarve.blogspot.com/
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[Non-text portions of this message have been removed]
--
Towards cyber libraries to support information society in Indonesia.
Joining ICS-isis by sending mailto:[EMAIL PROTECTED]
Visit ICS-Portal at http://digilib.binus.ac.id/ics/index.php
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ics-isis/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ics-isis/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/