![]() |
|
Set Error Reporting - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Set Error Reporting (/thread-11638.html) |
Set Error Reporting - bluelion - 2014-02-12 I'm running zenphoto 1.4.5.9. I have not been able to set error reporting via a new php.ini file as described in the forum due to my hosts parameters (I guess?). I cannot create a folder preceded by a period (as in .php). I found the following in the zp-core folder: functions-basic.php lines 103, 104 In doing some web search, I came across this suggestion 'ini_set('display_errors', 0); Can I replace the '@ini_set('display_errors', 1);' with the above two lines without causing problems and will it disable the php display errors [is enabled] setting? Thanks! Set Error Reporting - sbillard - 2014-02-12 You will note that the line of code is within an if statement. This means it does not get executed unless the TEST_RELEASE define is You could add an It would really be better to contact your host service and find out how you are supposed to set PHP options for your site. |