HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


There was an error posting your message. Please try again

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#59334 (In Topic #12918)
Avatar

Community saint

Admin can post but other members can not post-Error message appears

I am running into a problem in the Chat rooms. As admin I can post and I am recgonized but in SU as another member I cannot. I am getting this message "There was an error posting your message. Please try again"

In SECURITY/SPECIFIC PERMISSIONS/CHAT SYSTEM members have permissions to do all except some cant ban. In PERMISSIONS TREE/SITE/MODULE:CHAT all have view access and can moderate and the USERGROUP PRESETS are set on Administrative/Moderate.

Why is admin able and the others are not?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59335
Avatar

Community saint

friendly,

I just tested my system with SU and they work just fine for me so it is not an SU problem.

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#59336
Avatar

Community saint

Thanks Rick. I suspect it is a setting I am missing because the chat system works but it only works for admin. Don't know if I have some permission somewhere else (MODULE:CHAT) not granted or I missed a chat fix?

I have upgraded to 4.3.2 with the exception of upgrading the following individual templates, according to the ocPortal Upgrader, I am up to date:

BLOCK_MAIN_IOTD.tpl
GALLERY_FLOW_MODE_SCREEN.tpl
GALLERY_ENTRY_WRAP.tpl
POLL.tpl

I don't think any of these would affect anything. I will update these shortly but I haven't had time make "my" custom revisions to those templates as of yet.

I think it is the last ocPortal thing I need to address/fix before I go public …finally.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59347
Avatar

Hi,

If you upload an empty text file named permissioncheckslog.php to data_custom (i.e. data_custom/permissioncheckslog.php) and give it write permissions, ocPortal will log all failed permission checks to that file. If you reproduce the error, it should log to the file. It might give you the answer, or if you paste the contents here, it might help me.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59353
Avatar

Community saint

OK, I made the php log file and logged into site then went to chat and made an entry with success as admin. Then as member bambam in SU mode I went to chat and did the same but without success. Here is the log:

2010/03/30 06:03:16 - The World of Dinosaurs and Prehistoric Creatures - Prehistorics Illustrated - Guest
has_specific_permission: see_php_errors,start
has_specific_permission: see_php_errors,start
has_zone_access: adminzone
has_specific_permission: access_closed_site,start
has_specific_permission: access_closed_site,start
has_specific_permission: access_closed_site,start
has_specific_permission: access_closed_site,start
has_specific_permission: access_closed_site,start
has_zone_access: personalzone
has_zone_access: collaboration
has_zone_access: cms
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: personalzone
has_zone_access: collaboration
has_zone_access: cms
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_specific_permission: banner_free,start
has_specific_permission: see_software_docs,start
has_specific_permission: sees_javascript_error_alerts,start
has_specific_permission: view_profiling_modes,start
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone


2010/03/30 06:03:16 - Login - Prehistorics Illustrated - Guest
has_specific_permission: see_php_errors,login
has_specific_permission: see_php_errors,login
has_zone_access: adminzone
has_specific_permission: access_closed_site,login


2010/03/30 06:03:16 - http://206.123.100.130/~prehisto/index.php?page=login&type=misc - Guest
has_specific_permission: see_php_errors,login
has_specific_permission: see_php_errors,login
has_zone_access: adminzone
has_specific_permission: access_closed_site,login


2010/03/30 06:03:16 - http://206.123.100.130/~prehisto/index.php?page=login&type=misc - Guest
has_specific_permission: see_php_errors,login
has_specific_permission: see_php_errors,login
has_zone_access: adminzone
has_specific_permission: access_closed_site,login
has_zone_access: adminzone
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: banner_free,login
has_specific_permission: see_software_docs,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: banner_free,login
has_specific_permission: see_software_docs,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_specific_permission: access_closed_site,login
has_zone_access: personalzone
has_zone_access: collaboration
has_zone_access: cms
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: personalzone
has_zone_access: collaboration
has_zone_access: cms
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_specific_permission: banner_free,login
has_specific_permission: see_software_docs,login
has_specific_permission: see_software_docs,login
has_specific_permission: sees_javascript_error_alerts,login
has_specific_permission: view_profiling_modes,login
has_zone_access: adminzone
has_zone_access: adminzone
has_specific_permission: see_software_docs,login
has_zone_access: adminzone


2010/03/30 06:03:16 - http://206.123.100.130/~prehisto/index.php?page=login&type=login - Guest
has_specific_permission: bypass_word_filter,login
has_specific_permission: bypass_word_filter,login
has_specific_permission: bypass_word_filter,login
has_specific_permission: see_hidden_groups,login


2010/03/30 06:03:16 - The World of Dinosaurs and Prehistoric Creatures - Prehistorics Illustrated - Guest
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start


2010/03/30 06:03:16 - http://206.123.100.130/~prehisto/site/index.php?page=chat&type=misc - Guest
has_specific_permission: see_hidden_groups,chat
has_specific_permission: see_hidden_groups,chat


2010/03/30 06:03:16 - http://206.123.100.130/~prehisto/site/index.php?page=chat&type=room&id=general_chat - Guest
has_specific_permission: see_hidden_groups,chat
has_specific_permission: see_hidden_groups,chat


2010/03/30 06:03:17 - http://206.123.100.130/~prehisto/site/index.php?page=chat&type=room&id=general_chat&keep_su=bambam - Guest
has_specific_permission: see_hidden_groups,chat
has_specific_permission: see_hidden_groups,chat
has_specific_permission: see_hidden_groups,chat
has_specific_permission: see_php_errors,chat
has_specific_permission: see_php_errors,chat
has_zone_access: adminzone
has_specific_permission: access_closed_site,chat
has_specific_permission: comcode_dangerous,chat
has_specific_permission: ,cms_chat,chat,1
has_zone_access: adminzone
has_specific_permission: access_closed_site,chat
has_specific_permission: edit_highrange_content,cms_comcode_pages
has_specific_permission: edit_highrange_content,cms_comcode_pages
has_specific_permission: view_profiling_modes,chat
has_specific_permission: edit_highrange_content,cms_comcode_pages
has_specific_permission: banner_free,chat
has_specific_permission: see_software_docs,chat
has_specific_permission: see_software_docs,chat
has_specific_permission: sees_javascript_error_alerts,chat
has_specific_permission: view_profiling_modes,chat
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_zone_access: adminzone
has_specific_permission: see_software_docs,chat
has_specific_permission: assume_any_member,chat
has_specific_permission: view_profiling_modes,chat
has_zone_access: adminzone


2010/03/30 06:03:17 - http://206.123.100.130/~prehisto/site/index.php?page=start&action=all&room_id=1&keep_su=bambam - Guest
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_php_errors,start
has_specific_permission: see_php_errors,start
has_zone_access: adminzone
has_specific_permission: access_closed_site,start


2010/03/30 06:03:17 - http://206.123.100.130/~prehisto/site/index.php?page=start&action=all&room_id=1&keep_su=bambam - Guest
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_php_errors,start
has_specific_permission: see_php_errors,start
has_zone_access: adminzone
has_specific_permission: access_closed_site,start


2010/03/30 06:03:17 - http://206.123.100.130/~prehisto/site/index.php?page=start&action=post&keep_su=bambam - Guest
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_hidden_groups,start
has_specific_permission: see_php_errors,start
has_specific_permission: see_php_errors,start
has_zone_access: adminzone
has_specific_permission: access_closed_site,start


2010/03/30 06:03:17 - http://206.123.100.130/~prehisto/site/index.php?page=chat&type=room&id=general_chat - Guest
has_specific_permission: see_hidden_groups,chat
has_specific_permission: see_hidden_groups,chat


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59354
Avatar

Hi,

I just did a little test myself and Firebug told me the answer, I got this in the console:

Code

POST http://206.123.100.130/~prehisto/site/messages.php?action=post&keep_su=Guest&keep_session=1475825593
POST http://206.123.100.130/~prehisto/site/messages.php?action=post&keep_su=Guest&keep_session=1475825593
   
200 OK
      1.53s   javascri...t_ajax.js (line 21)
ParamsHeadersPostPutResponseCacheHTML
Response Headers
Request Headers

This site is still being installed. If you are the one installing it, you may login and open the site to the public when you are ready.

In human-speak what that actually means is the chat won't work with SU when the site is closed if the member being SU'd to doesn't have access to view a closed site.
I've actually just deployed a fix to your site for this… now it's a bit more smart about it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59363
Avatar

Community saint

Thanks Chris it works great.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: