The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#1 2014-01-31 20:24:19

kaos00723
Member
Registered: 2014-01-31
Posts: 1

Server doesn't work with PHP 5.4.4?

I was able to get the ticket server setup pretty easily but the game server "server.php" doesn't seem to work at all with PHP v5.4.4.

The first error I got was:

"fatal error call-time pass-by-reference has been removed in..."

I took out the "&" in front of the "$" in all instances of that and got rid of that error.

Next error was:

"noticeAndWarningHandler on line 30" or something like that.

I commented that out.

The next error is another fatal error that the database tables are not being installed.

"Fatal error: Database query failed:" with hundreds of lines saying "Table doesn't exist"

I definitely have the settings file filled out correctly for my database.

This is a problem with the game server.php since the ticket server works fine in PHP 5.4.

What can I do to get this to work?

Offline

#2 2014-02-03 22:14:54

jesterfraud
Member
Registered: 2014-02-03
Posts: 2

Re: Server doesn't work with PHP 5.4.4?

In case you haven't solved this, server.php doesn't auto-redirect to the web setup interface like the ticket server does. I solved it by visiting /server/server.php?action=cd_setup

Offline

Board footer

Powered by FluxBB 1.5.8