php errors not showing on web
2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 31, 2009 (RSS)
By eduran582 - August 28, 2009 - edited: August 28, 2009
Based on the recommendation of another forum user, I have set up CMSB on another hosting company site. Mainly because the one I usually use has suddenly started displaying all the php pages real s l o w. However, now I have another problem with the new host site:
When an error was encountered on my 'old' hosting site, it would show up on the web page indicating what error and line it occurred on allowing me to track it down. With the new host, nothing, and I mean NOTHING shows...just a blank page.
Can someone tell me if this is a php.ini configuration problem and what I need to do to allow the errors to show on the web page?
On the old host, there was a php.ini file I could access and change, if necessary. On the new host, no such luck. According to the php.info file, it's on the server where I cannot access it.
Another thing I noticed: on the old site these setting were present in the php.ini file:
register_globals = off
allow_url_fopen = off
expose_php = Off
According to the php.info file on the new host, all three of these are set to "on".
The site I'm creating deals with credit card payments to a 3rd party vendor and I seem to remember something about those setting having to be set 'off' to provide additional security when POSTing. Not sure about this and would appreciate any feedback.
If anyone can tell me what settings to request that would allow the errors to be displayed so I can tell the host tech support, I would be greatful!
BTW, both hosts use version 5.2.5 of php.
TIA!
Eric
*** UPDATE ***
Contacted the host site and requested the creation and change in the php.ini configuration file. Reply and resolution was quick and accurate!
THIS issue is solved! [cool]
When an error was encountered on my 'old' hosting site, it would show up on the web page indicating what error and line it occurred on allowing me to track it down. With the new host, nothing, and I mean NOTHING shows...just a blank page.
Can someone tell me if this is a php.ini configuration problem and what I need to do to allow the errors to show on the web page?
On the old host, there was a php.ini file I could access and change, if necessary. On the new host, no such luck. According to the php.info file, it's on the server where I cannot access it.
Another thing I noticed: on the old site these setting were present in the php.ini file:
register_globals = off
allow_url_fopen = off
expose_php = Off
According to the php.info file on the new host, all three of these are set to "on".
The site I'm creating deals with credit card payments to a 3rd party vendor and I seem to remember something about those setting having to be set 'off' to provide additional security when POSTing. Not sure about this and would appreciate any feedback.
If anyone can tell me what settings to request that would allow the errors to be displayed so I can tell the host tech support, I would be greatful!
BTW, both hosts use version 5.2.5 of php.
TIA!
Eric
*** UPDATE ***
Contacted the host site and requested the creation and change in the php.ini configuration file. Reply and resolution was quick and accurate!
THIS issue is solved! [cool]
Re: [eduran582] php errors not showing on web
By Donna - August 31, 2009
Hi there -- glad to hear you got that sorted out! :)
Donna
--
support@interactivetools.com
--
support@interactivetools.com