Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Display errors: Off (it should be on)
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=1541
Page 1 of 1

Author:  jaguar11735 [ 20. May 2008, 20:44 ]
Post subject:  Display errors: Off (it should be on)

I have my php.ini set to display errors. Phpinfo() confirms this. But on the Recommended Settings page, it is showing that Display Errors is Off.

I'm guessing this doesn't actually hurt anything, just thought you should be aware of it.

Author:  TinyWebGallery [ 20. May 2008, 23:03 ]
Post subject: 

it's maybe a caption issue and really minor.

/Michael

Author:  TinyWebGallery [ 21. May 2008, 11:53 ]
Post subject: 

I checked this. The used php functions are correct. Either your php is returning a wrong value or your php is really configured like this.

/Michael

Author:  jaguar11735 [ 22. May 2008, 16:43 ]
Post subject: 

Hmm.. I'll check my server out and try to figure out what's going on...

Thanks for checking into it though!

Author:  jaguar11735 [ 22. May 2008, 17:24 ]
Post subject: 

Figured out the problem, and it seems really strange to me.

In my php.ini, i had
error_reporting=E_ALL & E_STRICT
display_errors=on

and no errors were displaying. I played around with all kinds of settings and finally figured out that E_STRICT was somehow causing the errors to not show. Once I removed the E_STRICT the errors are now displaying in my test script. However, TWG is still reporting display_errors as OFF. How does TWG test this?

My sample script that displays an error is here: #removed_broken_link

I know this isn't causing any problems with the workings of TWG, but its annoying me :?

Author:  TinyWebGallery [ 22. May 2008, 17:34 ]
Post subject: 

with

ini_get('display_errors')

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/