Jump to content

Babble + IPS + forbid guest to access site = infinite login page redirect loop

Andrew B
  • Babble 2.2.1 Babblet 2.1.3 Closed Bug

Steps to reproduce:

  1. Install IPS
  2. Install Babble 2.1.3
  3. Go to ACP - Members - Groups - Guest - switch off "Can access site?"
  4. Go to http://community/login


User Feedback

Recommended Comments

Instead, now there is an error when I'm editing a user group:


UPDATE `ipb_core_groups` core_groups  SET `g_view_board`=false,`g_hide_online_list`=false,`g_avoid_flood`=false,`g_avoid_q`=false,`g_mod_preview`=false,`g_bypass_badwords`=false,`g_babble_command_access`='{"babbledeleteown":true,"babbleeditown":true,"b":true,"clear":true,"code":true,"facepalm":true,"help":true,"i":true,"ignore":true,"img":true,"logout":true,"me":true,"notifications":true,"quote":true,"rand":true,"reload":true,"rules":true,"spoiler":true,"stats":true,"u":true,"unignore":true}' WHERE g_id=2 
IPS\Db\Exception: Unknown column 'g_babble_command_access' in 'field list' (1054)
#0 /var/www//system/Db/Db.php(865): IPS\_Db->preparedQuery('/*IPS\\Member\\_G...', Array)
#1 /var/www//system/Patterns/ActiveRecord.php(486): IPS\_Db->update('`ipb_core_group...', '`g_view_board`=...', 'WHERE g_id=?')
#2 /var/www//system/Member/Group.php(273): IPS\Patterns\_ActiveRecord->save()
#3 /var/www//applications/core/modules/admin/members/groups.php(199): IPS\Member\_Group->save()
#4 [internal function]: IPS\core\modules\admin\members\_groups->form()
#5 /var/www//system/Dispatcher/Controller.php(85): call_user_func(Array)
#6 /var/www//applications/core/modules/admin/members/groups.php(35): IPS\Dispatcher\_Controller->execute()
#7 /var/www//system/Dispatcher/Dispatcher.php(129): IPS\core\modules\admin\members\_groups->execute()
#8 /var/www//admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}


Link to comment
Share on other sites

seems they made a change in the installer for 4.1.14, it use to run the queries from the current versions upgrade folder, it doesn't appear to do that any longer. I will get an update out shortly to address this.

Link to comment
Share on other sites

I can confirm.


When upgrading to Babble 2.2.0 it corrupted something and cannot edit member groups. When I click a member group to edit there's a blank white page. When I disable Babble it works.

Looks like I have to do a complete uninstall and reinstall of Babble to correct the problem. Will try 2.2.1.

Edited by GrooveOnBeat
Link to comment
Share on other sites

Nope, I tried that before coming here and that did not work.

Something happened in the 2.2.0 installer and that corrupted it. So even if I try to upgrade to 2.2.1 it is still corrupted.


Link to comment
Share on other sites

did you check the permissions of the files/folders in the babble directory? the problem in this bug report the changes made to babble.js were done with a root account and the http account was not able to overwrite the files. the archive is not corrupt, its a file/folder permission issue. 

Link to comment
Share on other sites

The ownership looked ok, so I'm not sure what the deal was.

I've renamed the Babble folder and recreated a new folder on reinstall (not upgrade) and the installation went through. Now I'm reconfiguring all of the settings. I took screenshots so it shouldn't be too bad. Thanks for trying to help but this was the easiest/quickest solution.

I'll update on my progress. ^_^

Link to comment
Share on other sites

  • Create New...