Home > World Of ICT > Function session_is_registered() is deprecated pada PHP 5

Function session_is_registered() is deprecated pada PHP 5


Deprecated: Function ereg() is deprecated in /usr/local/www/apache22/data/mp3ei/WEB/includes/functions.php on line 5
Deprecated: Function session_is_registered() is deprecated in /usr/local/www/apache22/data/mp3ei/WEB/includes/functions.php on line 69
Deprecated: Function session_register() is deprecated in /usr/local/www/apache22/data/mp3ei/WEB/proses.php on line 46
Warning: session_register() [function.session-register]: Cannot send session cache limiter – headers already sent (output started at /usr/local/www/apache22/data/mp3ei/WEB/includes/functions.php:5) in /usr/local/www/apache22/data/mp3ei/WEB/proses.php on line 46
Deprecated: Function session_is_registered() is deprecated in /usr/local/www/apache22/data/mp3ei/WEB/includes/functions.php on line 69
Warning: Cannot modify header information – headers already sent by (output started at /usr/local/www/apache22/data/mp3ei/WEB/includes/functions.php:5) in /usr/local/www/apache22/data/mp3ei/WEB/proses.php on line 52

Sore ini mendapati log console seperti diatas  ketika memindahkan script program php yang saya buat, setelah googling sana dan sini dan mendarat  pada blog ini http://muslimpribadi.wordpress.com/2012/01/27/deprecated-function-pada-php/  maka didapat solusi sebagai berikut;

rubah parameter error_reporting  pada konfigurasi php.ini

;
;   - Show all errors, except for notices and coding standards warnings
;
;error_reporting = E_ALL & ~E_NOTICE
;
;   - Show all errors, except for notices
;
;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
;
;   - Show only errors
;
;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
;
;   - Show all errors except for notices and coding standards warnings
;
;error_reporting  =  E_ALL & ~E_NOTICE 
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Dan warning error tersebut tidak akan muncul kembali.

Categories: World Of ICT
  1. December 5, 2013 at 3:26 pm

    Я ни капельки не пожалел и всем советую
    игра покер онлайн на деньги

    Чуток в плюсах,но если есть время свободное, я думаю можно набить намного больше!

  2. dishillolf
    December 12, 2013 at 1:57 pm

    а

  3. Adleseo
    January 11, 2014 at 11:57 pm

    seo

  4. Adicseo
    January 15, 2014 at 10:35 am

    1

  5. January 23, 2014 at 5:52 am

    How’s things, I just noticed that occasionally this page shows a 500 server error. I thought you would be keen to know. Best wishes

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: