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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 515
  • Total: 516
  • lurkalot

I've completely lost my database! PLEASE HELP EMERGENCY

Started by dcmnorth, July 21, 2007, 11:16:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

G6Cad

The only thing i would do at this point is to replace all the old files with new ones.
Just keep the settings.php file (back up it on your local PC) (remove the settings.php from the package as you have yours allready)
Then download and extract the full install package from SMF and upload/overwrite your files with the new ones through FTP.
Refresh and that should bring the forum to all defaults and then we go from there.

dcmnorth

do I use the same settings to connect to the database or will it not ask me because I have the settings.php file already?  Do I also install it in the same forum folder? and then re-name the old one?
I am doing what you have asked as I write this.

dcmnorth

A little confusion...do you want me to keep the settings_bak that I changed the name of or do you want me to keep the settings that I changed the name to settingsold?
I have another forum that is working with fresh files set up for this occassion but I always get the same error when trying to connect to the database so I change the name of the database and I am good to go...only without any data.  So can we still go from there?
I am also making a 3rd forum folder just in case so the files will be there if needed.

Nokonium

Keep both files backed up on your PC, you may need either or both. Open them in a text editor and check that the paths are correct to the SMF/TP file set that you wish to use.

The error strongly suggests that the problem is duplicate code in one of your files. How you overcome the problem to an extent depends on what time you have. The quickest will be to reload all the Source and default theme template files from an unzipped SMF package, this will overwrite all modification code and take you back to a basic SMF board. Once you have the board running you will then be able to reinstall mods, starting with TP. If you get any failures on the install test you can only proceed if you can add the required code yourself.

Incomplete uninstalls are the primary cause of 'Cannot redeclare' errors so if you get a fail on the uninstall check you must manually delete the code from that file otherwise when you reinstall you may get a pass but be duplicating what is already there.

dcmnorth

Dear nokonium,

Thank you for your response too!  This board rocks. I don't know if others have had some of the same problems I WAS having but SMF did not come to my rescue at any time. 

Tinyportals on the other hand rose to the occassion and took on my problem.

G6 your patience with me and quick replies last night made it possible for me to finally go to sleep with an uncluttered mind.  Your suggestion fixed the problem. 

I am enternally grateful. Now I can go about putting back in my MODs one by one starting with Tiny portal. 

I take it TP is not completely compatible with the SMF mod site so I will be more careful next time. 
THANKS THANKS THANKS...


Nokonium


Ianedres

Quote from: dcmnorth on July 22, 2007, 06:53:40 PM
I take it TP is not completely compatible with the SMF mod site so I will be more careful next time. 

Call it as you will, but if the mod doesn't work with TP (versus TP working with the mod) then I don't use it.

TP *IS* the backbone that my board depends upon. Everything else is supplemental to it.  :coolsmiley:

Glad to see you're getting back to where you started...

This website is proudly hosted on Crocweb Cloud Website Hosting.