Mengatasi Error public_html/libraries/joomla/session/session.php

security reasons
artistsvalley.com
Bismillah. Baru saja saya mengupload file web rajawaliairsofterpusat.com ke hosting. Selesai upload dan beberapa setting, saat halaman domain tersebut saya kunjungi menampilkan pesan:

Warning: ini_set() has been disabled for security reasons in /home/XXXXX/public_html/libraries/joomla/session/session.php on line 102

Warning: ini_set() has been disabled for security reasons in /home/XXXXX/public_html/libraries/joomla/session/session.php on line 105

Warning: ini_set() has been disabled for security reasons in /home/XXXXX/public_html/libraries/joomla/session/session.php on line 655

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/XXXXX/public_html/libraries/joomla/session/session.php:102) in /home/XXXXX/public_html/libraries/joomla/session/session.php on line 423

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/XXXXX/public_html/libraries/joomla/session/session.php:102) in /home/XXXXX/public_html/libraries/joomla/session/session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/libraries/joomla/session/session.php:102) in /home/XXXXX/public_html/libraries/joomla/session/session.php on line 426

Jika ada diantara teman-teman mengalami hal yang sama dan bingung mencari solusinya, berikut saya berbagi ya..
1. Masuk ke alamat yang ditunjuk oleh pesan error. Contoh: /home/XXXXX/public_html/libraries/joomla/session/session.php
2. Pada file session.php, silahkan buka dengan cara edit.
3. Gunakan tombol keyboard "CTRL + F" untuk mencari kata "ini_set" (tanpa kutip)
4. Nanti akan ditemukan tiga kata yang sama, tambahkan masing-masing menggunakan simbol @ di depannya. Maka akan berubah menjadi @ini_set
5. Jika sudah semua, silahkan save dan refresh halaman utama domain.

Alhamdulillah dan selamat mencoba....

1 comments :