TinyPortal

Development => Support => Topic started by: 888mafia on April 09, 2008, 08:38:30 AM

Title: Fatal error: Cannot redeclare tpsummary()
Post by: 888mafia on April 09, 2008, 08:38:30 AM
after installing TP 1.0 i got a Fatal error:

Fatal error: Cannot redeclare tpsummary() (previously declared in /home/pokertea/public_html/Sources/Profile.php:2932) in /home/pokertea/public_html/Sources/Profile.php on line 3037

what can i do to fix this
Title: Re: Fatal error: Cannot redeclare tpsummary()
Post by: G6Cad on April 09, 2008, 11:26:48 AM
As always, postingguide, posting guide and again postingguide..
Search on the error string and you will find the answers to the issue, duplicate code in the files, you didnt uninstall the old TP before you installed the new, thats why you got duplicated code, and the error is there for sure.

Search and you will find a lot of answers on what to do to fix it.
Title: Re: Fatal error: Cannot redeclare tpsummary()
Post by: IchBin on April 10, 2008, 10:30:13 PM
I wouldn't say for sure they didn't uninstall, as SMF package manager has a bug that makes it write the code twice that seems to happen every so often.
Title: Re: Fatal error: Cannot redeclare tpsummary()
Post by: 888mafia on April 10, 2008, 11:13:46 PM
ty