Page 1 of 1

[Resolved]eXpansion start up error

Posted: 19 Jun 2016, 02:24
by bass
[code
_| _| _| _| _|
_|_| _|_| _|_|_| _|_|_| _|_|_| _| _| _| _|_|
_| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_|_|_|
_| _| _| _| _| _| _| _| _| _| _| _| _| _|
_| _| _|_|_| _| _| _| _|_|_| _|_|_|_| _| _| _|_|_|
-----------------------------------------------------
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer -> required -> [ Yes ] 5.5.9-1ubuntu4.17
Standard PHP Library -> required -> [ Yes ]
JSON -> required -> [ Yes ]
cURL with SSL -> required -> [ Yes ] 7.35.0 (with OpenSSL/1.0.1f)
MySQL -> optional -> [ Yes ]
MySQLI -> optional -> [ Yes ]
SQLite3 -> optional -> [ Yes ]
-----------------------------------------------------
Timezone is not set in php.ini. Please edit it and change/set "date.timezone" appropriately. Setting to default: 'America/Chicago'
PHP Fatal error: Class 'ManiaLive\Application\Application' not found in /home/customer/TMServer/eXpansion/bootstrapper.php on line 79

Fatal error: Class 'ManiaLive\Application\Application' not found in /home/customer/TMServer/eXpansion/bootstrapper.php on line 79
][/code]

any ideas

Re: eXpansion start up error

Posted: 19 Jun 2016, 09:03
by oliverde8
How it looks like you have not installed eXpansion properly.

If you download it directly from github you need to install dependecies yourself by using composer.

If not you need to download it from here, where we have packed everything for you : http://ml-expansion.com/download.php

I recommend you download the packed version :)

Hope it's useful and that it's just this :)

Re: eXpansion start up error

Posted: 19 Jun 2016, 09:10
by bass
I'm pretty sure that is eXactly what I did. Don't know what I was thinking.... Thank you kind sir :yes:

Re: eXpansion start up error

Posted: 19 Jun 2016, 09:23
by oliverde8
bass wrote:I'm pretty sure that is eXactly what I did. Don't know what I was thinking.... Thank you kind sir :yes:
Is it working? :D

Re: eXpansion start up error

Posted: 19 Jun 2016, 13:15
by bass
nope.. hangs on mysql connection

xaseco2 connects to mysql no problems... but I want to use eXpansion!

Code: Select all

 _|      _|                      _|            _|        _|
 _|_|  _|_|    _|_|_|  _|_|_|          _|_|_|  _|            _|    _|    _|_|
 _|  _|  _|  _|    _|  _|    _|  _|  _|    _|  _|        _|  _|    _|  _|_|_|_|
 _|      _|  _|    _|  _|    _|  _|  _|    _|  _|        _|  _|  _|    _|
 _|      _|    _|_|_|  _|    _|  _|    _|_|_|  _|_|_|_|  _|    _|        _|_|_|
-----------------------------------------------------
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.5.9-1ubuntu4.17
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.35.0 (with OpenSSL/1.0.1f)
MySQL                 -> optional  -> [ Yes ]
MySQLI                -> optional  -> [ Yes ]
SQLite3               -> optional  -> [ Yes ]
-----------------------------------------------------
Timezone is not set in php.ini. Please edit it and change/set "date.timezone" appropriately. Setting to default: 'America/Chicago'
Running ManiaLive 4.0.0...
[PluginHandler] Start plugin load process:



                                ____                  _  
                               / __ \                | |
                              | |  | | ___  _ __  ___| |
                              | |  | |/ _ \|  _ \/ __| |
                              | |__| | (_) | |_) \__ \_|
                               \____/ \___/| .__/|___(_)
                                           | | 
                                           |_| 

         There seems be a problem while establishing a MySQL connection.

Advanced details
File: Connection.php
Line: 72
Message: Connection to MySQL-server failed for unknown reason.

Re: eXpansion start up error

Posted: 20 Jun 2016, 14:05
by bass
Working now.. had to specify database type 'MySQL' in config.. perhaps my extension on the other is not loaded.. Anyway working well.. thx :thumbsup:

Re: eXpansion start up error

Posted: 20 Jun 2016, 19:56
by oliverde8
hi,

Great news, :D

strange that it didn't work with Mysqli, the library is installed it's part of the startup check. Aas long as it works all is good :D

Re: [Resolved]eXpansion start up error

Posted: 06 Jul 2016, 12:58
by chapelier
Hi, i have the same error as Bass :
- xaseco2 connects to mysql with no problems.
- with expansion i have no connection to database
Could you explain :
had to specify database type 'MySQL' in config


Thx a lot.

EDIT :
i found this : vendor\maniaplanet\manialive-lib\ManiaLive\Database\Config.php
and I tried "MySQLI" and "MySQL" values for $type, it switched to the good folder (MySQL or MySQLI) but it still does not work.

EDIT 2 :
not understand everything but i got it.
Maybe some bad port redirection on linux.
I replaced this line :

Code: Select all

$this->host = $host.($port ? ':'.$port : '');
by this :

Code: Select all

$this->host = 'localhost';