Feng Forum

Support => Older versions => : Fill May 17, 2010, 06:24:51 AM

: [1.7-RC] "Error 500: OK" & "Error 500: Internal server error" when adding... (+)
: Fill May 17, 2010, 06:24:51 AM
[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
: Re: [1.7-RC] "Error 500: OK" & "Error 500: Internal server error" when adding... (+)
: cabeza May 17, 2010, 11:09:18 AM
Thanks!
We'll look at it
: Re: [1.7-RC] "Error 500: OK" & "Error 500: Internal server error" when adding... (+)
: alvarotm01 May 17, 2010, 01:03:31 PM
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"
:
if (!$perm->getUserOrGroup() instanceof User && !$perm->getUserOrGroup() instanceof Group) continue;

regards
: Re: [1.7-RC] "Error 500: OK" & "Error 500: Internal server error" when adding... (+)
: Fill May 17, 2010, 01:41:34 PM
alvarotm01, thanks!