TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: lakelady on March 04, 2007, 07:26:41 PM

Title: Profile error
Post by: lakelady on March 04, 2007, 07:26:41 PM
I'm building a new forum and I just installed tinyportal yesterday. I just went to view my profile and got the following message


Fatal error: Cannot redeclare tpsummary() (previously declared in /home/content/l/u/m/luminalala/html/luminalalaland/Sources/Profile.php:2942) in /home/content/l/u/m/luminalala/html/luminalalaland/Sources/Profile.php on line 2992

I don't know anything about php coding so I have no idea how to fix this. Any help would be greatly appreciated as I want to go live with this site very soon.

-edit-
I'm using SMF 1.1.2 and the DilberMC theme if this makes any difference.
Title: Re: Profile error
Post by: G6Cad on March 04, 2007, 07:27:24 PM
Can you please post a link to your site ?

Title: Re: Profile error
Post by: lakelady on March 04, 2007, 07:29:08 PM
omg that was FAST!

http://luminalala.com/luminalalaland (http://luminalala.com/luminalalaland)
Title: Re: Profile error
Post by: G6Cad on March 04, 2007, 07:30:51 PM
Brain malfunction....

Dont need the link, that error generates from duplicate code from the TP install.
If you used the old package that were posted in the forum before Bloc released TP V.097, you have the version of TP that didnt remove code when you updated this time.

What you can do is to download the premade zip file in the install board (sticky post)
Extract the files and then upload the files and overwrite the old ones, that will bring the forum to a fresh TP setup.
NOTE!! That IF you have any other mods installed that uses those files, you have to reinstall them again when you have done this.
Title: Re: Profile error
Post by: G6Cad on March 04, 2007, 07:31:20 PM
Im on the move to day, so fast is good i think  :laugh:
Title: Re: Profile error
Post by: lakelady on March 04, 2007, 07:34:32 PM
the TP I installed yesterday is .0971

next suggestion?
Title: Re: Profile error
Post by: G6Cad on March 04, 2007, 08:01:23 PM
What i wrote, download the premade zip file, extract the files, upload and overwrite the old ones, and refresh the forum :)
Title: Re: Profile error
Post by: IchBin on March 04, 2007, 08:55:55 PM
lakelady, this is usually the result of installing the TP mod twice or it not unistalling properly, and then you installing it again. It leaves duplicate code, hence the error. Check the install board for the files G6 is talking about.
Title: Re: Profile error
Post by: lakelady on March 05, 2007, 12:48:51 AM
tried the manual install etc with no luck so I went back to a pre-TP version of the board (SMF 1.1.1), upgraded to 1.1.2 and started from scratch with TP and all seems fine (so far), except now I can't install themes :( 
Title: Re: Profile error
Post by: lakelady on March 05, 2007, 03:15:58 AM
ok, the profile was working until I made DilberMC the default. Now I'm back to square one. Is there something about the Dilber theme that's causing the problem?

-edit-

changed the default back to the core SMF default theme and still have the problem so it's not the theme after all.
Title: Re: Profile error
Post by: lakelady on March 05, 2007, 03:39:48 AM
ACK! I went back and installed the premade files and ran the manual_tp_install_0971.php and now I'm getting this!


Warning: main(/home/content/l/u/m/luminalala/html/luminalalaland/Sources/QueryString.php): failed to open stream: No such file or directory in /home/content/l/u/m/luminalala/html/luminalalaland/index.php on line 49

Fatal error: main(): Failed opening required '/home/content/l/u/m/luminalala/html/luminalalaland/Sources/QueryString.php' (include_path='.:/usr/local/lib/php') in /home/content/l/u/m/luminalala/html/luminalalaland/index.php on line 49
Title: Re: Profile error
Post by: Porky on March 05, 2007, 03:50:06 AM
go here and download the repair settings and follow the directions
http://www.simplemachines.org/download/?tools