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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 578
  • Total: 579
  • @rjen

Javascript errors after SMF 1.1 + TP 97 integration with DilberMC

Started by MattMcFarland, January 17, 2007, 10:01:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

G6Cad

No you didnt.
Please read back on what i wrote

Quote1, backup the TP-Downloadsfolder if you have any downloads in your site, and the Attachments folder
2. Backup the 2 files in your forum root called settings.php and settings.bak.php
3. REMOVE ALL files from your forum folder

4. Download and extract all the files from the FULL SMF install package to your local machine.
5. Upload ALL the files to your forum folder

6. Upload and overwrite the settings.php and settings.bak.php, tp-downloads and the attachments folder.

Refresh your forum

7. Install TP to your forum now BEFORE you install ANY thing else, no themes, no mods no nothing before you have it working in the default theme.

DO NOT TOUCH THE DB IN ANY WAY !!

And then your reply after you made it to the 6th step.

QuoteWHEN TRYING TO REPAIR THE DB:

UNIQUE and INDEX keys should not both be set for column `ID_TOPIC` UNIQUE and INDEX keys should not both be set for column `ID_MEMBER` More than one INDEX key was created for column `ID_MEMBER`

Please NOTE: I did not modify the DB manually in any way shape or form. Just did a manual install of TP unto a non-modded SMF site.

Again, You should have left the DB alone

MattMcFarland

YeswI replied after step 6 because I assumed that it should have atleast recognized the CORE but it did not.  I then followed through with STEP 7 and the CORE was still broken.

As far as the manual movement I did not touch the DB I made backups and messed with those..   Please do give me a little credit?  Sheesh

You're taking me the wrong way and assuming I'm not listening where as I'm doing the best I can.  I did everything you said now tell me after step 6 wouldnt the core files look right?  And also why is it after step 7 the site behaves just like it did?  Obviously your 7 step process didnt work so its time to think of another way to fix this. 

I think you took me the wrong way and decided not to help any further and since I tried to repair the DB AFTER your advice didnt work you dont want to help me at all. but I have backups and I am very careful. 

You're trying to say "you shouldn't have touched the DB" but thats a cheap way to blame me for it not working right whereas it wasnt working beforehand and I'm using a copy that was not altered at all right now..

I do apologize for fighting with you, this isnt my intent. I just want to fix this and I'm getting very excited about it because to no avail..

MattMcFarland

One last thing:

I have no Javascript errors at all until I move my prior settings.php and settings.php.bak over to the server.  The database they point to was not modified.. again.. please understand that.  As soon as I move the settings.php file over the Default Core breaks. What happens is this:

JavaScripts break
All the Default (babylon, classic, default core) themes do NOT work but if I duplicate them I can get the duplicates to work.  The Javascripts however remain broken

INSTALLING TP (STEP 7) DOESNT CHANGE ANYTHING

I think this is an indication that the database is screwed up and not SMF nor TP.  But how it got screwed up we can speculate.  I never touched the Database but ran the TP manual isntall scripts and I think thats where it happened.  I dont know for sure.. but I do think this is an issue that will pop up again and possibly a bug that should be fixed.  I do programming myself so I can see this is feasible.

JPDeni

Sounds to me like it's the settings.php file that's the problem, then.

You might try running repair_settings.php which you can download from here.

MattMcFarland

Quote from: JPDeni on January 18, 2007, 06:43:10 PM
Sounds to me like it's the settings.php file that's the problem, then.

You might try running repair_settings.php which you can download from here.

This fixed the problem 100%  Thank you so much..  I am so happy that the database was in fact intact, and it was just a settings issue.  Again, Thank you for your help.

G6:  Thank you for putting in your effort to fix the problem.  I do appreciate your help and sorry we got into a dispute.

G6Cad

No dispute, just a discussion  ;)

Glad your DB were saved though, all other things you can get back as it was, but the DB is gone if it breaks

IchBin

Matt, thanks for handle this situation the way you did. Communication is often a probelm on the internet when its so easy to "read into" what you think someone is saying. Glad you got it sorted. Sounds like you had a lot of fun. :)

MattMcFarland

Indeed the Internet can be a wonderful place :)  Thanks for your help guys and I'm happy to have TP delivering content across the weberspace via my site ;)=b!!!

This website is proudly hosted on Crocweb Cloud Website Hosting.