Hello everybidy, after spending 1 day installing yii, I am fithing now with USer Management Module. Every thing looks like ok until I try to create something ( user, role, etc etc ...)
I have got this error when system trying to diplay the creation from and or update form.:
Fields with * are required.
Superuser *
Status *
User belongs to these roles
( ! ) Fatal error: Cannot re-assign auto-global variable _POST in C:\xampp\htdocs\wba\protected\modules\user\components\Relation.php on line 723
Call Stack
Can someone help or have some ideawhere to look for ?
Thanks
Fred
Page 1 of 1
User Management Problem Can not create anything----
#3
Posted 05 September 2012 - 03:40 PM
FredT, on 12 August 2012 - 11:17 AM, said:
Hello everybidy, after spending 1 day installing yii, I am fithing now with USer Management Module. Every thing looks like ok until I try to create something ( user, role, etc etc ...)
I have got this error when system trying to diplay the creation from and or update form.:
Fields with * are required.
Superuser *
Status *
User belongs to these roles
( ! ) Fatal error: Cannot re-assign auto-global variable _POST in C:\xampp\htdocs\wba\protected\modules\user\components\Relation.php on line 723
Call Stack
Can someone help or have some ideawhere to look for ?
Thanks
Fred
I have got this error when system trying to diplay the creation from and or update form.:
Fields with * are required.
Superuser *
Status *
User belongs to these roles
( ! ) Fatal error: Cannot re-assign auto-global variable _POST in C:\xampp\htdocs\wba\protected\modules\user\components\Relation.php on line 723
Call Stack
Can someone help or have some ideawhere to look for ?
Thanks
Fred
Hello Fred, did you solve the issue? because i have the same problem :-/ but with yiishop module!!!
could be someting about php version?
#4
Posted 05 September 2012 - 04:52 PM
That is caused by some dirty code like
PHP v5.4 finally has begun to complain about this.
public function handleAjaxRequest($_POST) {
// ^^^^^^ WTF?!
print_r($_POST);
}PHP v5.4 finally has begun to complain about this.
Born to create drama
#5
Posted 07 November 2012 - 07:12 AM
public function handleAjaxRequest($POST) {
print_r($POST);
}Changing this in Relation.php worked for me
Share this topic:
Page 1 of 1

Help














