TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 527
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 365
  • Total: 365

Users profile error

Started by GoLiAs, January 21, 2007, 11:09:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GoLiAs

Hello you guys, noob here  ;D

I installed TP on my brand new board, and i'm getting a fatal error!
Here it is:

Quote
Fatal error: Cannot redeclare tpsummary() (previously declared in /home/bmwe36b/public_html/Sources/Profile.php:2942) in /home/bmwe36b/public_html/Sources/Profile.php on line 2992
This happens when anyone wants to see somebody profile, and when i try and do a search of IP in "Who is online" block  ??? :-\
Anyone has a clue to sort this one out?? :)
Latest version of both tp and smf ;)

brianjw

This has happened to many other users including myself and you should've used the TP Search but since the topic is wide open...
It says Cannot redeclare tpsummary
That means that the same code is in Profile.php twice! So look for duplicates in that file, if not that file try Load.php
When installing TP everyone seemed to have the same problem with the profile :D

Hope this helps! :D
Brianjw

GoLiAs

Thank you ;) It did solved my problem :D
And i had done a search before i post, but i didn't got any result at all... Must had used bad keywords :-/
Anyway, thankx ;) Solved :D

brianjw

well just search for like redeclare and something might come up!
:)

No problem I am glad to help :D

IchBin

When searching make sure you search from the forum index or choose advanced search. In SMF if you search from within a board without going to the advanced search it will only search that board.

brianjw

This is kind of a bug in TP because everyone who installs TP makes the profile redeclare the code in Profile.php! ???

GoLiAs

Quote from: brianjw on January 22, 2007, 12:42:31 AM
well just search for like redeclare and something might come up!
:)

No problem I am glad to help :D

LOL, i'm not that kind of php programmer to know those keywords :)
I've made my search by typing "profile error" or "user profile error" lol
That's why i didn't got any result :D
But thank you again ;)

brianjw

Well just think about what's in your error, use one of the words from the error like redeclare. Any words from the error and if that error has been posted then something should come up related to your problem ;)

GoLiAs

oh, sorry about that  :-\ Still learning my ways arround SMF  :laugh:
I'm used to search only for thread titles, that's why i forgot to search by error  ::)
cheers ;)

brianjw

Quote from: GoLiAs on January 22, 2007, 02:35:38 AM
oh, sorry about thatÃ,  :-\ Still learning my ways arround SMFÃ,  :laugh:
I'm used to search only for thread titles, that's why i forgot to search by errorÃ,  ::)
cheers ;)
You mean still learning your ways arround TP, lol :2funny:

This website is proudly hosted on Crocweb Cloud Website Hosting.