Skip to Content Skip to Menu

cannot redeclare class mosprofiler

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 8 months ago #57508 by slabbi
Replied by slabbi on topic Re:cannot redeclare class mosprofiler
Please send me the url and maybe a user login so I can check what is going on.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • weazle
  • weazle
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
16 years 2 weeks ago #79227 by weazle
Replied by weazle on topic Re:cannot redeclare class mosprofiler
Was there any resolution on this? Please, when troubleshooting something and the process goes off-site, come back and share your findings for the rest of us who may experience the same issue!

I get the same thing... here's my info:

Database Version: 4.1.14-nt
PHP Version: 4.4.4
Web Server: Apache/2.0.54 (Win32) PHP/4.4.4
WebServer to PHP interface: apache2handler
Joomla! Version: Joomla! 1.0.13 Stable
CB Version: 1.1
uddeim Version: 1.4/2008-10-01

ANY function having to do with uddeIM gives this error. I know this is the CB forums, but this seems to be the only pace I can find this exact problem!

Any help would be much appreciated....

Thanks,
Scott

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 2 weeks ago #79228 by slabbi
Replied by slabbi on topic Re:cannot redeclare class mosprofiler

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • weazle
  • weazle
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
16 years 2 weeks ago #79237 by weazle
Replied by weazle on topic Re:cannot redeclare class mosprofiler
Yep! that was it! Thanks!

For everyone else:

In your uddeIM.php fie at around lines 34-35 comment these lines out: (use // to comment out)

[code:1] if (file_exists(uddeIMgetPath('absolute_path').'/includes/mambo.php'))
require_once(uddeIMgetPath('absolute_path').'/includes/mambo.php');[/code:1]

so it then looks like:

[code:1]// if (file_exists(uddeIMgetPath('absolute_path').'/includes/mambo.php'))
//require_once(uddeIMgetPath('absolute_path').'/includes/mambo.php');[/code:1]

What's happening is mambo.php is being request by another function in another module/component on your site. This is only "required" for old mambo sites, so disabling (commenting out) this "require_once" will not effect your site if you're on Joomla!.

Post edited by: weazle, at: 2008/11/08 20:58

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum