TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 10:39:56 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 103
  • Total: 103

Block display on certain boards not working after upgrade

Started by riomargroup, September 19, 2017, 05:14:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

riomargroup

Uninstalled TP
Deleted TP files
Deleted all TP tables from mysql
Download TP fresh from, well, here :)
Installed TP
Imported mysql freshly dumped from live site
Same problem

Is there any log file or something I can offer to help?

lurkalot

Quote from: riomargroup on September 21, 2017, 08:24:47 PM
Uninstalled TP
Deleted TP files
Deleted all TP tables from mysql
Download TP fresh from, well, here :)
Installed TP
Imported mysql freshly dumped from live site
Same problem

Is there any log file or something I can offer to help?

Ok, something doesn't sound right there. So to be sure,

1: Copy files from live site to test site
2: Create a blank (empty) database and give it a different name from your live one.
3: Import copy of live database in to new one.
4: Make sure testsite is looking at you new database by changing it in the Settings.php file
5: Run repair_settings.php

Make sure all is working. 

6: Uninstall Tinportal
7: Install new version Tinyportal

See if it all works as expected.


riomargroup

This is what I've done.

1. Create new vm
2. copy files from live site to new site
3. import database from mysqldump of old site
4. Settings.php points to correct database
5. Ran repair_settings.php The only thing it didn't have was SSI username, but it said that was optional.
6. Uninstall Tinyportal
7. Deleted all smf_tp tables from the SM database.
8. Install TinyPortal
9. Import smf_tp tables from live database

lurkalot

Quote from: riomargroup on September 21, 2017, 10:32:31 PM
This is what I've done.

1. Create new vm
2. copy files from live site to new site
3. import database from mysqldump of old site
4. Settings.php points to correct database
5. Ran repair_settings.php The only thing it didn't have was SSI username, but it said that was optional.
6. Uninstall Tinyportal
7. Deleted all smf_tp tables from the SM database.
8. Install TinyPortal
9. Import smf_tp tables from live database

OK, I must not have read your original question correctly, or I don't understand.

I thought you were moving your live site to new host, and basically the exact same database content and files from your original live site to what will be your new live site.  If that's the case then there's no need for step 9 because you already imported those tables when you imported the database step 3, that should already contain the all the tables required.

riomargroup

I'm sorry, I must have explained improperly.

I originally did what only what said (Steps 1-5). Step 5.5 is upgrading to current SMF and TP - you said in-place TP upgrades tend not to go well, so I removed TP as much as possible (steps 6, 7 & 8) and then added it in via a "clean install" - step 9.

lurkalot

Quote from: riomargroup on September 21, 2017, 11:58:23 PM
I'm sorry, I must have explained improperly.

I originally did what only what said (Steps 1-5). Step 5.5 is upgrading to current SMF and TP - you said in-place TP upgrades tend not to go well, so I removed TP as much as possible (steps 6, 7 & 8) and then added it in via a "clean install" - step 9.

Strange.  You shouldn't have to touch the database to uninstall TP, Just uninstall old TP via package manager, and install new TP.  Really not sure what's happening, but I've done this many times without having the problem you are having.

riomargroup

Here's one to really drive you mad:

I just deleted one of the offending blocks that wouldn't properly follow the display rules. I then manually re-entered it, copying the setting directly from the working site, double checking every button and setting. Doesn't work.




lurkalot

OK, is a strange scenario I agree, but as I haven't seen this on any other site using TP, and haven't had reports of this problem I'm still convinced the problem is with your setup.  Also you know it works because your live site works ok.

Unless anyone else on the team has any ideas, then all I can say is you need to check your test site again.

riomargroup

My next attempt will be installing SMF & TP from scratch. I will report back.