Page 1 of 1

[FIXED]expansion et dedicated manager

Posted: 06 May 2015, 11:02
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 ?

Re: expansion et dedicated manager

Posted: 06 May 2015, 18:43
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' 

Re: expansion et dedicated manager

Posted: 06 May 2015, 19:30
by undef.de
MySQL in PHP is deprecated: http://php.net/manual/fr/migration55.deprecated.php
It is better to use MySQLi/PDO already.

Re: expansion et dedicated manager

Posted: 06 May 2015, 19:56
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 :)

Re: expansion et dedicated manager

Posted: 06 May 2015, 20:41
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!

Re: expansion et dedicated manager

Posted: 06 May 2015, 22:14
by w1lla