blank 1 Report post Posted October 3, 2005 Salam...Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566 Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803 Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 212 Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113 Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108 Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566Lepas install xoops keluar error ni. Aku dah off "error_reporting" dalam php.ini tapi sama jugak. Error ni berpunca dari php atau xoops? atau php ni tak compatible dgn xoops? Sebelum ni aku try xoops ni dgn php5..ok takde masalah..camne nak check? Version-------------------PHP-4.4Xoops-2.2Apache-2.0TQ... Quote Share this post Link to post Share on other sites
mohdfadly 24 Report post Posted October 3, 2005 Notice tu takde kesan apa-apa.Error ni terjadi bila ko guna PHP version terbaru sedangkan XOOPS masih guna function-function PHP yang lama.display_errors = Off Quote Share this post Link to post Share on other sites
blank 1 Report post Posted October 4, 2005 Kesan dia memang ada. Menyakitkan mata memandang. Setiap page ada lebih 50 line error, mcm tak normal plak homepage camtu. Persoalannya boleh fix tak?display_errors = Off = Tak memberi kesan.Google.com = Tak banyak membeantu.Thanx... Quote Share this post Link to post Share on other sites
feningnyer 0 Report post Posted October 4, 2005 aku guna kat localhost ok je, kat ternet pun ok. cuba debug off dlm settings xoops..PHP-4.xXoops-2.2.3 rc <-Apache-2.0 Quote Share this post Link to post Share on other sites
electroboy 3 Report post Posted October 4, 2005 Aku baru test guna Xoops 2.2.2, kecuali masa installation, yg lain takde masalah error display.Tp aku guna apache 1.3 la (php 4.4.0)... try download Xoops 2.2.2, kalau nak try download RC1 tu pun ok gak.. tp yg tu aku rasa tak sesuai lagi sebab diorang tgh test.mmg banyak bugs aku tgk di Xoops 2.2p/s: tak terinstall apache 2.0 dgn 1.3 sekali ke? Quote Share this post Link to post Share on other sites
feningnyer 0 Report post Posted October 4, 2005 @electroboy - kau tau x nak wat xoops sampai jd mcm dreamsandwich.com?aku baru xoops nie.. Quote Share this post Link to post Share on other sites
electroboy 3 Report post Posted October 4, 2005 @electroboy - kau tau x nak wat xoops sampai jd mcm dreamsandwich.com?aku baru xoops nie.. ←Sorry farkyiew... aku pun newbies dlm xoops dan dlm masa terdekat tak berminat utk pursue dgn lebih detail xoops ni.Aku tgk dreamsandwich.com tu, dia guna template/themes tu. Cuba ko tgk footer website tu. Ada info ke link ni http://www.xoopsdesign.com/modules/news/Kalau ko rajin nak 'h@ck' xoops, no hal la... p/s: nak guna joomla! buat masa terdekat. Sebab dah byk site aku tgk guna mambo tp desgin dah tak macam standard mambo dah. Quote Share this post Link to post Share on other sites
blank 1 Report post Posted October 4, 2005 p/s: tak terinstall apache 2.0 dgn 1.3 sekali ke? Ada kaitan dgn apache ke? Quote Share this post Link to post Share on other sites
b1naryc0de 1 Report post Posted October 4, 2005 (edited) Bukan masalah apache.. masalah php nie.. aku baru try td.. problem sama dengan ko.. cuba ko downgrade ko punye php..-------------apache 2.0php 4.4xoops 2.2.3-------------Aku tgk byk problem datang dari function nie.. (include/function.php)..function &xoops_gethandler($name, $optional = false ) { static $handlers; $name = strtolower(trim($name)); if (!isset($handlers[$name])) { if ( file_exists( $hnd_file = XOOPS_ROOT_PATH.'/kernel/'.$name.'.php' ) ) { require_once $hnd_file; } $class = 'Xoops'.ucfirst($name).'Handler'; if (class_exists($class)) { $handlers[$name] = new $class($GLOBALS['xoopsDB']); } } if (!isset($handlers[$name]) && !$optional ) { trigger_error('Class <b>'.$class.'</b> does not exist<br />Handler Name: '.$name, E_USER_ERROR); } if (isset($handlers[$name])) { return $handlers[$name]; } else { $ret = false; return $ret; } } Edited October 4, 2005 by b1naryc0de Quote Share this post Link to post Share on other sites
mohdfadly 24 Report post Posted October 4, 2005 blank, kalau ikut b1naryc0de problem tu datang dari include/function.php:ko tambah kat file tu kod ni:error_reporting(0); <?php error_reporting(0); .. . ?> ataupun <?php error_reporting(E_ALL ^ E_NOTICE); .. . ?> Quote Share this post Link to post Share on other sites
blank 1 Report post Posted October 4, 2005 Thanx puteranetwork, tapi code tu melenyapkan terus page aku. Yup, semua error tu dari include/function.php. AKu dah belek semua line notice tu tapi tatau mende nak godek. Nanti aku try upgrade/downgrade apa2 yang boleh. Quote Share this post Link to post Share on other sites
izmanhaidi 0 Report post Posted October 5, 2005 display_errors = Off←utk developement,adalah lebih baik display_errors = On.utk production ok,dispaly_error =Off but error log = on Quote Share this post Link to post Share on other sites
mohdfadly 24 Report post Posted October 6, 2005 blank, aku baru je test tadi guna version PHP-4.4, Xoops-2.2 & Apache-2.0.Error banyak datang dari semua function-function yang passing by reference contohnya:function &xoops_gethandler() <-- tanda & sebelum xoops_gethandlerCuba ngko buang tanda & (by reference) pada semua file-file yang menyebabkan error. Semua error tu hilang, tapi ni masalah XOOPS ni. Dia tak compatible dengan PHP4.4.Ada dalam 20 file semua function tu aku ubah (buang &), error tu hilang dah ok dah. Tapi kena tunggu la XOOPS jugak, atau boleh join community diorang:http://www.xoops.org/modules/newbb/viewforum.php?forum=39 Quote Share this post Link to post Share on other sites
blank 1 Report post Posted October 6, 2005 Yes...success, memang hilang error tu. Thanx for your support.Sebelum tu aku try compile php5, tak menjadi plak. Ada problem ke php5 dgn apache-2.0 ek? Dulu aku compile dgn lighttpd ok je... Quote Share this post Link to post Share on other sites