Mengatasi permasalahan login Joomla 1.5.7
Posted in Tutorial & Tips by aries on the October 27th, 2008
Seperti yang kita ketahui, joomla telah mengupdate versi terbarunya ( security release) ke versi 1.5.7 untuk menutup celah/bug di versi sebelumnya 1.5.6 .Masalah baru ditemukan ternyata registered user tidak bisa login yang ditandai dengan halaman blank atau muncul error sbb :
Fatal error: Call to undefined function: stripos() in …\libraries\joomla\environment\uri.php on line 675
Setelah mencari penyebabnya, ternyata masalah ini hanya muncul bagi kita yang masih menggunakan PHP 4, karena login joomla menggunakan redirection, sedangkan PHP 4 tidak support hal ini.
Solusinya :
1. Upgrade versi PHP anda ke PHP5 (anda bisa meminta upgrade/pindah ke layanan hosting anda);
2. Bagi yang ingin bertahan di PHP4 (upgrade ke PHP5 kadang membuat error module/component/plugin yang telah kita install sebelumnya), anda bisa menambahkan script berikut di bagian akhir file …/libraries/joomla/utilities/compat/php50x.php :
if (!function_exists( 'stripos' )) {
function stripos( $haystack, $needle, $offset = 0 ) {
return strpos( strtolower( $haystack ), strtolower( $needle ), $offset );
}
}Selamat mencoba!
Monday, June 8, 2009
Subscribe to:
Post Comments (Atom)
Earning money online never been this easy and transparent. You would find great tips on how to make that dream amount every month. So go ahead and click here for more details and open floodgates to your online income. All the best.
ReplyDeleteMake $3000-$40000 A Month by Using internet At Home, Internet is quickly growing into a world-wide marketplace, which provides a unique opportunity for everyday people like you and me to cash in on it and start making money online!,click here
ReplyDelete