What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[BuddyCon] Self Hosting

Could you post the line? Im on a different version


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:
- 3079220 -

edit: 2 bots, 4 failures (4 entries)
Error?! Please post this to the author: 11 - 16308 -
Error?! Please post this to the author: 9 - 3079408 -
Error?! Please post this to the author: 12 - 16308 -
Error?! Please post this to the author: 10 - 3079408 -


seems to be a plugin issue. the plugin "disables" itself in the HB gui, but is still enabled. so you cannot disable it.
Its a Plugin Bug (it gives me wrong numbers) need to find a workaround
 
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
Duh!
Its a PHP5.3 anonymous function -.-
Will upload a workaround later
 
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
Could you test this one:
 

Attachments

Could you test this one:

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:
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.
 
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.
Send me a PM ;)
 
Could you test this one:
*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:
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:
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.

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.
 
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:
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.
 
Back
Top