07-05-2006, 11:28 PM | #1 |
Ambitious Member
|
No output.
What would cause a php script not to output? I was working on some code, and it was giving throwing logic errors in my face. Turned out, that I was uploading from the wrong directory. I was uploading old scripts with old include paths, so things just wernt happening.
But now, I got the right files uploaded, and they won't output anything. I mean nothing. I commented out everything but the top line, which I put a echo statement on, and it won't output. Although it seems pointless, I will post the page code here:
PHP Code:
This is exrtemly annoying. Got any ideas?
__________________
// MustyWindows - Break Through The Windows! // AmpFusion <- Coming Soon // CrystalHosting.net |
07-06-2006, 12:35 AM | #2 |
Zealous Member
Join Date: Dec 2005
Location: Canberra, Australia
Posts: 103
|
Sure apache config hasn't changed? if the AddType declaration for .php file extensions doesn't exist, or someones made a change that stops .php files from being processed you'd end up with what you are describing... or php binary has moved?
__________________
MySource Matrix - Open Source CMS http://matrix.squiz.net |
07-06-2006, 01:05 AM | #3 | |
Ambitious Member
|
Quote:
I ran another php script with just one echo in it, and it ran fine.
__________________
// MustyWindows - Break Through The Windows! // AmpFusion <- Coming Soon // CrystalHosting.net |
|
07-06-2006, 01:20 AM | #4 |
Zealous Member
Join Date: Dec 2005
Location: Canberra, Australia
Posts: 103
|
weird - no idea... maybe your host has some script caching enabled?
__________________
MySource Matrix - Open Source CMS http://matrix.squiz.net |
07-06-2006, 11:32 AM | #5 |
Ambitious Member
|
Well, I reverted to the old versions of the scripts, and did my best to edit it back to where I had it. I still have a bit of work to do, but it outputs. Just gotta get rid of a few errors, and add a littel functionality.
__________________
// MustyWindows - Break Through The Windows! // AmpFusion <- Coming Soon // CrystalHosting.net |
07-06-2006, 02:30 PM | #6 |
Ambitious Member
Join Date: Jun 2006
Location: Sydney, Australia
Posts: 26
|
To my experience, blank pages usually mean there's been a Fatal Error.
HTH
__________________
R. Villar David Web Developer http://rvdavid.blogspot.com/ |
07-06-2006, 10:00 PM | #7 |
Zealous Member
Join Date: Dec 2005
Location: Canberra, Australia
Posts: 103
|
mmmm.... set:
PHP Code:
at the top of the script. Maybe your host has custom set error levels in php.ini
__________________
MySource Matrix - Open Source CMS http://matrix.squiz.net |
07-07-2006, 01:27 AM | #8 | |
Ambitious Member
|
Quote:
As I said, it is working now. But I did have that set in my script config file already.
__________________
// MustyWindows - Break Through The Windows! // AmpFusion <- Coming Soon // CrystalHosting.net |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|