Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ferdinan on February 25, 2010, 02:07:34 AM

Title: Can't post profile messages.
Post by: ferdinan on February 25, 2010, 02:07:34 AM
HELP!
I get this error when i try to post profile messages on my forum ( SMF 2.0 RC2 ). It has the Ultimate Profile mod

Fatal error: Cannot redeclare comment() (previously declared in /home/a3823493/public_html/foro/Sources/Profile-Actions.php:81) in /home/a3823493/public_html/foro/Sources/Profile-Actions.php on line 343

What can i do¿?
Title: Re: Can't post profile messages.
Post by: JBlaze on February 25, 2010, 02:38:21 AM
It means that for some reason, the comment() function is declared twice. Ask the mods author for more specific support.
Title: Re: Can't post profile messages.
Post by: ferdinan on February 25, 2010, 05:57:25 PM
Apparently the problem was that i first installed the mod PROFILE COMMENTS, and then Ultimate Profile, so i had two different profile comment mods and that was the error.

But i deleted the duplicated entry and uninstalled the first mod, and the error now is weird, i can post comments but if i post "hello", it appears three times.  Any ideas¿?
Title: Re: Can't post profile messages.
Post by: Oldiesmann on February 25, 2010, 07:13:09 PM
Some template code probably didn't get removed. Please attach your copy of Profile.template.php.
Title: Re: Can't post profile messages.
Post by: ferdinan on February 25, 2010, 10:23:53 PM
There it is...
Title: Re: Can't post profile messages.
Post by: ferdinan on February 27, 2010, 03:46:24 PM
Also the pictures i upload to the album, appear three times as well.