[BlueOnyx:09108] Re: Fatal error: Cannot redeclare class Collator in /usr/sausalito/ui/libPhp/Collator.php on line 11
Michael Stauber
mstauber at blueonyx.it
Thu Nov 24 00:03:45 -05 2011
Hi Jim,
> Fatal error: Cannot redeclare class Collator in
> /usr/sausalito/ui/libPhp/Collator.php on line 11
>
> Fatal error: Cannot redeclare class Locale in
> /usr/sausalito/ui/libPhp/uifc/Locale.php on line 116
We didn't release and updates in the last couple of weeks that could have
caused this problem. Just to be sure I checked the GUI of 5106R, 5107R and
5108R and went to the pages you mentioned. I don't see any of these problems.
So this isn't a general problem with our code, but with something odd on your
end.
The kind of problems you describe usually happen when a class or function is
declared more than once. A class is a section of re-useable code. Once it is
declared, you can simply call it elsewhere with just one command to do the
complex set of instructions that you coded into that class. However, class
names must be unique, so that PHP doesn't get confused.
Class "Collator" deals with string manipulation. Such as sorting or merging of
strings. Class "Locale" deals with the localization of the GUI and the
handling of different languages. Those two classes haven't been modified by us
in ages, because there never was any need to improve or change them.
So I wonder if you made some modifications to the GUI which could have caused
this. Like installing something that's not really designed for usage on
BlueOnyx. What did you do on the server before the error happened?
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list