Author Topic: [1.7-beta] I can not edit workspace permissions  (Read 3111 times)

Henry

  • Full Member
  • ***
  • Posts: 159
    • View Profile
[1.7-beta] I can not edit workspace permissions
« on: March 18, 2010, 03:12:37 pm »
I want to change the workspace permission, but i see a Fatal error

Fatal error: Call to a member function isGuest() on a non-object in /volume1/web/fo_test/application/models/projects/Project.class.php  on line 1925

log.php:

Session "default" started at 2010-03-18T17:08:18+0000
#1 ERROR: Error: Undefined variable: users in '/volume1/web/fo_test/application/views/group/group_users_control.php' on line 7 (error code: 8)
Time since start: 0.749823093414 seconds
-------------------------------------------------------------------------------

shaiss

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: [1.7-beta] I can not edit workspace permissions
« Reply #1 on: March 31, 2010, 04:34:38 pm »
I have a similar error, but different php file and line
Code: [Select]
Fatal error: Call to a member function isGuest() on a non-object in /var/www/collab/application/controllers/ProjectController.class.php on line 516output of php -v
Code: [Select]
PHP 5.2.4-2ubuntu5.7 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 21 2009 19:52:39)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Apache/2.2.8
MySql 5.1.37-1ubuntu5.1

I'm able to recreate the bug localy on my ubuntu desktop running
php 5.2 apache 2.2.12 mysql 5.1.37

Code: [Select]
( ! ) Fatal error: Call to a member function isGuest() on a non-object in /var/www/fengoffice/application/controllers/ProjectController.class.php on line 516
Call Stack
# Time Memory Function Location
1 0.0002 128744 {main}( ) ../index.php:0
2 0.0008 222544 require( '/var/www/fengoffice/init.php' ) ../index.php:9
3 0.1104 10896440 Env::executeAction( ) ../init.php:150
4 0.1284 13964544 PageController->execute( ) ../Env.class.php:133
5 0.1284 13964672 Controller->execute( ) ../PageController.class.php:62
6 0.1285 13974144 ProjectController->edit( ) ../Controller.class.php:76

cache/log.php shows
Code: [Select]
<?php die(); ?>
Session "default" started at 2010-03-31T18:47:44+0000
#1 ERROR: Error: Undefined variable: users in '/var/www/fengoffice/application/views/group/group_users_control.php' on line 7 (error code: 8)
Time since start: 0.128413915634 seconds
-------------------------------------------------------------------------------

Session "default" started at 2010-03-31T18:47:50+0000
#1 ERROR: Error: Undefined variable: users in '/var/www/fengoffice/application/views/group/group_users_control.php' on line 7 (error code: 8)
Time since start: 0.137706041336 seconds
-------------------------------------------------------------------------------

Session "default" started at 2010-03-31T18:47:54+0000
#1 ERROR: Error: Undefined variable: users in '/var/www/fengoffice/application/views/group/group_users_control.php' on line 7 (error code: 8)
Time since start: 0.124609947205 seconds
-------------------------------------------------------------------------------

Has this bug been replicated by the team?
« Last Edit: March 31, 2010, 04:50:01 pm by shaiss »

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: [1.7-beta] I can not edit workspace permissions
« Reply #2 on: April 01, 2010, 10:58:24 am »
Yes, it will be fixed for next release.

shaiss

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: [1.7-beta] I can not edit workspace permissions
« Reply #3 on: April 01, 2010, 12:17:44 pm »
Thank you for the reply.  Good to know feng's in active development with squashed bugs.  I'll proceed with using the beta and report any other found bugs.

shaiss

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: [1.7-beta] I can not edit workspace permissions
« Reply #4 on: April 05, 2010, 03:13:47 pm »
To confirm: This has been fixed on 1.7beta2.  I just updated and verified!  Thank you dev team!