[FIXED]expansion et dedicated manager

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

Post Reply
User avatar
gsxroil
Posts: 62
Joined: 21 May 2011, 19:43

[FIXED]expansion et dedicated manager

Post by gsxroil »

Bonjour,

je voudrais demarrer expansion par l'interface web dedicated manager mais ca ne fonctionne pas bien

Dans dedicated manager quand je configure le config.ini de expansion je selectionne le plugin eXpansion\Autoload
mais il ecrit

Code: Select all

manialive.plugins[] = 'eXpansion\AutoLoad'
pour ce que attend axpansion

Code: Select all

manialive.plugins[] = 'ManiaLivePlugins\eXpansion\AutoLoad\AutoLoad'
donc ca ne demarre pas


Si je precise le bon code j'ai une erruer sql

Code: Select all

There seems be a problem while establishing a MySQL connection.

Advanced details
File: Connection.php
Line: 54
Message: There is no connection class for the database type "MySQLI" yet!
Il y a t'il un probleme de configuration de ma part ? ou une incompatibilité de expansion avec Dedicated manager ?
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: expansion et dedicated manager

Post by oliverde8 »

Bonjour,

Effectivement, eXpansion ce base sur la derniere version de Manialive qui n'a pas ete publier et pour le quel le dedicated manager ne fonctionne pas correctement.

Je suis pas sur d'avoir compris, l'erreur vient du Dedicated manager ou de eXpansion? Si c'est eXpansion ça veut dire que tu utilise pas la bonne version de Manialive.

Version Nadeo : https://github.com/maniaplanet/manialiv ... e/Database
Version a Nous : https://github.com/eXpansionPluginPack/ ... e/Database

Si ça provient du Dedicated manager tu peux changer la configuration dans eXpansion pour utiliser l'ancienne version. Tu change la ligne

Code: Select all

;database.type = 'MySQLI' 
en

Code: Select all

database.type = 'MySQL' 
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: expansion et dedicated manager

Post by undef.de »

MySQL in PHP is deprecated: http://php.net/manual/fr/migration55.deprecated.php
It is better to use MySQLi/PDO already.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: expansion et dedicated manager

Post by oliverde8 »

yeah I know that is why we did the switch with w1lla help, but we kept support for the older version. So it can still be used. Hopefully it still works XD daven't tested it for quite a while :D

I am pretty sure SQLite doesn't work for example. Our SQL is probably not compatible but there are no reasons that the MYSQL one should not work. :D
The dedicated manager is an old tool and not maintained so for now MYSQL only :)
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
gsxroil
Posts: 62
Joined: 21 May 2011, 19:43

Re: expansion et dedicated manager

Post by gsxroil »

bonjour

je suis pas tres bon dans le domaine mais vue les infos que vous decrivez le probleme vient du config.ini generé par dedicated manager je pense qui ne precise pas la ligne

Code: Select all

database.type = 'MySQL' 
et non plus la ligne

Code: Select all

manialive.plugins[] = 'ManiaLivePlugins\eXpansion\AutoLoad\AutoLoad'
Voici le config.ini generé par dedicated manager

Code: Select all

config.logsPrefix = 'test_manager'
config.runtimeLog = On
config.globalErrorLog = On
config.debug = Off
config.enableToggleGUI = Off

manialive.admins[] = 'gsxroil'
manialive.plugins[] = 'eXpansion\AutoLoad'

database.enable = On
database.host = '127.0.0.1'
database.port = 3306
database.username = 'xxxxxx'
database.password = 'xxxxxx'
database.database = 'test_manager'

threading.enabled = Off
threading.busyTimeout = 20
threading.maxTries = 3

wsapi.username = ''
wsapi.password = ''

Ce qui doit provoquer l'erreur ?
There seems be a problem while establishing a MySQL connection.

Advanced details
File: Connection.php
Line: 54
Message: There is no connection class for the database type "MySQLI" yet!
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: expansion et dedicated manager

Post by w1lla »

TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Post Reply

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 2 guests