|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
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 |
|
|
|
|
|
#2 |
|
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
Try putting this at the top of your script(s)
PHP Code:
PHP Code:
|
|
|
|
|
|
#3 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
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?
|
|
|
|
|
|
#5 |
|
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
If you take out the @ before ini_set does it return an error? : )
Do you have access to the php.ini file? |
|
|
|
|
|
#6 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
its the standard .php extension. |
|
|
|
|
|
|
#7 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Jan 2004
Location: Winnipeg, Canada - *cough* check sig *cough*
Posts: 1,258
|
I had some problems like this one time and it was because in my echo I had used "" instead of ' '.
|
|
|
|
|
|
#9 | |
|
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
Quote:
PHP Code:
|
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
You may want to turn on error notices while debugging this, also does the HTML come up or is it completely blank?
|
|
|
|
|
|
#11 | |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Quote:
Good luck. Cheers, Matt
__________________
What name is pr0 / Untouched Markets using these days? Untouched Markets - pr0 - Refund My Money Now Someone owes me $2,000 because they didn't do any work that was paid for *pointing at pr0 / William / UntouchedMarkets* See https://gfy.com/fucking-around-and-business-discussion/948258-untouchedmarkets-pr0-refund-money-post16744521.html and for more detailed see https://gfy.com/fucking-around-and-business-discussion/948645-re-recent-bullshit-drama-explained-detail-pr0-untouched-markets.html |
|
|
|
|
|
|
#12 |
|
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
Try running the browser WITHOUT Call of Duty going in a background window.
![]() |
|
|
|
|
|
#13 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
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 |
|
|
|
|
|
|
#14 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
and only the very initial HTML coding is displayed... |
|
|
|
|
|
|
#15 | |
|
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
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 |
|
|
|
|
|
|
#16 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
|
|
|
|
|
|
|
#17 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
|
|
|
|
|
|
|
#18 |
|
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
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. |
|
|
|