SimplePortal

Support => Install and Upgrade => Topic started by: pinklady on August 02, 2009, 11:31:29 AM

Title: Fatal error after install!
Post by: pinklady on August 02, 2009, 11:31:29 AM
Hi all,

I just installed Simpleportal 2.2.2 on SMF 1.1.0.

Now when i want to view a profile or my own profile i get the error (+ white page) :0:

Code: [Select]
Fatal error: Cannot redeclare getavatars() (previously declared in .../SSI.php:1599) in .../Sources/Profile.php on line 2549
Can someone please help me :) I had no problems with the profile before i installed Simpleportal.

Greets,

Pinklady :)
Title: Re: Fatal error after install!
Post by: ccbtimewiz on August 02, 2009, 12:21:09 PM
http://support.simplemachines.org/function_db/index.php?action=view_function%3Bid=348

It must have been defined twice. Can you attach your Profile.php?
Title: Re: Fatal error after install!
Post by: pinklady on August 02, 2009, 12:25:36 PM
Hi ccbtimewix :)

Thanks for your reply. I've added the portal.php file.

I didn't changed anything after the Simpleportal installation and before it worked without problems.

If i want to view a profile i get the error. Please some help  :angel: :)
Title: Re: Fatal error after install!
Post by: ccbtimewiz on August 02, 2009, 12:26:45 PM
Quote from: ccbtimewiz
http://support.simplemachines.org/function_db/index.php?action=view_function%3Bid=348

It must have been defined twice. Can you attach your Profile.php?
Title: Re: Fatal error after install!
Post by: pinklady on August 02, 2009, 12:28:39 PM
Attached above :D

I first saw only your link. After you update, i also updated my post  :D
Title: Re: Fatal error after install!
Post by: pinklady on August 02, 2009, 01:59:11 PM
It must have been defined twice. Can you attach your Profile.php?


Hi ccbtimewiz!  :wave:

I've removed the function getAvatars from SSI.php ( instead used require_once Profile.php, because i needed the function for a register block on my website ) and now it works! :D

Thanks for your help!  :D

Greets,

Pinklady :)
Title: Re: Fatal error after install!
Post by: ccbtimewiz on August 02, 2009, 02:14:43 PM
Great to see you got it. :)
SimplePortal 2.3.8 © 2008-2024, SimplePortal