Home > Archive > PHP Language > July 2004 > script failing silently
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
script failing silently
|
|
|
| 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?
| |
|
| "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-...pict134777.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=450045
| |
|
| 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:
> "mike292" wrote:
> this
> the
> phpinfo().
>
> Does it work on your development machine?
>
| |
|
| "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[color=darkred]
> 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-...pict134777.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=451275
| |
|
| "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[color=darkred]
> 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-...pict134777.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=451275
| |
|
| "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[color=darkred]
> 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-...pict134777.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=451275
| |
|
| steve 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.
| |
|
| mike 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.
|
|
|
|
|