Advertisement:

Author Topic: Can't post profile messages.  (Read 1157 times)

Offline ferdinan

  • Newbie
  • *
  • Posts: 4
Can't post profile messages.
« 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

Code: [Select]
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¿?

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,156
  • Gender: Male
    • @fragicide on Twitter
Re: Can't post profile messages.
« Reply #1 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.
Jason Clemons
Former Lead Customizer/Support Specialist
Twitter | Facebook | Instagram

Offline ferdinan

  • Newbie
  • *
  • Posts: 4
Re: Can't post profile messages.
« Reply #2 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¿?

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,866
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Can't post profile messages.
« Reply #3 on: February 25, 2010, 07:13:09 PM »
Some template code probably didn't get removed. Please attach your copy of Profile.template.php.
Michael Eshom
Cincy Space - now open!

Offline ferdinan

  • Newbie
  • *
  • Posts: 4
Re: Can't post profile messages.
« Reply #4 on: February 25, 2010, 10:23:53 PM »
There it is...

Offline ferdinan

  • Newbie
  • *
  • Posts: 4
Re: Can't post profile messages.
« Reply #5 on: February 27, 2010, 03:46:24 PM »
Also the pictures i upload to the album, appear three times as well.