Re: PHP code dissapeared / No output?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gordon,

Hope you are well ...

It's just a hunch from having been bitten by empty responses in Apache/PHP scripts before ... In my experience, any whitespace outside of PHP code is treated as the beginning of HTML output and so it will interrupt execution of PHP further down ...

I may be reading incorrectly but could there be a  space character before the include_once()? (Or perhaps diffing against the most recent working copy for any whitespace changes will reveal something ...)

Hope you find a solution soon 🙏 
Patty

On Fri, May 16, 2025 at 8:51 AM <gordonisnz@xxxxxxxxx> wrote:
headers are Ok.

HTTP/1.1 200 OK
Date Fri, 16 May 2025 15:30:39 GMT
Content-Type text/html; charset=UTF-8
Content-Length 27
Connection keep-alive
Server Apache
X-Powered-By PHP/7.4.10

as i do see this on my screen:-  GOT HERE 1 - GB_scan<br />
(thats from the 1st script - immediately before calling 2nd script...)

2nd script WAS working, as i saw results - its only since yesterday
that its bank.
- NO results on-screen (I should have 30-50KB in output)
- No errors recorded in my logs (normal output logs, and error logs -
output logs should be 50-100KB)
- not even any logs created (1 byte)

Ive checked the server logs & do see errors in another script - from 5
days ago (already fixed)
Nothing after 12th May - or regarding the script im working on.


On Sat, 17 May 2025 at 03:25, David Colter <dcolter@xxxxxx> wrote:
>
> Gordon,
>
> > On May 16, 2025, at 10:46 AM, gordonisnz@xxxxxxxxx wrote:
> >
> > Everthings working fine, but the all of a sudden - my new function
> > will not work (no output to screen, No log files saved - just blnk -
> > NO HTML output at all..
>
> Looking at the browser debugger, what is the status of the page?
>
> Are there errors in the log?
>
> I am wondering if there is a server error.
>
> David
>


--

Gordon.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux