Hi there, in hope to help fellow HYIP script owners im writing this manual how to fix several bugs might arise when installing your HYIP manager script.
The cause of these "bugs" or "warnings" is that you have newer version of PHP (5.3.8+) on Your hosting. In many cases downgrading PHP is not an option.
Deprecated: Function ereg() is deprecated in /home/***/public_html/index.php on line 5472
Deprecated: Function split() is deprecated in /home/***/public_html/index.php on line 4692
Deprecated: Function split() is deprecated in /home/***/public_html/index.php on line 4693
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/index.php:5472) in /home/***/public_html/index.php on line 5621
Deprecated: Function split() is deprecated in /home/***/public_html/index.php on line 7054
Warning: strlen() expects parameter 1 to be string, array given in/home/***/public_html/inc/libs/plugins/modifier.myescape.php on line 28
How we can fix this?
1. Backup original index.php
2. Edit index.php and find corresponding line - 5472 (good to use some php/htm editor where you can see line numbers)
There replace
by:if (!ereg ('' . '\\/\\/' . $elnlckNJC, $elnlcOowg))
3. in index.php find split() functions on lines 4692,4693,7054 and replace word "split" by "explode".if (!preg_match('~\\/\\/' . $elnlckNJC.'~', $elnlcOowg))
4. Save file and upload, these errors should disappear. Error on investment plans inc/libs/plugins/modifier.myescape.php on line 28 im not yet sure how to fix.
If you have any ideas, please post them.
This error may also arise if you enable turing number:
Deprecated: Function session_register() is deprecated in /home/***/public_html/index.php on line 7274
Im not sure how to fix this error, because i have encoded variables in my HYIP manager script. If anyone finds the way, please share.
SOLUTION TO "HIDE" ABOVE ERRORS
Hidding might be temporary solution and script may stop working when PHP is upgraded.
But this may work to hide errors: php.ini file in your /public_html/ or /www/ directory with following line/s:
display_errors = Off
safe_mode = Off
You can also edit index.php and add directive after opening <?php tag:
error_reporting (E_ALL ^ E_NOTICE);