Remove the error_reporting string from the disable_functions at php.ini* file
Ask your hosting provider to remove the string above if you don’t have an access to the php.ini* file
Change hosting provider which allows the running of the error_reporting function.
Thread Starter
mnmca
(@mnmca)
I have access to the php file, my shopping basket host had me turn on error logging to see what was happening. See this…
https://www.ecwid.com/forums/showthread.php?p=146964#post146964
Here is my php file… what do I remove?
register_globals = Off
zend_extension="/usr/local/IonCube/ioncube_loader_lin_4.4.so"
zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_4.4_ts.so"
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
max_input_vars = 4000
php_value max_input_vars = 5000
error_reporting = 4339
display_errors = Off
display_startup_errors = On
log_errors = On
disable_functions = ini_set,error_reporting
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
html_errors = Off
Remove this line and test:
disable_functions = ini_set,error_reporting
or replace with
disable_functions =
http://stackoverflow.com/questions/24007248/how-to-eliminate-error-warnings-about-ini-set
You can disable showing of PHP warnings, either in server main php.ini or custom php.ini on the account.
edit /usr/local/lib/php.ini, and change error_reporting value to following, to not show notices and warnings.
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
if you want do it by custom php.ini on the account, copy the main php.ini to user folder and edit that file.
cp /usr/local/lib/php.ini /home/$user/public_html/php.ini
and then edit that file, and change error_reporting
Thread Starter
mnmca
(@mnmca)
Thanks guys, I know I can disable the warning, the thing is I would like to know why I am getting them. I am having problems with my google indexing and they say I have too many errors. I turned on error logging and these two errors keep showing hp hundreds of times.
I have a standard instal through cpanel with all the updates and have never modified the files. It’s driving me nuts.