se7enet purgatorio

Page 1 of 2 12>
Topic Options
Rate This Topic
#16899 - 03/19/08 07:59 AM [error] white screen...
daisuke
Malt-o-Meal


Registered: 03/19/08
Posts: 8

Offline
well, I`m not good at speaking in english, so I will try my best..

I have installed the game and all the stuff, but I got a problem at the moment I want to log in... when I deleted the "install.php" thing... and press the "got to play" link... it only appears a white screen... but nothing inside for the login... soo.. wth?

Ah! almost forgot... before that... it appears the cookie error Nº3... I only erased the "secret word" from the "configure.php" file and done... but now this...

can anyone helpme? pleeeeease ;O;!

Top
#16900 - 03/19/08 10:02 AM Re: [error] white screen... [Re: daisuke]
qurgh
Malt-o-Meal


Registered: 03/17/08
Posts: 21

Offline
You have a bug of some sort. How well can you use PHP?

You will need to know at least basic PHP just to run DK most of the time.

If you know PHP, tail your apache/PHP error log and find the error, then you can debug it.

Top
#16902 - 03/19/08 10:19 AM Re: [error] white screen... [Re: qurgh]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
It's the infamous cookie bug. Did you installed a clean fresh copy from the original dragon knight script? Or did you install a unofficial modded copy?
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#16903 - 03/19/08 02:02 PM Re: [error] white screen... [Re: Fayt]
daisuke
Malt-o-Meal


Registered: 03/19/08
Posts: 8

Offline
unnoficial modded copy

the "DADE"s copy to be specific

and... no, I`m not too familiar with PHP, I`m new in this.. soo... I ask for help to learn as well xD

Top
#16904 - 03/19/08 02:50 PM Re: [error] white screen... [Re: daisuke]
qurgh
Malt-o-Meal


Registered: 03/17/08
Posts: 21

Offline
ダイスケさんは日本人ですか?

Ok, well you will need to find the bug. The easiest way to do this is to access the page and then tail the log file (on redhat based systems this tends to be /var/log/httpd/error_log). The log will have a PHP error in it that points to a file. If you post that error message, I'll probably be able to help you.

I assumed your running this on a server you have root on, if your not I wouldn't know how to help you without first seeing your setup.

As for cookies, I've found that if you install a copy of DK, login, delete DK, install new DK and try to access it you'll get cookie errors. Just clear your cookie cache and it'll work. (This will logout you out of sites like facebook, gmail, etc as well).

Top
#16906 - 03/19/08 05:38 PM Re: [error] white screen... [Re: qurgh]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Put a secret word back in.

A summary of above and my own input:

Make sure you dont have TWO copies of the game on the same server with the same cookie name. And delete all of your cookies.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#16907 - 03/19/08 06:28 PM Re: [error] white screen... [Re: AnmanIndustries]
daisuke
Malt-o-Meal


Registered: 03/19/08
Posts: 8

Offline
ahmm... well... how can I know where to view the error? xD!

sorry, I`m a noob, can you explain that step by step please?
when I get to that error page... I can post the code with the error... or solve it myself xD!

Top
#16908 - 03/19/08 07:04 PM Re: [error] white screen... [Re: daisuke]
qurgh
Malt-o-Meal


Registered: 03/17/08
Posts: 21

Offline
If you don't know PHP, and you don't know how to manage log files and your don't know mysql I would suggest one of the following:

a) Get a book on Linux server admin and a book on PHP, read them and then you'll be able to fix the problem.

b) Find a person who speaks your language and knows Linux and PHP, hopefully a friend, and ask them to help you out.

Unfortunately, as I said before, if you don't know PHP you will not be able to use DK successfully. \:\(

To explain it step by step, including all the most probably outcomes, would take hours of my time, and you would most likely not understand it anyway.

What is your native language BTW?

Top
#16910 - 03/19/08 08:36 PM Re: [error] white screen... [Re: qurgh]
Jamin Administrator
Cookie Crisp
****

Registered: 02/25/05
Posts: 2649
Loc: Texas

Offline
See my reply to the other whitescreen error. Try that, and see if you can get some sort of error output.

---Jamin
_________________________
Diablo 3 Lead Designer Jay Wilson:
“The development of a Blizzard game is sometimes a long affair. This is how long it took us to be ready.”

Top
#16911 - 03/19/08 09:04 PM Re: [error] white screen... [Re: Jamin]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Don't use modded copies. Download and install the original dragon knight version released from Jamin and you won't have problems.

The modded versions were uploaded by beginners.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#16913 - 03/20/08 09:19 AM Re: [error] white screen... [Re: daisuke]
daisuke
Malt-o-Meal


Registered: 03/19/08
Posts: 8

Offline
Great! now I have some errors...

there were more, but I solved it...

 Quote:
Warning: ini_set() has been disabled for security reasons in /usr/export/www/hosting/daisukeisland/prueva/index.php on line 2

Warning: ini_set() has been disabled for security reasons in /usr/export/www/hosting/daisukeisland/prueva/index.php on line 3

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'username'@'192.168.101.3' (using password: YES) in /usr/export/www/hosting/daisukeisland/prueva/lib.php on line 10
Access denied for user 'username'@'192.168.101.3' (using password: YES)


Dammnn!!

I solve the problem, it was my config.php file who wasn`t configured yet, but now is again the white screen...

it seems is an error that cant be put in screen... an internal error maybe? I dunno...

is there a way to print the error in the screen again? or some metod to put them in some archive? error_log I must asume it`s called...


Edited by daisuke (03/20/08 09:28 AM)

Top
#16914 - 03/20/08 10:25 AM Re: [error] white screen... [Re: daisuke]
qurgh
Malt-o-Meal


Registered: 03/17/08
Posts: 21

Offline
What's on lines 2 and 3 of your index.php?

And your database isn't setup correctly. You need to make sure you have setup the config to use your mysql account. You also have to create an empty database that your mysql account has full control over.

Top
#16956 - 03/23/08 05:22 PM Re: [error] white screen... [Re: daisuke]
daisuke
Malt-o-Meal


Registered: 03/19/08
Posts: 8

Offline
OH!! God has see my sufering and come into my rescue!!

I finally understand my error, and it was in the MySql database, it was the permission... a friend tell me to change of hosting and I do it to prove that it was that the problem... and it was...

now I can see errors and stuff in the top of the screen

this are the errors I got

 Quote:
Notice: Undefined index: dk_login in /www/free-web-hosting.biz/d/a/i/daisukeisland/htdocs/dk_files/login.php on line 24


Notice: Undefined index: 1 in /www/free-web-hosting.biz/d/a/i/daisukeisland/htdocs/dk_files/templates/primary.php on line 224

Notice: Undefined variable: mailimage in /www/free-web-hosting.biz/d/a/i/daisukeisland/htdocs/dk_files/lib.php on line 466


How can I solve it? I think I cant understand the meaning of the errors hehe...

Ah! by the way... my real language is Spanish, because I`m from Chile hehehe...

Top
#16957 - 03/23/08 07:25 PM Re: [error] white screen... [Re: daisuke]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Those are easy errors to figure out. Just to help the newbies that will come with the same question. Copy and paste each of those lines from those files in here so we can discuss them for all to read.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#16958 - 03/23/08 07:27 PM Re: [error] white screen... [Re: daisuke]
Nab
Malt-o-Meal


Registered: 03/18/08
Posts: 10

Offline
I believe it's a syntax error.
Do you... have like a "/" (not \) at the end of one of your links?
Or do you have any quotes not after a \?
Example <div style=\"blah\">.

That's all I can think of.
_________________________
http://www.dragonslash.co.nr/
Dragon Slash RPG.
(My Dragon Scourge Server)
--------------------------
Master of puppets I'm pulling your strings
Twisting your mind and smashing your dreams
Blinded by me, you can't see a thing
Just call my name, 'cause I'll hear you scream
Master
Master

Top
Page 1 of 2 12>


Hop to:

se7enet

Barack Obama Logo