Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10740

Re: Trouble-shooting a script that doesn't retuen HTML

Message-ID <3409615.b190MJLEEH@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-09-09 14:19 +0200
Subject Re: Trouble-shooting a script that doesn't retuen HTML
Newsgroups comp.lang.php
References <b95pc4Ffk4U1@mid.individual.net>

Show all headers | View raw


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).

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Trouble-shooting a script that doesn't retuen HTML Derek Turner <frderek@cesmail.net> - 2013-09-09 11:22 +0000
  Re: Trouble-shooting a script that doesn't retuen HTML Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-09 07:43 -0400
  Re: Trouble-shooting a script that doesn't retuen HTML Tim Streater <timstreater@greenbee.net> - 2013-09-09 12:54 +0100
  Re: Trouble-shooting a script that doesn't retuen HTML Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-09 14:19 +0200

csiph-web