I'm just setting up Multicraft for the first time.
When I click server on the site I get "Error 500
Failed to connect to the control panel database.
The error message is: CDbConnection failed to open the DB connection: could not find driver"
I have MySQL installed and everything seems to be running fine. I also can't log in using the admin login, but I'm guess this is because MySQL isn't working yet.
This indicates that you are missing the PHP PDO extension. There is a package for that on most distributions, under Debian this would be "apt-get install php5-sqlite" and if you're using MySQL "apt-get install php5-mysql", followed by a restart of the webserver.
Please also check the troubleshooting entry for this (as well as the requirements check at the top): http://multicraft.org/site/page?view=troubleshooting
This indicates that you are missing the PHP PDO extension. There is a package for that on most distributions, under Debian this would be "apt-get install php5-sqlite" and if you're using MySQL "apt-get install php5-mysql", followed by a restart of the webserver.
Please also check the troubleshooting entry for this (as well as the requirements check at the top): http://multicraft.org/site/page?view=troubleshooting
I have already tried all of this to no avail. I'm probably missing something very simple.
There are two different databases, one for the front end and one for all the daemons. If you didn't explicitly switch the front end database to MySQL as well it will still use SQLite. You can either install "php5-sqlite" or switch the panel database to MySQL as well (in the main.php).
How this is done can also be seen in the troubleshooting entry.
In case you've not yet done that, the two different schema files you need to import are:
For the daemon database (daemon.php and multicraft.conf):
"multicraft/data/schema.mysql.sql"
For the panel database (main.php):
"multicraft/panel/protected/data/schema.mysql.sql"
There are two different databases, one for the front end and one for all the daemons. If you didn't explicitly switch the front end database to MySQL as well it will still use SQLite. You can either install "php5-sqlite" or switch the panel database to MySQL as well (in the main.php).
How this is done can also be seen in the troubleshooting entry.
In case you've not yet done that, the two different schema files you need to import are:
For the daemon database (daemon.php and multicraft.conf):
"multicraft/data/schema.mysql.sql"
For the panel database (main.php):
"multicraft/panel/protected/data/schema.mysql.sql"
I have the SQLite are of daemon.php commented out. Is that right?
I also can't seem to find the part of main.php that I have to change.
EDIT: I found the spot to uncomment. Now it's telling me that multicraft_panel doesn't exist. I can make it, but that was never covered in the installation guide.
It's not in the installation guide but it's covered in the troubleshooting as normally you don't need to do that.
You can create this DB and use the schema files indicated in post #102 . The DB update will fail if the schema is not loaded.
It's not in the installation guide but it's covered in the troubleshooting as normally you don't need to do that.
You can create this DB and use the schema files indicated in post #102 . The DB update will fail if the schema is not loaded.
Thanks for all the help. Everything is working with Multicraft. Now I just have to get my ports forwarded correctly.
Did you rent a server or do you own Multicraft yourself? I'm working with a server provider to look into an issue they are having with their scheduled commands.
The commands you define are for ingame chat, i.e. a player has to say "asay" or "/asay" for the admin chat. To say something from the console you can use the Minecraft command "say" or use the Multicraft chat instead.
@swordxh: Ok, I'm in contact with Ryan about that. In order for asay to work your player needs to have the correct role. Please check under "Manage Players" if you have at leas "Mod" privileges.
@xSaracen: Under Windows it's a matter of doubleclicking "start.bat" and under Linux there is a setup script "setup.sh" that guides you through the process. If you tell me what problems you had during the installation I'll gladly help you.
@swordxh: Ok, I'm in contact with Ryan about that. In order for asay to work your player needs to have the correct role. Please check under "Manage Players" if you have at leas "Mod" privileges.
@xSaracen: Under Windows it's a matter of doubleclicking "start.bat" and under Linux there is a setup script "setup.sh" that guides you through the process. If you tell me what problems you had during the installation I'll gladly help you.
this is what i was told to do
Download the Windows release zip file
Extract the contents of the archive to your user directory (For Windows 7 this is: c:\Users\YOURUSER)
Rename "multicraft.conf.dist" to "multicraft.conf"
If you have purchased a license you can create a file called "multicraft.key" and put the key in there
Make sure you have the "Microsoft Visual C++ 2008 Redistributable Package" installed. (32bit version or 64bit version)
Start "multicraft.exe" in "multicraft\bin". If the window closes immediately you'll have to run the program from command line to see the error message or have a look at the "multicraft.log" file
Edit the file "panel\config\daemon.php" and change the 'database' setting to
'database' => 'sqlite:c:\Users\YOURUSER\multicraft\data\data.db',
Copy the contents of "panel\" to the web root of your webserver
Follow the Next steps: of the Linux procedure above
I don't think you did it wrong. It's a known issue for some systems and we've delivered a workaround to Invasion servers so it should be fixed as soon as they've implemented that.
The Meaning of Life, the Universe, and Everything.
Join Date:
2/19/2011
Posts:
52
Member Details
Hi I am having major issues installing this on my windows 2008 r2 server, I am using a linux webhost for the panel and that windows server for the daemon, also using mysql for both and the mysql is on the windows server.
I can host the panel on the windows server using plesk but i had issues getting it to work, yii was buggy as hell there...
I tried to purchase windows install service but that link you have does not work.
I don't want to use the all in one because 1. I have plesk for php/ftp/mysql & IIS7 for web server.
When I click server on the site I get "Error 500
Failed to connect to the control panel database.
The error message is: CDbConnection failed to open the DB connection: could not find driver"
I have MySQL installed and everything seems to be running fine. I also can't log in using the admin login, but I'm guess this is because MySQL isn't working yet.
This indicates that you are missing the PHP PDO extension. There is a package for that on most distributions, under Debian this would be "apt-get install php5-sqlite" and if you're using MySQL "apt-get install php5-mysql", followed by a restart of the webserver.
Please also check the troubleshooting entry for this (as well as the requirements check at the top):
http://multicraft.org/site/page?view=troubleshooting
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
I have already tried all of this to no avail. I'm probably missing something very simple.
Any other ideas?
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
http://dl.dropbox.com/u/3597033/results.png
How this is done can also be seen in the troubleshooting entry.
In case you've not yet done that, the two different schema files you need to import are:
For the daemon database (daemon.php and multicraft.conf):
"multicraft/data/schema.mysql.sql"
For the panel database (main.php):
"multicraft/panel/protected/data/schema.mysql.sql"
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
I have the SQLite are of daemon.php commented out. Is that right?
I also can't seem to find the part of main.php that I have to change.
EDIT: I found the spot to uncomment. Now it's telling me that multicraft_panel doesn't exist. I can make it, but that was never covered in the installation guide.
You can uncomment line 78 to 87 in main.php and configure the settings in between to get the panel to use MySQL as well.
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
Not sure if you caught my edit, please read above. Also, it's now telling me that it's failed to update the database.
EDIT: Never mind. Got it working. Thanks lots, zpin.
You can create this DB and use the schema files indicated in post #102 . The DB update will fail if the schema is not loaded.
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
Thanks for all the help. Everything is working with Multicraft. Now I just have to get my ports forwarded correctly.
Did you rent a server or do you own Multicraft yourself? I'm working with a server provider to look into an issue they are having with their scheduled commands.
The commands you define are for ingame chat, i.e. a player has to say "asay" or "/asay" for the admin chat. To say something from the console you can use the Minecraft command "say" or use the Multicraft chat instead.
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
@xSaracen: Under Windows it's a matter of doubleclicking "start.bat" and under Linux there is a setup script "setup.sh" that guides you through the process. If you tell me what problems you had during the installation I'll gladly help you.
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
this is what i was told to do
Download the Windows release zip file
Extract the contents of the archive to your user directory (For Windows 7 this is: c:\Users\YOURUSER)
Rename "multicraft.conf.dist" to "multicraft.conf"
If you have purchased a license you can create a file called "multicraft.key" and put the key in there
Make sure you have the "Microsoft Visual C++ 2008 Redistributable Package" installed. (32bit version or 64bit version)
Start "multicraft.exe" in "multicraft\bin". If the window closes immediately you'll have to run the program from command line to see the error message or have a look at the "multicraft.log" file
Edit the file "panel\config\daemon.php" and change the 'database' setting to
'database' => 'sqlite:c:\Users\YOURUSER\multicraft\data\data.db',
Copy the contents of "panel\" to the web root of your webserver
Follow the Next steps: of the Linux procedure above
This procedure is for people who want to use a third party webserver or want to customize their installation.
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
I am using global7 to hos my server which one do i use?
/edit: Thanks Mayley.
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
http://www.multicraft.org
Multicraft on Facebook, Twitter and YouTube
I can host the panel on the windows server using plesk but i had issues getting it to work, yii was buggy as hell there...
I tried to purchase windows install service but that link you have does not work.
I don't want to use the all in one because 1. I have plesk for php/ftp/mysql & IIS7 for web server.