21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1583 Views |
-
Behaviour is not defined and Add Member Failure

21 July 2009 at 6:22pm
I'm using, SilverStripe CMS - 2.3.2 on apache.
I can't add users to a security group. Also in firebug i see the same error says:Behaviour is not defined
security()security (line 504)
[Break on this error] <script type="text/javascript">Behaviour.addLoader(hideLoading)</script>\nWhen i click add user after filling form fields, i take this error message (server can't found??)
Website Error
There has been an errorThe website server has not been able to respond to your request.
I'm confused how can silverstripe developers can publish this version without user modify.
Is there anyone having the same problems? -
Re: Behaviour is not defined and Add Member Failure

21 July 2009 at 6:41pm
Enable devmode and see what the error you get is. http://doc.silverstripe.com/doku.php?id=debugging#dev_mode
-
Re: Behaviour is not defined and Add Member Failure

21 July 2009 at 6:54pm
Hi willr,
Thanks for the quick reply. Here is the error what i get:
User Error] Uncaught Exception: Object->__call(): the method 'addtogroup' does not exist on 'Form'
POST /admin/security/EditFormcase isset($config['function']) :
507 return $config['function']($this, $arguments);
508
509 default :
510 throw new Exception (
511 "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
512 );
513 }
514 } else {
515 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'");
516 }
517 }
518
519 // -----------------------------------------------------------------------------------------------------------------
520
521 /** -
Re: Behaviour is not defined and Add Member Failure

22 July 2009 at 8:39am
Ah no sorry never seen this. Perhaps double check you uploaded all the files successfully this revisit the page with a ?flush=1 attached to the url
-
Re: Behaviour is not defined and Add Member Failure

22 July 2009 at 5:59pm
Hi willr,
Thanks for the reply but it don't think this happens because of a cache mistake... I replaced all files, also installed a new ss. But no difference.
But there's one think: when i add ?flush=1 parameter at the end of the url i have a new error:
Fatal error: Class name must be a valid object or a string in ...\www\cms\code\SecurityAdmin.php on line 174
| 1583 Views | ||
|
Page:
1
|
Go to Top |


