Code Comments
Programming Forum and web based access to our favorite programming groups.I have a php script on a host and while all other scripts work, this one fails. Now it seems to be php dying on the script as I get all the hardcoded HTML, but error_reporting() E_ALL or E_STRICT spits out nothing. My real question is there anyway to find what is causing the error other than error_reporting? display_errors is set to off, log_errors is on, but error_log has no value as reported by phpinfo(). Little help please?
Post Follow-up to this message"mike292" wrote: > I have a php script on a host and while all other scripts work, this > one > fails. Now it seems to be php dying on the script as I get all the > hardcoded HTML, but error_reporting() E_ALL or E_STRICT spits out > nothing. My real question is there anyway to find what is causing the > error other than error_reporting? display_errors is set to off, > log_errors is on, but error_log has no value as reported by phpinfo(). > > Little help please? Does it work on your development machine? -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbForumz.com/PHP-script-...rm.php?p=450045
Post Follow-up to this messageIt works on a machine I have at home, so I know the script is good, I have the same versions of php running in both places but my box at home is linux 2.6.7 while the host is FreeBSD 4.1. This is why I was hoping there was some other way to debug it since its not spitting any errors at all yet its set to report 2039. I can't seem to get any output at all from the php code, it just dies and only gives me the hardcoded html in the file. steve wrote: > "mike292" wrote: > this > the > phpinfo(). > > Does it work on your development machine? >
Post Follow-up to this message"mike" wrote: > It works on a machine I have at home, so I know the script is good, I > have the same versions of php running in both places but my box at > home > is linux 2.6.7 while the host is FreeBSD 4.1. This is why I was hoping > > there was some other way to debug it since its not spitting any errors > > at all yet its set to report 2039. I can’t seem to get any > output at all > from the php code, it just dies and only gives me the hardcoded html > in > the file. > steve wrote: > work, > all the > spits out > causing > off, Tough one, Mike. I don’t have a clue. Have you checked file permissions (unlikely source). -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbForumz.com/PHP-script-...rm.php?p=451275
Post Follow-up to this message"mike" wrote: > It works on a machine I have at home, so I know the script is good, I > have the same versions of php running in both places but my box at > home > is linux 2.6.7 while the host is FreeBSD 4.1. This is why I was hoping > > there was some other way to debug it since its not spitting any errors > > at all yet its set to report 2039. I can’t seem to get any > output at all > from the php code, it just dies and only gives me the hardcoded html > in > the file. > steve wrote: > work, > all the > spits out > causing > off, Tough one, Mike. I don’t have a clue. Have you checked file permissions (unlikely source). -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbForumz.com/PHP-script-...rm.php?p=451275
Post Follow-up to this message"mike" wrote: > It works on a machine I have at home, so I know the script is good, I > have the same versions of php running in both places but my box at > home > is linux 2.6.7 while the host is FreeBSD 4.1. This is why I was hoping > > there was some other way to debug it since its not spitting any errors > > at all yet its set to report 2039. I can’t seem to get any > output at all > from the php code, it just dies and only gives me the hardcoded html > in > the file. > steve wrote: > work, > all the > spits out > causing > off, Tough one, Mike. I don’t have a clue. Have you checked file permissions (unlikely source). -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbForumz.com/PHP-script-...rm.php?p=451275
Post Follow-up to this messagesteve wrote: > "mike" wrote: > I > hoping > errors > html > > Tough one, Mike. I don’t have a clue. Have you checked file > permissions (unlikely source). > Changed the permissions to 777 but it still isn't running.
Post Follow-up to this messagemike wrote:
> steve wrote:
>
> Changed the permissions to 777 but it still isn't running.
ini_set("display_errors", 1) and it spits out 2 pages of errors. yee
haw, at least I can figure out whats wrong.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.