|
Pages: [1]
|
 |
|
Author
|
Topic: PHP 5.3 & deprecated warnings. [SOLVED] (Read 898 times)
|
|
Rezman
Posts: 3
|
Getting some deprecated messages on some of the files. I understand I can disable this message using error_reporting(^ E_DEPRECATED ^ E_USER_DEPRECATED) but don't want to do a server wide for this reason, to point out code for customers that need to update. Deprecated: Function ereg_replace() is deprecated in /home/abwebage/public_html/change2/includes/filebrowser/functions.php on line 0 Deprecated: Function split() is deprecated in /home/abwebage/public_html/change2/includes/filebrowser/functions.php on line 0 I'm running php as suphp so I go to add 'error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED' to the php.ini within the same directory and I get nothing but a blank page. I have also tried adding "error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_USER_DEPRECATED)" to the top of the 'insimage.php' or 'functions.php' file but then I get an 'is corrupted' error. Running SnippetMaster PRO v2.2.3.3
|
|
|
|
|
admin
Forum Administrator

Posts: 3070
SnippetMaster Author
|
Hello, You can add the error_reporting() function into the /snippetmaster/db.inc.php file and it will work.  Thanks!
|
|
|
|
|
|
Rezman
Posts: 3
|
Thank you very much. That did the trick!
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |