TinyPortal
Development => Support => Topic started by: Dynotrick on February 19, 2009, 10:59:53 PM
I upgraded to beta 3 using the failed install method. (did some files manually)
The only error I noticed so far is when trying to view the profile page I get.
Fatal error: Cannot redeclare tpsummary() (previously declared in /var/www/forums/Sources/TPmodules.php:2039) in /var/www/forums/Sources/Profile.php on line 2958
In searching and then comparing the two files it looks like a chunk of code is duplicated near the end of each where it declares several TP functions.
I'm unsure which file these functions belong in and from which I can delete the duplicated code.
Interestingly neither of these files were ones that I had to update manually. Based on the code I'm a bit surprised that I'm only seeing the error in one spot (or maybe I didn't find the other places it will error yet.)
Attached are the two php files from my current install.
Forum version is SMF 1.1.8
TP version is 1.0 beta 3
Theme: Default SMF
Mods: TP only
can you test in attachment files
Fussilet, Our TPmodules.php files match 100%
Your Profile.php file does not include all that code at the end, but it is also missing large chunks of other TP code. Maybe it's an older version (it says SMF 1.1.4)
I went ahead and deleted all the TP functions from the end of my Profile.php file and now everything appears to be working.
My main concern now is: Was that the correct code to delete?
I had this error and so did some other user. I removed the duplicates from the profile.php due to the profile page would error out for me and would not appear for the other user unless the code was removed.