[Tool]Dedicated Manager Web site

Moderator: NADEO

User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: [Tool]Dedicated Manager Web site

Post by jonthekiller »

Check in the logs folder. If it doesn't exist, create one in DedicatedManager/ next to www, libraries...
Image
skydel0
Posts: 23
Joined: 01 May 2013, 23:20

Re: [Tool]Dedicated Manager Web site

Post by skydel0 »

Could it be that i have to copy de downloaded folder in to manianlive folder? i din't do this.

dind't create any logs. create folder by my one but also din't create logs chmods done :D
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: [Tool]Dedicated Manager Web site

Post by jonthekiller »

Have you create a webservice for your application to be able to use the ManiaConnect system? https://player.maniaplanet.com/webservices
Image
skydel0
Posts: 23
Joined: 01 May 2013, 23:20

Re: [Tool]Dedicated Manager Web site

Post by skydel0 »

Now if done it :D i changed the config files from manialive and from Dedicated manager :D

but i din't know where i can find this:

do i have to do this?
Create a ManiaConnect application
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Tool]Dedicated Manager Web site

Post by farfa »

You have to create one in order to be able to use the oauth authentication
Also known as: satanasdiabolo
skydel0
Posts: 23
Joined: 01 May 2013, 23:20

Re: [Tool]Dedicated Manager Web site

Post by skydel0 »

i done it but now the Error is realy drifrend but only a xml error :-(

i set :

Application name: Admin Panel
Redirection URI: *********/mania ( for www folder alias)
Support address: my e-mail
This XML file does not appear to have any style information associated with it. The document tree is shown below.

Code: Select all

<manialink version="1" background="1" navigable3d="0">
<timeout>0</timeout>
<include url="http://files.maniaplanet.com/manialinks/maniascript/manialib.688.xml"/>
<script>main() {</script>
<frame posn="0 45 1" id="manialib-error">
<quad sizen="160 80" halign="center"/>
<frame posn="0 0 0.1">
<frame>
<quad sizen="160 16.25" halign="center" style="Bgs1InRace" substyle="BgTitle2"/>
<label posn="0 -8.25 0" sizen="154 7" halign="center" valign="center2" style="TextTitleError" text="Oops"/>
<quad posn="0 -20.75 0" sizen="156 59.25" halign="center" style="Bgs1" substyle="BgWindow2"/>
</frame>
</frame>
<label posn="0 -35 1" sizen="152 7" halign="center" style="TextTips" text="$<$oAn unfortunate error has occurred. Please try again later.$> If the error persists, you may try $l[http://forum.maniaplanet.com/viewforum.php?f=8]to report it in the forum$l. We apologize for the inconvenience." autonewline="1"/>
<label id="manialib-error-button" posn="0 -68 1" sizen="35 7" halign="center" style="CardButtonMediumWide" scriptevents="1" text="Hide this message"/>
<script>
manialib_event_add_listener("manialib-error-button", CMlEvent::Type::MouseClick, ["hide", "manialib-error"]);
</script>
</frame>
<script>manialib_main_loop();</script>
<script>}</script>
</manialink>
skydel0
Posts: 23
Joined: 01 May 2013, 23:20

Re: [Tool]Dedicated Manager Web site

Post by skydel0 »

Sry for 2x posting :-(

I had a new Error :

Code: Select all

Fatal error: Uncaught exception 'ErrorException' with message 'stripslashes() expects parameter 1 to be string, array given' in /opt/Ded/libraries/ManiaLib/Application/Request.php:53 Stack trace: #0 [internal function]: ManiaLib\Application\ErrorHandling::exceptionErrorHandler(2, 'stripslashes() ...', '/opt/Ded/librar...', 53, Array) #1 [internal function]: stripslashes(Array) #2 /opt/Ded/libraries/ManiaLib/Application/Request.php(53): array_map('stripslashes', Array) #3 /opt/Ded/libraries/ManiaLib/Utils/Singleton.php(25): ManiaLib\Application\Request->__construct() #4 /opt/Ded/libraries/ManiaLib/Application/Dispatcher.php(55): ManiaLib\Utils\Singleton::getInstance() #5 /opt/Ded/libraries/ManiaLib/Application/Bootstrapper.php(44): ManiaLib\Application\Dispatcher->run() #6 /opt/Ded/libraries/ManiaLib/Application/Bootstrapper.php(30): ManiaLib\Application\Bootstrapper::onDispatch() #7 /opt/Ded/www/index.php(7): ManiaLib\Application\Bootstrapper::run() #8 {main} thrown in /opt/Ded/libraries/ManiaLib/Application/Request.php on line 53
The Page Working now but when i finish somthing like change name of server ore create one, an error like this will apear.

The chmod right are ok that's not the problem.

thx for helping :D
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Tool]Dedicated Manager Web site

Post by farfa »

This error occurred because you have magic_quote enables. You should disable them, and everything should works.
php.net wrote: Warning:This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
source: http://www.php.net/manual/en/security.magicquotes.php
Also known as: satanasdiabolo
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: [Tool]Dedicated Manager Web site

Post by jonthekiller »

Is it possible to see who is player and who is spectator on the server?
Image
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [Tool]Dedicated Manager Web site

Post by w1lla »

There seems to be a bug in version 1.7.2 latest svn release when creating maps.

url link is:

maniaplanet-dedicated-manager\ressources\DedicatedManager\Views\CreateServer\Maps.

on line 17:

Code: Select all

<input type="checkbox" name="randomize" id="randomize" value="1" <?= $randomize ? 'checked="checked"' : '' ?>/> 
it should be

Code: Select all

			<input type="checkbox" name="randomize" id="randomize" value="1" <?= $randomize ? 'checked="checked"' : '' ?>
with kind regards,

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 “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 2 guests