Jump to content

2.1.3 Problem with bots


jwyndels388
  • Babble 2.2.0 Babble 2.1.3 Closed Bug

Whenever I try and save a BOT I get the following error showing up:

UPDATE `babble_rooms` babble_rooms  SET `rooms__url`=(IPS\Http\Url::__set_state(array(
   '_queryString' => 
  array (
    'app' => 'babble',
    'module' => 'view',
    'controller' => 'view',
    'room' => '3',
  ),
   'url' => 'http://developer.lmgamers.net/babble/room/3-destiny/',
   'data' => 
  array (
    'scheme' => 'http',
    'host' => 'developer.lmgamers.net',
    'path' => '/babble/room/3-destiny/',
  ),
   'queryString' => 
  array (
  ),
   'isInternal' => true,
   'isFriendly' => true,
))),`rooms_phrase_bot_member`=164,`rooms_phrase_bot_phrases`='[{"key":"LMG","value":"LMG Rocks!"}]',`rooms_bit`=264 WHERE rooms_id=3 
IPS\Db\Exception: Unknown column 'rooms__url' in 'field list' (1054)
#0 /var/www/developer/system/Db/Db.php(836): IPS\_Db->preparedQuery('/*IPS\\Patterns\\...', Array)
#1 /var/www/developer/system/Patterns/ActiveRecord.php(474): IPS\_Db->update('`babble_rooms` ...', '`rooms__url`=(?...', 'WHERE rooms_id=...')
#2 [internal function]: IPS\Patterns\_ActiveRecord->save()
#3 /var/www/developer/init.php(434) : eval()'d code(51): call_user_func_array('parent::save', Array)
#4 /var/www/developer/system/Node/Model.php(2013): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save()
#5 /var/www/developer/init.php(434) : eval()'d code(153): IPS\Node\_Model->save()
#6 /var/www/developer/init.php(434) : eval()'d code(679): IPS\Node\advancedtagsprefixes_hook_nodeModel->save()
#7 /var/www/developer/applications/babble/sources/Rooms/Rooms.php(409): IPS\Node\collab_hook_ipsNodeModel->save()
#8 /var/www/developer/system/Node/Model.php(2652): IPS\babble\_Rooms->save()
#9 /var/www/developer/init.php(434) : eval()'d code(61): IPS\Node\_Model->saveForm(Array)
#10 /var/www/developer/init.php(434) : eval()'d code(104): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array)
#11 /var/www/developer/system/Node/Controller.php(376): IPS\Node\advancedtagsprefixes_hook_nodeModel->saveForm(Array)
#12 [internal function]: IPS\Node\_Controller->form()
#13 /var/www/developer/system/Dispatcher/Controller.php(85): call_user_func(Array)
#14 /var/www/developer/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
#15 /var/www/developer/applications/babble/modules/admin/manage/rooms.php(49): IPS\Node\_Controller->execute()
#16 /var/www/developer/system/Dispatcher/Dispatcher.php(129): IPS\babble\modules\admin\manage\_rooms->execute()
#17 /var/www/developer/admin/index.php(13): IPS\_Dispatcher->run()
#18 {main}

Is there anything I can do to fix this?


User Feedback

Recommended Comments

_url is being added by something else, its not in my form or my save routine. I would try disabling groups or advance tags and prefixes, to see which one is causing it to error (as i can not reproduce this with 2.1.3 on my local development area).

Link to comment
Share on other sites

Ok I disabled that advanced tags and prefixes - still same problem.  I guess I'll disable everything and enable one by one

 

UPDATE `babble_rooms` babble_rooms  SET `rooms__url`=(IPS\Http\Url::__set_state(array(
   '_queryString' => 
  array (
    'app' => 'babble',
    'module' => 'view',
    'controller' => 'view',
    'room' => '1',
  ),
   'url' => 'http://developer.lmgamers.net/babble/room/1-babble/',
   'data' => 
  array (
    'scheme' => 'http',
    'host' => 'developer.lmgamers.net',
    'path' => '/babble/room/1-babble/',
  ),
   'queryString' => 
  array (
  ),
   'isInternal' => true,
   'isFriendly' => true,
))),`rooms_password`='',`rooms_file_types`='["png","jpg","jpeg","gif"]',`rooms_count_bot_message`='',`rooms_phrase_bot_member`=164,`rooms_phrase_bot_max_matches`=2,`rooms_phrase_bot_phrases`='[{"key":"Test","value":"Return Test"}]',`rooms_time_bot_message`='',`rooms_pass_hash`='',`rooms_group_content`='{"6":"0","7":"0","4":"0","28":"0","32":"0","27":"0","30":"0","20":"0","29":"0","26":"0"}',`rooms_bit`=8 WHERE rooms_id=1 
IPS\Db\Exception: Unknown column 'rooms__url' in 'field list' (1054)
#0 /var/www/developer/system/Db/Db.php(836): IPS\_Db->preparedQuery('/*IPS\\Patterns\\...', Array)
#1 /var/www/developer/system/Patterns/ActiveRecord.php(474): IPS\_Db->update('`babble_rooms` ...', '`rooms__url`=(?...', 'WHERE rooms_id=...')
#2 [internal function]: IPS\Patterns\_ActiveRecord->save()
#3 /var/www/developer/init.php(434) : eval()'d code(51): call_user_func_array('parent::save', Array)
#4 /var/www/developer/system/Node/Model.php(2013): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save()
#5 /var/www/developer/init.php(434) : eval()'d code(679): IPS\Node\_Model->save()
#6 /var/www/developer/applications/babble/sources/Rooms/Rooms.php(409): IPS\Node\collab_hook_ipsNodeModel->save()
#7 /var/www/developer/system/Node/Model.php(2652): IPS\babble\_Rooms->save()
#8 /var/www/developer/init.php(434) : eval()'d code(61): IPS\Node\_Model->saveForm(Array)
#9 /var/www/developer/system/Node/Controller.php(376): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array)
#10 [internal function]: IPS\Node\_Controller->form()
#11 /var/www/developer/system/Dispatcher/Controller.php(85): call_user_func(Array)
#12 /var/www/developer/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
#13 /var/www/developer/applications/babble/modules/admin/manage/rooms.php(49): IPS\Node\_Controller->execute()
#14 /var/www/developer/system/Dispatcher/Dispatcher.php(129): IPS\babble\modules\admin\manage\_rooms->execute()
#15 /var/www/developer/admin/index.php(13): IPS\_Dispatcher->run()
#16 {main}

 

Link to comment
Share on other sites

Ok - I seemed to have narrowed this down to the Group Colabs by Kevin Carwille - When I disable that the bot saves the settings without issue.  Next question is who I do go to to get this fixed as Collabs is used heavily on my site.

Link to comment
Share on other sites


×
×
  • Create New...