Author Topic: [1.7-RC] "Error 500: OK" & "Error 500: Internal server error" when adding... (+)  (Read 4799 times)

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
[1.7-RC] "Error 500: OK" & "Error 500: Internal server error" when adding/modifying workspaces.

(Sorry, too long subject :))

Server: FreeBSD 7.2, php5-5.3.2, MySQL-server-5.1.39.
Tested on:
a. MacOSX 10.5.8+Opera 10.51/Safari 4.0.5
b. Windows XP SP3+Opera 10.53/IE8/FF3.6.3

Everything was ok, but suddenly I've received that error, when tried to add a new workspace. Tried to reassign rights for user - same error... Users receive "Error 500: OK", administrator - "Error 500: Internal server error".

Administrator still can add workspace in root folder and edit personal workspace. Users can't do anything.

Latest log messages:
PHP Fatal error: Call to a member function isGuest() on a non-object in /home/www/fengoffice/application/models/projects/Project.class.php on line 1925
« Last Edit: May 17, 2010, 06:26:53 am by Fill »

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Thanks!
We'll look at it

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Hi Fill,

this is fixed in next release.
if you want to fix your installation paste this line after line 1909 of "application/models/projects/Project.class.php"
Code: [Select]
if (!$perm->getUserOrGroup() instanceof User && !$perm->getUserOrGroup() instanceof Group) continue;

regards

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
alvarotm01, thanks!

 

anything