News: June 24th, 2017, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.3! GET IT NOW!!!

Login  |  Register
* * *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 18, 2017, 05:11:19 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181490
  • Total Topics: 20355
  • Online Today: 43
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 2
Guests: 37
Total: 39

Skinz





Author Topic: Block display on certain boards not working after upgrade  (Read 1180 times)

0 Members and 1 Guest are viewing this topic.

Offline riomargroup

  • Jr. Member
  • **
  • Posts: 10
Re: Block display on certain boards not working after upgrade
« Reply #10 on: September 21, 2017, 01: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?

Offline lurkalot

  • Administrator
  • *
  • Posts: 3693
    • Camera Craniums
Re: Block display on certain boards not working after upgrade
« Reply #11 on: September 21, 2017, 02:06:22 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.

Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline riomargroup

  • Jr. Member
  • **
  • Posts: 10
Re: Block display on certain boards not working after upgrade
« Reply #12 on: September 21, 2017, 03: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

Offline lurkalot

  • Administrator
  • *
  • Posts: 3693
    • Camera Craniums
Re: Block display on certain boards not working after upgrade
« Reply #13 on: September 21, 2017, 04:02:45 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.
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline riomargroup

  • Jr. Member
  • **
  • Posts: 10
Re: Block display on certain boards not working after upgrade
« Reply #14 on: September 21, 2017, 04: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.

Offline lurkalot

  • Administrator
  • *
  • Posts: 3693
    • Camera Craniums
Re: Block display on certain boards not working after upgrade
« Reply #15 on: September 22, 2017, 01:54:06 AM »
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.
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline riomargroup

  • Jr. Member
  • **
  • Posts: 10
Re: Block display on certain boards not working after upgrade
« Reply #16 on: September 26, 2017, 09:28:51 AM »
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.




Offline lurkalot

  • Administrator
  • *
  • Posts: 3693
    • Camera Craniums
Re: Block display on certain boards not working after upgrade
« Reply #17 on: September 26, 2017, 11:30:54 AM »
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.
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Offline riomargroup

  • Jr. Member
  • **
  • Posts: 10
Re: Block display on certain boards not working after upgrade
« Reply #18 on: September 26, 2017, 12:21:15 PM »
My next attempt will be installing SMF & TP from scratch. I will report back.