Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
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?

Report this thread to moderator Post Follow-up to this message
Old Post
mike
07-30-04 01:55 AM


Re: script failing silently
"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

Report this thread to moderator Post Follow-up to this message
Old Post
steve
07-30-04 01:55 AM


Re: script failing silently
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?
>

Report this thread to moderator Post Follow-up to this message
Old Post
mike
07-31-04 01:55 AM


Re: Re: script failing silently
"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

Report this thread to moderator Post Follow-up to this message
Old Post
steve
07-31-04 01:55 AM


Re: Re: script failing silently
"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

Report this thread to moderator Post Follow-up to this message
Old Post
steve
07-31-04 01:55 AM


Re: Re: script failing silently
"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

Report this thread to moderator Post Follow-up to this message
Old Post
steve
07-31-04 01:55 AM


Re: script failing silently
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.

Report this thread to moderator Post Follow-up to this message
Old Post
mike
07-31-04 01:55 AM


Re: script failing silently
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.

Report this thread to moderator Post Follow-up to this message
Old Post
mike
07-31-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:32 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.