DragonPrime - LoGD Resource Community

Game Administration, Installation and Configuration => Installation and Configuration Assistance => Topic started by: Fanster on March 16, 2019, 06:10:06 PM



Title: White screen on login
Post by: Fanster on March 16, 2019, 06:10:06 PM
Hey guys,

I did some search in the forums and couldn't seem to find this specific situation. When users login, they end up on a white screen, no info on there and nothing else showing up.

Here are some things I've noticed:
The URL shows them landing on badnav.php.
Game is updated and set to work with newer PHP versions.
Game version is 1.1.2.
Fresh install, not upgrade.
Registering and playing immediately afterwards works fine. When logging back in after being out, the white screen appears.
Uninstalling all modules didn't help.

Viewing the source code, it only generates this:

Code:

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
 <title>Isle of Wen,

Have been looking at the PHP for 4 days now. It happened very suddenly.

If there's a thread out there about it, please accept my apologies and will gladly take a look at it.

Thanks in advance!


Title: Re: White screen on login
Post by: Astarael|Jack on March 19, 2019, 04:58:55 PM
Hi!

It's been a long time since I've touched any of the code, but it sounds like your PHP is erroring out somewhere - have you made any modifications to anything (translations, modules etc?)

I suggest finding your PHP Error file, it may give more insight as to what is going wrong - I'm not sure of your setup, so may pay to google something like "PHP Error file Ubuntu" or whatever. If it's on a host that uses cPanel or the like, there is generally a log stored somewhere.

I seem to remember the White Screen being pretty common yonks ago, so may pay to keep searching on the forums for potential solutions. When you have your error, try searching that up too, someone else may be in the same boat.


Title: Re: White screen on login
Post by: MarcTheSlayer on April 18, 2019, 07:17:51 PM
A month late, but yes, a white error screen means that there's a PHP error somewhere, and if you can find your apache error log file then it'll name the file responsible. :-)


Title: Re: White screen on login
Post by: TGTarheel on April 18, 2019, 07:44:25 PM
A month late, but yes, a white error screen means that there's a PHP error somewhere, and if you can find your apache error log file then it'll name the file responsible. :-)

Yep.  And usually, somewhere in the same area of the C-Panel...you can choose to have the error display directly on the white screen, instead of just a white screen.

By the way, as an aside, Central gets whitescreens all the time.


Title: Re: White screen on login
Post by: MarcTheSlayer on April 19, 2019, 12:14:15 PM
I was thinking that as I typed the message. "If only you could output the error on the white screen page, that would save a whole lot of time.". :-)

I don't think Central has been updated in a number of years. The php stuff depreciated has now probably been removed.

© 2019 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines