Re: [PHP-DB] 2nd Pair of eyes please
Good god, I'm just a beginning php programmer and my head already aches reading everyone's problems! lol. Great to see there are people out there who care and will help if need be!! On 27 January 2011 17:10, Donovan Brooke wrote: > Hello, > to respond to some of the comments/questions.. > > No, it wasn't parsing anything... and yes, I put > > ini_set('display_errors', 1); > error_reporting(E_ALL | E_STRICT); > > at the top of the page. > > (as well as there is a custom built PHP management app that > allows to turn on the display_errors.. which is apparently > done.) > > Having said all that, this server config (of which I have very limited > access) does appear to shut down parsing > entirely more quickly than my dev machines that are set > as mentioned. > > ..usually not a problem (old hat in troubleshooting) and am nearing the end > of the this job... but yes, strange that small errors trigger shutting down > parsing entirely. > > Daevid, > > Lot's of misc. comments for not being able to spot my syntax issue and not > knowing the details of my project! ;-) > > However, I will take a look some time at your wrapper for future reference. > > Cheers, > > Donovan (1 block of code at a time) > > > -- > D Brooke > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Re: [PHP-DB] 2nd Pair of eyes please
Hello, to respond to some of the comments/questions.. No, it wasn't parsing anything... and yes, I put ini_set('display_errors', 1); error_reporting(E_ALL | E_STRICT); at the top of the page. (as well as there is a custom built PHP management app that allows to turn on the display_errors.. which is apparently done.) Having said all that, this server config (of which I have very limited access) does appear to shut down parsing entirely more quickly than my dev machines that are set as mentioned. ..usually not a problem (old hat in troubleshooting) and am nearing the end of the this job... but yes, strange that small errors trigger shutting down parsing entirely. Daevid, Lot's of misc. comments for not being able to spot my syntax issue and not knowing the details of my project! ;-) However, I will take a look some time at your wrapper for future reference. Cheers, Donovan (1 block of code at a time) -- D Brooke -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] 2nd Pair of eyes please
On Jan 27, 2011, at 4:00 AM, Richard Quadling wrote: On 26 January 2011 23:52, Donovan Brooke wrote: [snip] print = ""; ^ Never mind, found it. :-/ Donovan -- D Brooke -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Considering that the error is a parse error, I'm guessing you've turned off all your error reporting. If you are in development, then I'd turn on ALL the errors and warnings. error_reporting=-1 display_startup_errors=1 display_errors=1 at least. Look through php.ini-development to see what choices you have and decide what would be useful. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I think it actually was working, because he had printed a html comment. nothing would show. Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] 2nd Pair of eyes please
On 26 January 2011 23:52, Donovan Brooke wrote: > [snip] >> >> print = ""; > > ^ > Never mind, found it. :-/ > > Donovan > > > -- > D Brooke > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Considering that the error is a parse error, I'm guessing you've turned off all your error reporting. If you are in development, then I'd turn on ALL the errors and warnings. error_reporting=-1 display_startup_errors=1 display_errors=1 at least. Look through php.ini-development to see what choices you have and decide what would be useful. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php