• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [BuddyCon] Self Hosting

    Discussion in 'Monitoring' started by thalord, Oct 20, 2012.

    1. Nacrem

      Nacrem Member

      Joined:
      Jul 25, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6

      i got the same error too...

      Code:
      21           'value'=>function($data,$row){ // declare signature so that we can use $data, and $row within this function
                      $chat = Chat::model()->countByAttributes(array('bot_id'=>$data->id),'sended > :last',array('last'=>$data->lastvisit));
                      $status = Status::model()->countByAttributes(array('bot_id'=>$data->id),'latestupdate > :last  AND message NOT LIKE "Xp gain: %"',array('last'=>$data->lastvisit));
      
                      $ret = $chat+$status;
                      return $ret;

      but this worked fine for me : http://domain.com/buddy/index.php?r=bot/view&id=1

      this aint workin : http://domain.com/buddy/index.php?r=bot/index
       
      Last edited: Oct 23, 2012
    2. thalord

      thalord Community Developer

      Joined:
      Apr 24, 2011
      Messages:
      651
      Likes Received:
      11
      Trophy Points:
      0
      Its a Plugin Bug (it gives me wrong numbers) need to find a workaround
       
    3. thalord

      thalord Community Developer

      Joined:
      Apr 24, 2011
      Messages:
      651
      Likes Received:
      11
      Trophy Points:
      0
      Duh!
      Its a PHP5.3 anonymous function -.-
      Will upload a workaround later
       
    4. Madcatz

      Madcatz Member

      Joined:
      May 17, 2011
      Messages:
      752
      Likes Received:
      7
      Trophy Points:
      18
      What is BuddyCon?
       
    5. XrAyZ

      XrAyZ New Member

      Joined:
      Jun 1, 2011
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
    6. thalord

      thalord Community Developer

      Joined:
      Apr 24, 2011
      Messages:
      651
      Likes Received:
      11
      Trophy Points:
      0
      Could you test this one:
       

      Attached Files:

    7. Cush

      Cush New Member

      Joined:
      Jul 21, 2011
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      Seems to work fine here.

      One thing - I uploaded the upload.php for screenshots and set it all up correctly, but when I requested a screenshot it uploaded and set the URL to 'http://url.domain/screen/sc/1351057747.jpg' rather than my actual webhost URL, so to view it I need to navigate to the right directory and do it manually.

      Other than that it works great, thanks!

      *EDIT*

      Didn't notice you need to change the URL at the top of upload.php, fixed it now.
       
      Last edited: Oct 24, 2012
    8. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for the Selfhosting-Service. It works great!
       
    9. reaperdragon

      reaperdragon Banned

      Joined:
      Nov 21, 2010
      Messages:
      27
      Likes Received:
      1
      Trophy Points:
      0
      buddycon is nice I would love to see it keep growing. I would like to suggest options if possible. Please let me know if this would be possible. Besides all that I would like to say your plugin rocks.
       
    10. thalord

      thalord Community Developer

      Joined:
      Apr 24, 2011
      Messages:
      651
      Likes Received:
      11
      Trophy Points:
      0
      Send me a PM ;)
       
    11. cm2003

      cm2003 New Member

      Joined:
      Jul 16, 2011
      Messages:
      260
      Likes Received:
      1
      Trophy Points:
      0
      *edit*
      ah lol I failed :) gonna try soon :)

      *edit2*
      Working :) Cheers mate!

      *edit3*
      Next error:
      Warning: Unexpected character in input: ' in **/BuddyCon/yii/framework/yiilite.php(843) : eval()'d code on line 1
      lambda_1

      On the Bot overview page.
       
      Last edited: Oct 27, 2012
    12. wizardslayer

      wizardslayer Member

      Joined:
      Nov 3, 2010
      Messages:
      325
      Likes Received:
      0
      Trophy Points:
      16
      After successfully creating the first user fine, I'm then prompted to login, which then gives the following error after submitting credentials

      Code:
      Parse error: syntax error, unexpected T_FUNCTION in /home/hostname/public_html/buddycon/protected/views/bot/index.php on line 21
      
      If I use this direct link: http://domain.com/buddycon/index.php?r=bot/view&id=1

      I get an error, but the page loads, but the error is probably from the plugin not being configured on the bot yet.

      Using the index you provided in the zip didn't work at all.
       
      Last edited: Oct 27, 2012
    13. wizardslayer

      wizardslayer Member

      Joined:
      Nov 3, 2010
      Messages:
      325
      Likes Received:
      0
      Trophy Points:
      16
      Anyone else fixed this? Once I setup a toon to report in, the http://domain.com/buddycon/index.php?r=bot/view&id=1 works, but once the session times out and I have to login, I get the above error.
       
    14. thalord

      thalord Community Developer

      Joined:
      Apr 24, 2011
      Messages:
      651
      Likes Received:
      11
      Trophy Points:
      0
      Which PHP Version?
      Everything below 5.3 im simply dont have the time to support...
       
      Last edited: Oct 28, 2012
    15. Bastian85

      Bastian85 New Member

      Joined:
      Oct 24, 2012
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      0
      ok dann mal hier r?ber
      sry wegen dem anderen Thread :)

      Was meinst du mit dem Adminer?
      (phpMyAdmin den Root zugang? oder hat BoddyCon einen Admin Zugang?


      Bots l?schen kann ich ?brigens auch nicht?
      da kommt dieser Fehler
      Unbenannt.jpg



      L?schen der Bilder via PhpMyAdmin is unschick aber geht :)
       
      Last edited: Oct 28, 2012
    16. nooblet

      nooblet Active Member

      Joined:
      May 4, 2012
      Messages:
      1,419
      Likes Received:
      12
      Trophy Points:
      38
      What exactly is BuddyCon?
       
    17. Bastian85

      Bastian85 New Member

      Joined:
      Oct 24, 2012
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      0
      BuddyCon is an Webinterface for the Plugin BuddyCon :)
      It let Control you your Bot from anythere, via Webinterface you can see
      is bot running?
      lvl?
      request pictures what he do in the moment,

      restart or stop them,

      and answer chats

      see BuddyCon - Mainthread (CLICK)
       
    18. nooblet

      nooblet Active Member

      Joined:
      May 4, 2012
      Messages:
      1,419
      Likes Received:
      12
      Trophy Points:
      38
      Thanks
       
    19. wizardslayer

      wizardslayer Member

      Joined:
      Nov 3, 2010
      Messages:
      325
      Likes Received:
      0
      Trophy Points:
      16
      PHP Version 5.2.9

      I'll see if my host has a way to upgrade to 5.3
       
    20. wizardslayer

      wizardslayer Member

      Joined:
      Nov 3, 2010
      Messages:
      325
      Likes Received:
      0
      Trophy Points:
      16
      FYI the issue is related to version lower than 5.3. You are using inline functions, which were not supported until 5.3.

      I spun up a vm and put 5.3 on it and it works flawlessly, awesome work.
       

    Share This Page