Problem with starting ManiaLive (Debian) (Solved)

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
User avatar
marvk
Posts: 4
Joined: 18 Aug 2011, 17:11

Problem with starting ManiaLive (Debian) (Solved)

Post by marvk »

Hello all.
I'm trying to run ManiaLive on my Debian Lenny server, but there is some kind of problem with the "\".
Thats my log:

Code: Select all

Warning: Unexpected character in input:  '\' (ASCII=92) state=1 in /home/marvin/maniaplanet/manialive/bootstrapper.php on line 80

Parse error: syntax error, unexpected T_STRING in /home/marvin/maniaplanet/manialive/bootstrapper.php on line 80
I am not so versed with PHP but i can say that PHP can't read the backslash on the end of the boostrapper script properly.
Thats line 80:

Code: Select all

ManiaLiveApplication\Application::getInstance()->run();
I hope you can halp meh :O
Last edited by marvk on 18 Aug 2011, 21:42, edited 1 time in total.
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Problem with starting ManiaLive (Debian)

Post by jonthekiller »

Which version of PHP do you have?
Image
User avatar
marvk
Posts: 4
Joined: 18 Aug 2011, 17:11

Re: Problem with starting ManiaLive (Debian)

Post by marvk »

Okay.. I had PHP 5.2.x installed. Updated it, now it seems to work. But nothing happens ingame and the i cant find the PID in ps aux.

Code: Select all

[CONFIG LOADER] Starting runtime load
[CONFIG LOADER] Pre-load completed
[CONFIG LOADER] /path/to/manialive/config/config.ini parsed
[CONFIG LOADER] Loaded 4 class instances
[CONFIG LOADER] Load completed
[CONFIG LOADER] Data dump:

Array
(
    [ManiaLive\DedicatedApi\Config] => ManiaLive\DedicatedApi\Config Object
        (
            [host] => localhost
            [port] => XXXX
            [user] => SuperAdmin
            [password] => XXXXXXX
            [timeout] => 1
        )

    [ManiaLive\Application\Config] => ManiaLive\Application\Config Object
        (
            [admins] => Array
                (
                    [0] => marvk
                )

            [plugins] => Array
                (
                    [0] => Standard\Admin
                )

        )

    [ManiaLive\Database\Config] => ManiaLive\Database\Config Object
        (
            [enable] => 1
            [host] => 127.0.0.1
            [port] => 3306
            [username] => XXXX
            [password] => XXXX
            [database] => XXXX
            [type] => MySQL
        )

    [ManiaLive\Threading\Config] => ManiaLive\Threading\Config Object
        (
            [enabled] => 
            [busyTimeout] => 20
            [pingTimeout] => 2
            [sequentialTimeout] => 1
            [chunkSize] => 10
        )

)

[CONFIG LOADER] Runtime load completed in 1.33 milliseconds
I used the admin plugin just to try out if it works.
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Problem with starting ManiaLive (Debian)

Post by The_Big_Boo »

Admin plugin doesn't show anything at startup. But you can try to type "/setmode" in the chat: a window is supposed to pop up (still a bit ugly btw).
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
User avatar
marvk
Posts: 4
Joined: 18 Aug 2011, 17:11

Re: Problem with starting ManiaLive (Debian)

Post by marvk »

As i said, the PID does not shot up in the process list. /setmode doesnt work btw.
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Problem with starting ManiaLive (Debian)

Post by The_Big_Boo »

Do you have a log_Error.txt?

If so, can you post the last error in it? If not, run manialive without detaching the process (to see what is going wrong)
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
User avatar
marvk
Posts: 4
Joined: 18 Aug 2011, 17:11

Re: Problem with starting ManiaLive (Debian)

Post by marvk »

Its the timezone error. But it just wont work, even after addin the timezone in the php.ini.

Tryed

Code: Select all

date.timezone = "Europe/Berlin"
and restarting the apache and

Code: Select all

date.timezone = Europe/Berlin
and restarting the apache. Just wont work.


//e: Thats my runtime.log:

Code: Select all

  ##################################     ###################################
  ##################################     ###################################
                                                                         ###
  ################  ################     ###  ############  ###########  ###
  ################  ################     ###  ############  ###########  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
ManiaLive
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.3.6-6~dotdeb.0
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.18.2 (OpenSSL/0.9.8g) (with OpenSSL/0.9.8g)
SQLite                -> optionnal -> [ No  ]
-----------------------------------------------------
SQLite is disable, threading will not work. ManiaLive may encounter some perfomance trouble.PHP Fatal error:  Uncaught exception 'ErrorException' with message 'date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead' in /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php:113
Stack trace:
#0 [internal function]: ManiaLive\Application\ErrorHandling::createExceptionFromError(2, 'date(): It is n...', '/path/to/ma...', 113, Array)
#1 /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php(113): date('d.m.Y')
#2 /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php(55): ManiaLive\Application\ErrorHandling::displayAndLogError(Object(ErrorException))
#3 /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/AbstractApplication.php( in /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php on line 113

Fatal error: Uncaught exception 'ErrorException' with message 'date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead' in /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php:113
Stack trace:
#0 [internal function]: ManiaLive\Application\ErrorHandling::createExceptionFromError(2, 'date(): It is n...', '/path/to/ma...', 113, Array)
#1 /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php(113): date('d.m.Y')
#2 /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php(55): ManiaLive\Application\ErrorHandling::displayAndLogError(Object(ErrorException))
#3 /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/AbstractApplication.php( in /path/to/maniaplanet/manialive/libraries/ManiaLive/Application/ErrorHandling.php on line 113
[/size]

//e2: Fix: Edit the correct php.ini :? Protip:

Code: Select all

php --ini
to find out which one's the right.

Thank you all for your help <3
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest