se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#4478 - 08/09/04 03:22 PM Installing Problem
Diamok
Malt-o-Meal


Registered: 08/09/04
Posts: 5

Offline
First let me say nice work on the game, it looks real good and I'm hoping to be able to host.

Now here's my problem. Smiler

After uploading all files with directory structure intact, I pointed my browsers (yes plural as I run IE and Opera) to the url for install.php. Of course I didn't use both browsers at the same time, but I used both in tests.

Anyway, I was first getting an error something to the effect of cannot access due to username or password or something. Well, even though the install instructions did not say to cdmod the files, I decided what the heck and made them all 666.

After I did that I was able to get page 1 of the install showing on both my browsers, but! Everytime I click either "complete" or "partial" install, I see the access to the site, the browser screen flickers as if it were going to load a new page, but I remain at page 1 of the install.

Odd? I don't know...but I'm looking for some kind of clue, hint, help or something here. Smiler

Take care,

Top
#4479 - 08/09/04 05:52 PM Re: Installing Problem
Trickster
Malt-o-Meal


Registered: 08/09/04
Posts: 4

Offline
Well i just installed mine today you have to adjust config.php to your mySQl server if you dont have a mySQl server you need to set one up.
Top
#4480 - 08/09/04 06:06 PM Re: Installing Problem
Jamin Administrator
Cookie Crisp
****

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

Offline
CHMODing the files is not necessary. The fact that they're now 666 may be preventing it from running correctly, normally script files should be 755 in order to execute.

If you were getting a username/password error from the installer, something in your config.php file isn't right. Check that file and make sure the database settings are accurate, it should fix your problem.

---Jamin

Top
#4481 - 08/09/04 08:47 PM Re: Installing Problem
Diamok
Malt-o-Meal


Registered: 08/09/04
Posts: 5

Offline
Ok suppose I should have stated I've delt with databases in the past and know enough to use the proper settings in a config file.

So I would have to say this is not the problem, though I was thinking and does your game require a fresh/new database, or can it be one that is already being used for say a forum?

I have access to one database via my host and it is currently being used for a forum, phpBB in fact, but it has plenty of room in it and could be used for a couple other scripts. Could this be the problem? Do I need an empty databse, or could it work with one in use?

Take care,

Top
#4482 - 08/10/04 09:45 AM Re: Installing Problem
Jamin Administrator
Cookie Crisp
****

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

Offline
My mistake, I didn't mean to insult your intelligence. A lot of people I've dealt with would get tripped up by config files. So, I'm sorry about that. Smiler

It can share a database, that's no problem, as long as the table names are unique. That's what the prefix is for.

I'll look at my installer program tonight when I get home, and see if it's doing anything weird that I haven't noticed (since I probably haven't looked at it since I wrote it).

---Jamin

Top
#4483 - 08/10/04 10:37 AM Re: Installing Problem
Diamok
Malt-o-Meal


Registered: 08/09/04
Posts: 5

Offline
Ok I figured as much about the database and I wasn't insulted by your reply Jamin. Smiler

I've deleted the game off the server and started a new. I've used a simple path structure...well basically I uploaded in the exact same structure as it came in the zip file...mean my path is /dk133a/ and then all the other directories.

But a las, I am getting the exact same thing happening, I click on "complete" it loads for a second but when it is finished loading it is still sitting at the same page, page 1. Although the url reads http:REMOVED MY URL/dk113a/install.php?page=2 so it seems to be wanting to read the next page, or something :|

Anyway, I'll try a few more things or if you have any other suggestions I'll try them, if nothing seems to work, maybe my host is just stupid or something. Smiler

Take care,

Top
#4484 - 08/10/04 11:00 AM Re: Installing Problem
Jamin Administrator
Cookie Crisp
****

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

Offline
I downloaded it and installed it on the localhost server that I'm working on right now, and it worked fine.

I'm tempted to say that your server's PHP version may be too old... the game uses the superglobal variables $_GET and $_POST, which weren't around until v4.1.0. It uses these in the installer, too, and if the URL is actually saying ?page=2, for some reason the script isn't able to read it correctly, which leads me to believe maybe you don't have $_GET yet...

If you have a version prior to 4.1, pretty much the only way to get it to work would be to find every single instance of $_GET and $_POST in every file, and replace them with $HTTP_GET_VARS and $HTTP_POST_VARS, respectively, and add global $HTTP_GET_VARS, $HTTP_GET_VARS; to the top of every file/function...

---Jamin

Top
#4485 - 08/10/04 11:36 AM Re: Installing Problem
Diamok
Malt-o-Meal


Registered: 08/09/04
Posts: 5

Offline
Hmm well, that could be it then...I just checked with my host and according to their FAQ, they only have version 4, no higher.

Guess I'll have to contact them and press for the latest version of php.

Thanks for your quick replies and help Jamin, if I hear anything from my host and can get it installed, I'll give you a heads up.

Take care,

Top
#4486 - 08/10/04 02:17 PM Re: Installing Problem
Jamin Administrator
Cookie Crisp
****

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

Offline
Make a new text file called env.php, and put <? phpinfo(); ?> in it. Upload to your server and run it in your browser, and it'll tell you what version you have.

---Jamin

Top
#4487 - 08/10/04 09:59 PM Re: Installing Problem
Diamok
Malt-o-Meal


Registered: 08/09/04
Posts: 5

Offline
Heh cool, thanks.

Ahh, hmm, yes, here we go. Smiler

4.0.6...DAMN! That's from back in Feb 2002! I really need to get on them to update already.

Take care,

Top
#4488 - 08/11/04 08:23 AM Re: Installing Problem
Jamin Administrator
Cookie Crisp
****

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

Offline
Good lord, that's terrible. Alright, children, everyone repeat after me: "SECURITY HAZARD!"

---Jamin

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo