Closed ghost closed 11 years ago
There's already some sort of tutorial: http://www.esport-tools.net/ebot/install
If you have any questions, just state them here.
Thanks for that link, that worked fine. Now i'm into the next problem. How does the ebot know which server he should join? I haven't found a facility to add a GameserverIP. Maybe I understand the whole bot wrong. Do i have to install the bot on the same server as the gameserver or does it work remote?
Thanks Again!
You don't have to install anything on the gameserver, except the small CSay Plugin which will activate color-chat.
Navigate to http://youreboturl.tld/admin.php Login with your generated Admin-Data, there you can create matches and add many gameservers.
Wow that was easy, i must have missed the step in the tutorial. Now the Adminpanel works fine exept the "Create a Match" page which just puts out a blank page. All other pages like add server are working.
Have you cleaned the symfony cache, with: php symfony cc
Do you have an error-log to analyse?
symfony cache is cleaned still doesn't work When i do the request, there's nothing new added to the apache_error.log
edit: in the php_error.log theres this added:
[01-Feb-2013 18:28:34 UTC] PHP Fatal error: Call to a member function getCopiedOne() on a non-object in /Volumes/Macintosh HD 1/Websites/ebot-web/apps/backend/modules/matchs/actions/actions.class.php on line 379
Please open the admin.php with an editor and change line 6 to this: $configuration = ProjectConfiguration::getApplicationConfiguration('backend', 'dev', false); Create a new folder at symfony root called "log". Grant write permissions to the webserver user.
Now open the matchs/create page again. After that, there should be some logging at the log-folder of symfony.
this is the output
Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfRoute "sf_guard_signin" (/guard/login) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfRoute "sf_guard_signout" (/guard/logout) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_filter" (/guard/users/filter.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_batch" (/guard/users/batch.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user" (/guard/users.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_new" (/guard/users/new.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_create" (/guard/users.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_edit" (/guard/users/:id/edit.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_update" (/guard/users/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_delete" (/guard/users/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_show" (/guard/users/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_object" (/guard/users/:id/:action.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_user_collection" (/guard/users/:action/action.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_filter" (/guard/groups/filter.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_batch" (/guard/groups/batch.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group" (/guard/groups.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_new" (/guard/groups/new.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_create" (/guard/groups.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_edit" (/guard/groups/:id/edit.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_update" (/guard/groups/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_delete" (/guard/groups/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_show" (/guard/groups/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_object" (/guard/groups/:id/:action.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_group_collection" (/guard/groups/:action/action.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_filter" (/guard/permissions/filter.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_batch" (/guard/permissions/batch.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission" (/guard/permissions.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_new" (/guard/permissions/new.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_create" (/guard/permissions.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_edit" (/guard/permissions/:id/edit.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_update" (/guard/permissions/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_delete" (/guard/permissions/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_show" (/guard/permissions/:id.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_object" (/guard/permissions/:id/:action.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Connect sfDoctrineRoute "sf_guard_permission_collection" (/guard/permissions/:action/action.:sf_format) Feb 01 19:36:29 symfony [info] {sfPatternRouting} Match route "matchs_create" (/matchs/create) for /matchs/create with parameters array ( 'module' => 'matchs', 'action' => 'create',) Feb 01 19:36:29 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter" Feb 01 19:36:29 symfony [info] {sfFilterChain} Executing filter "sfBasicSecurityFilter" Feb 01 19:36:29 symfony [info] {sfFilterChain} Executing filter "sfGuardRememberMeFilter" Feb 01 19:36:29 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter" Feb 01 19:36:29 symfony [info] {matchsActions} Call "matchsActions->executeCreate()"
And the output is a complete white page?
exactly, not HTML output at all
maybe you have missed my edit, i think this fatal error from php log error is the cause for no output:
[01-Feb-2013 18:28:34 UTC] PHP Fatal error: Call to a member function getCopiedOne() on a non-object in /Volumes/Macintosh HD 1/Websites/ebot-web/apps/backend/modules/matchs/actions/actions.class.php on line 379
i have a look and fix it asap
Ok, have found the issue:
Goto line 379 and edit the following:
$this->form = new MatchsForm($lastMatch->getCopiedOne());
to this:
if (isset($lastMatch)) $this->form = new MatchsForm($lastMatch->getCopiedOne()); else $this->form = new MatchsForm();
Don't forget to change "dev" to "prod" at admin.php
You're awesome, but your fixed needs to be fixed like this because $lastMatch is false but set.
if (isset($lastMatch) && $lastMatch !== false)
Thanks for your efforts again!
if it's set, just write
if ($lastMatch) ...
I'm trying to get eBot work on my local MAMP environment but I don't know how to install the web panel. Can you please write an install manual?
Thanks for your great work!