Member
Member
normcdn   2015-02-11, 01:09
#1

Hi,
I am trying to find an answer to this warning in my v1.4.7 installation. I edited the php.ini file in my public_html main folder to change { display_errors = on } to off, but I still getting the message.
Is there a way to fix this. I like things clean!
thanks

Administrator
Administrator
acrylian   2015-02-11, 10:12
#2

Are you sure your host allows disabling that via php.ini? On some it is via htaccess and some others have an admin backend for that.

Member
Member
normcdn   2015-02-11, 15:59
#3

I was able to do that on the server without problem, but as I said, it did not prevent the installation of zenphoto to displayed the warning.
I edited these lines ...
display_errors = on (turned off)
display_startup_errors = on (turned off)
log_errors = on (turned off)
but I am not sure if it is the right thing to do.
Is there something else I should try ?
thanks

Member
Member
sbillard   2015-02-12, 00:12
#4

be sure that your setting has no quotation marks. "off" is unfortunately not the same as off. The former actually sets the item to on

Member
Member
normcdn   2015-02-13, 20:31
#5

Eureka! Problem solved!
I wrote to my hosting account about this problem.
I have edited the.htaccess file in my root server, to add this line ...
[suphp_configpath /home/myaccount/public_html/]
This way all subfolders will use the php.ini configuration located in my root server.
I edited the php.ini file to only change ...
display_errors = on for display_errors = off
I was able to test it by using the refresh button of zenphoto installation.
If I removed the suphp file in the .htaccess, and click the refresh button ... the warning message appears.
If I remove the suphp file in the .htaccess and modify the php.ini in my gallery folder to set display_error to off ... the warning message appears.
I then deleted the php.ini file in my gallery root folder and re-installed the suphp in my .htaccess then click the refresh button ... the warning is gone!!!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.