Hi, after the migration from 1.7.4 to 1.8.0, with no error messages in the process, when i go to execute the test cases, i get, in the frame of the tree, the error:
Fatal error: Call to a member function hasRight() on a non-object in /var/www/testlink/lib/functions/users.inc.php on line 307
somebody know where is the my error?
thanks
regards.
fatal error after migration
Moderators: Amaradana, TurboPT, TL Developers
-
- TestLink user
- Posts: 10
- Joined: Fri Oct 24, 2008 7:04 pm
same problem (different only start point version of migration 1.7.5).
it seams that roleinfo object is not initialized anywhere before in code...
still try to find possible solution. may be dev can helps.
finded results of occur in hole folder of testlink:
may be importance.
final version that has this trouble was loaded from this link http://sourceforge.net/project/showfile ... _id=673555
it seams that roleinfo object is not initialized anywhere before in code...
still try to find possible solution. may be dev can helps.
finded results of occur in hole folder of testlink:
Code: Select all
Search "roleInfo" (6 hits in 2 files)
E:\webserver\home\localtestlink\www\lib\functions\users.inc.php (4 hits)
Line 305: foreach($users_roles as $keyUserID => $roleInfo)
Line 307: if($roleInfo['effective_role']->hasRight('testplan_execute') && $roleInfo['user']->bActive)
Line 307: if($roleInfo['effective_role']->hasRight('testplan_execute') && $roleInfo['user']->bActive)
Line 309: $userFilter[$keyUserID] = $roleInfo['user'];
E:\webserver\home\localtestlink\www\lib\usermanagement\usersEdit.php (2 hits)
Line 343: $roleInfo = tlRole::getByID($dbHandler,$roleID);
Line 344: return $roleInfo->name;
final version that has this trouble was loaded from this link http://sourceforge.net/project/showfile ... _id=673555
-
- TestLink user
- Posts: 10
- Joined: Fri Oct 24, 2008 7:04 pm