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.


Chat room error

Login / Search

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

Well-settled

 Hi

I am getting a error when I am trying to edit this chat room. I deleted all the old ones and create this one. 

The following error happens after I save the new chat room, then try and edit it.  For the Group disallow list I am using this : Guests,New Member,Regular Member,Bronze Member,Silver Member,Gold Member, Paid Member and for the Group allow list : Chat Room.

Chris if this is bug can please try and give me some code to do quick fix on this problem before the next release?

Thanks
Phil


PHP NOTICE [8] Undefined index: 13141591210 (ocPortal version: 3.1.3, PHP version: 5.2.1, URL: /community/data/iframe.php?zone=adminzone&page=admin_chat&ty
pe=_ed)
Here is the stack trace:

Below is a stack trace revealing the state ocPortal was in when the error occurred. If this represents a bug in ocPortal's unmodified software, you may want to check ocportal.com for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, the human situation, version numbers, and any other appropriate information.
We apologise for this problem and hope you will work with us so that we can fix it promptly. File 'C:\Inetpub\web\users\cyberchatnet.com\community\sources\glo
bal2.php'
Line '695'
Function 'get_html_trace'
Args

File 'C:\Inetpub\web\users\cyberchatnet.com\community\sources\glo
bal2.php'
Line '433'
Function 'clean_exit'
Args
'PHP NOTICE [8] Undefined index: 13141591210'

File 'C:\Inetpub\web\users\cyberchatnet.com\community\sources\cha
t.php'
Line '1,342'
Function 'ocportal_error_handler'
Args
8

'Undefined index: 13141591210'

'C:\Inetpub\web\users\cyberchatnet.com\community\sources\cha
t.php'

1342

array

File 'C:\Inetpub\web\users\cyberchatnet.com\community\adminzone\p
ages\modules\admin_chat.php'
Line '135'
Function 'rev_parse_allow_list_input_groups'
Args
'13141591210'

File 'C:\Inetpub\web\users\cyberchatnet.com\community\sources\aed
_module.php'
Line '613'
Function 'fill_in_edit_form'
Class 'Module_admin_chat'
Object Module_admin_chat::__set_state(array( 'lang_type' => 'CHATROOM', 'select_name' => 'NAME', 'select_name_description' => 'DESCRIPTION_NAME', 'author' => 'Philip Withnall', 'archive_entry_point' => '_SEARCH:chat', 'view_entry_point' => '_SEARCH:chat:type=room:room_id=_ID', 'module_type' => 'chat', 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'default_type' => 'misc', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'permissions_require' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => array ( 0 => array ( 0 => 'delete', 1 => array ( 0 => '_SELF', 1 => array ( 'type' => 'delete_all', ), 2 => '_SELF', ), 2 => 'Delete all rooms', ), ), 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => stdClass::__set_state(array( 'type_code' => 'd', )), 'alt_aed_module' => NULL, 'seo_type' => NULL, 'award_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Type '->'
Args
'5'

File 'C:\Inetpub\web\users\cyberchatnet.com\community\sources\aed
_module.php'





Last edit: by ptaylor2
Back to the top
 
Posted
Rating:
#29722
Avatar



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:
#29734
Avatar

Well-settled

That did work

 

Chris Graham said

Confirmed and fixed:
/site/pg/catalogues/entry/382
  I edit the file with the code you gave me and that did not fix the problem. Since the error is accuring while editing the chat room should the change be index.php?page=admin_chat&type=ed and not in the chat.php please?

Thanks
Phil


Last edit: by ptaylor2
Back to the top
 
Posted
Rating:
#29739
Avatar

If you post the new stack dump I should be able to see if the fix was properly applied from it. The file I specified is the correct file for the fix.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: