FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Trouble-shooting a script that doesn't retuen HTML
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Trouble-shooting a script that doesn't retuen HTML [message #182779 is a reply to message #182775] Mon, 09 September 2013 12:19 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Derek Turner wrote:

> I have a script that has just 'stopped working', nothing has been changed
> in the script at all.
>
> The script queries a database and outputs (or should do) an excel
> spreadsheet. I was working fine a fortnight ago before I went on holiday.
> Now I just get a blank browser page and no spreadsheet when I call it.
>
> Before I tackle the hosting company, is there an obvious way of getting
> all and every error and warnings output?

Yes.

<http://lmgtfy.com/?q=PHP+errors>
<http://catb.org/~esr/faqs/smart-questions.html>

> Sorry if this is a bit of a n00b question but I've always had error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
See above.

> messages when something was wrong: never this silence :)

It may be that your hoster has made the wise decision in the meantime not to
display PHP error messages and warnings by default as that is considered a
security risk. If the culprit is not the client-side, those messages should
have been written to the server log instead. With good hosters you get
access to the server logs for your site, either through special agreement or
(more common) Web interface (Plesk et al.)


PointedEars
--
When all you know is jQuery, every problem looks $(olvable).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: cron job and headers sent error
Next Topic: Confirm PG-related segfault in current PHP version
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 05:50:35 GMT 2024

Total time taken to generate the page: 0.04624 seconds