![]() |
PHP Question...
why the hell, is it when I have an error in the coding and I upload it and go to the page, it shows up completely BLANK/WHITE and says nothing... If I go to view source, it shows some html tags and that is it...
Awhile back, it used to say what type of error, and on what line it is on... but now, if I forget a semi colon for example, it doesn't say anything, its just completely blank.. is there a code to turn the error display back on or some shit? thx |
Try putting this at the top of your script(s)
PHP Code:
PHP Code:
|
Quote:
|
Is the code you are running php only or is it html + php, are you parsing .php extension, or something else like .html for php?
|
If you take out the @ before ini_set does it return an error? : )
Do you have access to the php.ini file? |
Quote:
its the standard .php extension. |
Quote:
|
I had some problems like this one time and it was because in my echo I had used "" instead of ' '.
|
Quote:
PHP Code:
|
You may want to turn on error notices while debugging this, also does the HTML come up or is it completely blank?
|
Quote:
Good luck. Cheers, Matt |
Try running the browser WITHOUT Call of Duty going in a background window. :Graucho
|
Quote:
display_startup_errors are both set to off error_reporting are both set to "81" html_errors On On ignore_repeated_errors Off Off |
Quote:
and only the very initial HTML coding is displayed... |
Quote:
Trying contacting your host and ask them about it. The error_reporting on my server is set to '2047'.... not sure if that will help you at all :) |
Quote:
|
Quote:
|
Make it:
html php html See if the php is returning any results and if the second chunk of html is being displayed, also make sure that you have ErrorLog enabled for the domain in your httpd.conf and tail -f the errorlog to see if apache is having issues parsing something or if its a more critical error than just a php coding issue. |
| All times are GMT -7. The time now is 08:26 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123