Only maniahost, but I'm not sure I did it right.
In "ManiaLive\libraries\ManiaLivePlugins\" you only have standard plugin
so I copied the moniahost from "ManiaHost\libraries\ManiaLivePlugins\" to manialive folder
ManiaHost 1.0 beta
Moderator: NADEO
-
- Nadeo
- Posts: 585
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: ManiaHost 1.0 beta
Try to run ManiaLive without plugins, to see if you still have the bugs.
And the way you setup your plugin seems correct if you just copy the content of "ManiaHost\libraries\ManiaLivePlugins\"
And the way you setup your plugin seems correct if you just copy the content of "ManiaHost\libraries\ManiaLivePlugins\"
Also known as: satanasdiabolo
Re: ManiaHost 1.0 beta
Okay fresh install.
Manialive without plugin: OK
Manialive with maniahost plugin: OK
Manialink have rent button: OK
Rent a server: Error "invalid manialink file"
Manialive without plugin: OK
Manialive with maniahost plugin: OK
Manialink have rent button: OK
Rent a server: Error "invalid manialink file"

-
- Nadeo
- Posts: 585
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: ManiaHost 1.0 beta
We progress step by step 
This kind of error append when there is an error in php, you should find a log of the error in the php error log

This kind of error append when there is an error in php, you should find a log of the error in the php error log
Also known as: satanasdiabolo
Re: ManiaHost 1.0 beta
Indeed we do.
Here is the apache log:
Here is the apache log:
Code: Select all
PHP Stack trace:
PHP 1. {main}() C:\\ManiaHost\\ManiaHost\\www\\index.php:0
PHP 2. ManiaLib\\Application\\Bootstrapper::run() C:\\ManiaHost\\ManiaHost\\www\\index.php:3
PHP 3. ManiaLib\\Application\\Bootstrapper::onDispatch() C:\\ManiaHost\\ManiaHost\\libraries\\ManiaLib\\Application\\Bootstrapper.php:30
PHP 4. ManiaLib\\Application\\Dispatcher->run() C:\\ManiaHost\\ManiaHost\\libraries\\ManiaLib\\Application\\Bootstrapper.php:44
PHP 5. ManiaLib\\Application\\Response->render() C:\\ManiaHost\\ManiaHost\\libraries\\ManiaLib\\Application\\Dispatcher.php:81
PHP 6. call_user_func() C:\\ManiaHost\\ManiaHost\\libraries\\ManiaLib\\Application\\Response.php:210
PHP 7. ManiaLib\\Application\\Rendering\\Manialink->render() C:\\ManiaHost\\ManiaHost\\libraries\\ManiaLib\\Application\\Response.php:0
PHP 8. ManiaHost\\Views\\Rent\\SelectDuration->display() C:\\ManiaHost\\ManiaHost\\libraries\\ManiaLib\\Application\\Rendering\\Manialink.php:31

-
- Nadeo
- Posts: 585
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: ManiaHost 1.0 beta
This is the trace log but what was the error message corresponding to that ?
Also known as: satanasdiabolo
Re: ManiaHost 1.0 beta
Doh sry!
Code: Select all
PHP Fatal error: Call to undefined function ManiaHost\\Views\\Rent\\_() in C:\\ManiaHost\\ManiaHost\\libraries\\ManiaHost\\Views\\Rent\\SelectDuration.php on line 32

-
- Nadeo
- Posts: 585
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: ManiaHost 1.0 beta
This is a method of gettext for translation.
There is two solution to correct this:
1. You activate gettext for php
2. You declare in the index.php the following method
There is two solution to correct this:
1. You activate gettext for php
2. You declare in the index.php the following method
Code: Select all
if(!function_exists('_'))
{
function _($string)
{
return $string;
}
}
Also known as: satanasdiabolo
Re: ManiaHost 1.0 beta
Okay now the rent button works.
next issue, when you press the launch button.
BTW: When you select the duration the text says "How many times do you want to rent server"
Shouldn't that be: "How long do you want to rent server"
next issue, when you press the launch button.
Code: Select all
PHP Fatal error: Class 'ManiaHost\\Controllers\\ManiaLib\\Application\\UserException' not found in C:\\ManiaHost\\ManiaHost\\libraries\\ManiaHost\\Controllers\\Rent.php on line 126
Shouldn't that be: "How long do you want to rent server"

-
- Nadeo
- Posts: 585
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: ManiaHost 1.0 beta
This error comes from a typo error in the code (I've just corrected it).
When you'll update your code, you should get an error message because you have set a number of player bigger than the one in the config file, or your server has no name.
When you'll update your code, you should get an error message because you have set a number of player bigger than the one in the config file, or your server has no name.
Also known as: satanasdiabolo
Who is online
Users browsing this forum: No registered users and 1 guest