[FIX] PHP5.2.4+Zend fatal error editing profile

13 years 3 months ago #47029 by ford
I get a blank page when trying to edit my user profile.

I just upgraded to PHP5.2.4 from 4.4.7 and from MySQL 4.1.22 to 5.0.45. I get the following error:

PHP Fatal error: Class 'Brugernavn' not found in /usr/local/www/joomla/administrator/components/com_comprofiler/comprofile
r.class.php on line 1366

[code:1]function getLangDefinition($text) {
if(defined($text)) $returnText = constant($text);
else $returnText = $text;
return $returnText;
}[/code:1]

Line 1366 is the line:

[code:1]if(defined($text)) $returnText = constant($text);[/code:1]

I assume it relates to the "constant" function?

Can somebody help?

Ford

Post edited by: beat, at: 2007/11/20 11:25

Post edited by: beat, at: 2007/11/20 11:26

Please Log in to join the conversation.

13 years 3 months ago #47193 by ford
Replied by ford on topic Re:PHP5 fatal error when editing profile
I had no choice but to downgrade to PHP 4.4.7 :-(

Ford

Please Log in to join the conversation.

13 years 3 months ago #47242 by janaa1234
Replied by janaa1234 on topic Re:PHP5 fatal error when editing profile
Hello, I have the same problem.. but I have not done any upgrades lately.. anybody who know what's happening? This worked fine a few days ago....

Please Log in to join the conversation.

13 years 3 months ago #47429 by Gammon
Replied by Gammon on topic Re:PHP5 fatal error when editing profile
The same problem here,
PHP Fatal error: Class ... not found in .../com_comprofiler/comprofile

I am not able to edit or create users in CB User Manager.

From System info in Joomla:
Database Version: 5.0.45-log
PHP Version: 5.2.4

Can someone please help us with suggestions on how to solve this?

Post edited by: Gammon, at: 2007/10/08 10:33

Please Log in to join the conversation.

13 years 3 months ago #47437 by censor
Replied by censor on topic Re:PHP5 fatal error when editing profile
I am having the exact same problem, just happened now a few days ago - cannot edit my profile.

I have done no changes to the system, not since this spring.

I can't put in new users, and existing users cant update their info.

The error message is the same as above, only "brugernavn" is replaced by "brukerid" (first is danish, I have norwegian).

My error code makes reference to the same line, which looks identical in the php-file:

Fatal error: Class 'Bruker ID' not found in /home/3/s/site/www/administrator/components/com_comprofiler/comprofiler.class.php on line 1366

This really hurts... Any input here would assure your reward in heaven, I am sure...

Post edited by: censor, at: 2007/10/08 15:01

Please Log in to join the conversation.

13 years 3 months ago #47570 by dcasmr
Replied by dcasmr on topic Re:PHP5 fatal error when editing profile
Is this a result of PHP5 ? I am using CB 1.1 and all of a sudden I am getting similar error message.
As a result, I cannot edit a user in backend of user management CB 1.1.
Fatal error: Class 'Quota' not found in /home/com_comprofiler/plugin.foundation.php on line 16

Post edited by: dcasmr, at: 2007/10/10 02:25

CB Language Workgroup - French

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.417 seconds

Facebook Twitter LinkedIn