thalord
Community Developer
- Joined
- Apr 24, 2011
- Messages
- 651
Usally thats a Plugin error. Update the Plugin please and test againWorks fine but there is an error on the "XP" line: "Error?! Please post this to the author: 6 - 18543998 -"

Usally thats a Plugin error. Update the Plugin please and test againWorks fine but there is an error on the "XP" line: "Error?! Please post this to the author: 6 - 18543998 -"
Got this error:
PHP notice
Undefined variable: s
/buddycon/protected/components/Randomness.php(75)
63 * @var array Keeps each pseudo-random datum found as a string
64 */
65 $r = array();
66
67 // Get some data from mt_rand()
68 for ($i = 0; $i < 32; ++$i)
69 $r[] = pack('S', mt_rand(0, 0xffff));
70
71 // On unixy sustems the numerical values in ps, uptime and iostat ought to be fairly
72 // unpredictable. Gather the non-zero digits from those
73 foreach (array('ps', 'uptime', 'iostat') as $cmd) {
74 @exec($cmd, $s, $ret);
75 if (is_array($s) && $s && $ret === 0)
76 foreach ($s as $v)
77 if (false !== preg_match_all('/[1-9]+/', $v, $m) && isset($m[0]))
78 $r[] = implode('', $m[0]);
79 }
80
81 // Gather the current time's microsecond part. Note: this is only a source of entropy on
82 // the first call! If multiple calls are made, the entropy is only as much as the
83 // randomness in the time between calls
84 $r[] = substr(microtime(), 2, 6);
85
86 // Concatenate everything gathered, mix it with sha512.
87 // hash() is part of PHP core and enabled by default but it can be
Its the exec command. If i remember correctly it sometimes is turned off on some hosters.Hei there
I got the same error... the error occures after i inserted a new username and a password and clicked Submit.
Any solutions?
Chears neutron
Its the exec command. If i remember correctly it sometimes is turned off on some hosters.
i have a modified version of the Randomness.php here:
(untested!)
Check the Api KeyI get this message all the time.
[bC]: {"response":"No User"}
[bC]: {"response":"No User"}
[bC]: {"response":"No User"}
[bC]: {"response":"No User"}
[bC]: {"response":"No User"}
[bC]: {"response":"No User"}
[bC]: {"response":"No User"}
Self hosting it.
maybe a space at the end or the beginning.I have and also recompiled the plugin. =/
you are using debug mode. turn it offhallo
i set up my own server and everything seems to be fine.
i have a user, i have api key nad i setup the plugin with the right url and api key.
the only thing diffrent to your guide is that i?m using an selfsigned ssl certificate and https on port 443
here is the log entry...
u know what can be wrong?
[bC]: startAcquireFrame
[bC]: gbankmoney0
[bC]: startAcquireFrame end
[bC]: start sending data on
[bC]: {"response":"No User"}
[bC]: error send Object reference not set to an instance of an object.
btw. great work![]()
REQUEST_URI=/buddycon/index.php?r=screen/delete&t=1&id=30
in /var/www/neutron/html/buddycon/protected/controllers/ScreenController.php (140)
in /var/www/neutron/html/buddycon/index.php (13)
2012/11/14 14:21:39 [error] [php] fopen(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 (/var/www/neutron/html/buddycon/protected/controllers/ScreenController.php:140)
Stack trace:
#0 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(3793): ReflectionMethod->invokeArgs()
#1 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(3810): CInlineAction->runWithParamsInternal()
#2 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(3324): CInlineAction->runWithParams()
#3 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(6255): ScreenController->runAction()
#4 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(6264): CFilterChain->run()
#5 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(3702): CAccessControlFilter->filter()
#6 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(6297): ScreenController->filterAccessControl()
#7 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(6252): CInlineFilter->filter()
#8 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(3314): CFilterChain->run()
#9 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(3299): ScreenController->runActionWithFilters()
#10 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(1699): ScreenController->run()
#11 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(1619): CWebApplication->runController()
#12 /var/www/neutron/html/buddycon/yii/framework/yiilite.php(1144): CWebApplication->processRequest()
#13 /var/www/neutron/html/buddycon/index.php(13): CWebApplication->run()
[bC]: {"response":"No User"}
Thist message will be shown if the Api doesnt find a user with this apikey so check Api key if its the same on your self hosted buddycon as in the plugin (maybe mixed up with buddycon.eu)?Ok, the only problem I'm having with Buddycon now is the
spamming up HB Log file, and no, I'm not in Debug mode.Code:[bC]: {"response":"No User"}