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.


Error when trying to join a usergroup

Login / Search

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

Community saint

This error occures from a link on the Collaboration Zone's About page but not from the Usergroups link.

When my test user 'test' tries to join usergroup "Super-member" from the Join Super-member link on the Collaboration Zone's About page, I get an error when I click the "proceed" button. (To get there: Collaboration Zone –> click link "the about page" –> click link "apply to join the Super-members usergroup" –> click "Proceed" button –> error) (Can anyone else repeat this error?)

But when I try to join the same usergroup from the Usergroup page, I'm able to join without any problems. (Both ways my test user is a non-member of that group.)

Stack trace said

 An error has occurred

A field that was supposed to be an integer (for our purposes, a whole number between -2147483648 and 2147483647) was not (version: 7.1.4, PHP version: 5.3.6, URL: /index.php?page=groups&type=apply&id=Super-members&keep_fata
listic=1&keep_su=test)

You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from).
Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website 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, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.

We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File    '/home/'xxxxxxx'/public_html/sources/failure.ph
p'
Line    '674'
Function    'get_html_trace'
Args    

File    '/home/'xxxxxxx'/public_html/sources/global2.ph
p'
Line    '965'
Function    '_fatal_exit'
Args    

object

File    '/home/'xxxxxxx'/public_html/sources/failure.ph
p'
Line    '232'
Function    'fatal_exit'
Args    

object

File    '/home/'xxxxxxx'/public_html/sources/global2.ph
p'
Line    '925'
Function    '_generic_exit'
Args    

object

'WARN_SCREEN'

File    '/home/'xxxxxxx'/public_html/sources/failure.ph
p'
Line    '113'
Function    'warn_exit'
Args    

object

File    '/home/'xxxxxxx'/public_html/sources/global2.ph
p'
Line    '1,520'
Function    '_param_invalid'
Args    

'id'

'Super-members'

false

File    '/home/'xxxxxxx'/public_html/site/pages/modules
/groups.php'
Line    '494'
Function    'get_param_integer'
Args    

'id'

File    '/home/'xxxxxxx'/public_html/site/pages/modules
/groups.php'
Line    '612'
Function    'add_to'
Class    'Module_groups'
Object    Module_groups::__set_state(array( ))
Type    '->'
Args    

true

'test'

File    '/home/'xxxxxxx'/public_html/site/pages/modules
/groups.php'
Line    '134'
Function    'apply'
Class    'Module_groups'
Object    Module_groups::__set_state(array( ))
Type    '->'
Args    

File    '/home/'xxxxxxx'/public_html/sources/zones.php'
Line    '386'
Function    'run'
Class    'Module_groups'
Object    Module_groups::__set_state(array( ))
Type    '->'
Args    

File    '/home/'xxxxxxx'/public_html/sources/site.php'
Line    '967'
Function    'load_module_page'
Args    

'site/pages/modules/groups.php'

'groups'

File    '/home/'xxxxxxx'/public_html/sources/site.php'
Line    '750'
Function    'request_page'
Args    

'groups'

true

File    '/home/'xxxxxxx'/public_html/index.php'
Line    '114'
Function    'do_site'
Args    

Parameters
id    
4

Steve
Back to the top
 
Posted
Rating:
#74316
Avatar

Happens when usergroup is made open membership. We'll fix, but quick fix you can do is edit that Comcode page and change the link to include a numeric ID for the group #.


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

Community saint

Thanks, Chris!

I'll just wait for the fix since it's not an important issue for me.

 I never tried the "problem" link with a "closed" membership to see what would happen.

Steve
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: