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

Recent

Welcome to TinyPortal. Please login or sign up.

May 05, 2024, 08:16:36 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 274
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 263
  • Total: 263

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

Link to my site: broken https://54.85.222.211 working https://forums.poz.com
SMF version: 2.0.14
TP version: 1.3
Default Forum Language: English
Theme name and version: Theme name here
Browser Name and Version: Chrome 62
Mods installed: reCAPTCHA for SMF, Stop Spammer
Related Error messages: Block per-forum display restrictions are not being applied

Greetings,

I am migrating our site to a new host. I transferred the files and MySQL and then went and upgraded SMF & TP to the newest version (we were on SMF2.07 and TP1.107). Everything seems to be fine, but TinyPortal block display controls seem to not be functioning properly.

Certain blocks - welcome messages, advertising etc, are only supposed to display on certain forums. These restrictions do not seem to be taking place. The most obvious of these is the four advertising blocks under the login panel on the left side. Only one should be displayed. There are total four blocks, but they only are set to display one at a time depending on the forum.

How can I troubleshoot this issue?

Thank you.

lurkalot

Quote from: riomargroup on September 19, 2017, 05:14:42 PM
Link to my site: broken https://54.85.222.211 working https://forums.poz.com
SMF version: 2.0.14
TP version: 1.3
Default Forum Language: English
Theme name and version: Theme name here
Browser Name and Version: Chrome 62
Mods installed: reCAPTCHA for SMF, Stop Spammer
Related Error messages: Block per-forum display restrictions are not being applied

Greetings,

I am migrating our site to a new host. I transferred the files and MySQL and then went and upgraded SMF & TP to the newest version (we were on SMF2.07 and TP1.107). Everything seems to be fine, but TinyPortal block display controls seem to not be functioning properly.

Certain blocks - welcome messages, advertising etc, are only supposed to display on certain forums. These restrictions do not seem to be taking place. The most obvious of these is the four advertising blocks under the login panel on the left side. Only one should be displayed. There are total four blocks, but they only are set to display one at a time depending on the forum.

How can I troubleshoot this issue?

Thank you.

Strange one, not seen this before. Are the block settings all correct for each block when you look at them? Or have they changed for some reason?

riomargroup

I've gone over every option and check box. They are identical from the old, working site and the new, busted one. I can't figure it out.

lurkalot

Quote from: riomargroup on September 19, 2017, 09:07:46 PM
I've gone over every option and check box. They are identical from the old, working site and the new, busted one. I can't figure it out.

Ok, thanks.  Could you try recreating one of those blocks and see if it responds to the settings you give it. 

riomargroup

I did try that. Had two chrome windows side by side - one old site, one new site. I duplicated everything by hand, and still no luck. It gave me an error "var3" has no default value, so I applied the my.cnf 'sql_mode = ""' fix, and the error went away.

lurkalot

Quote from: riomargroup on September 20, 2017, 07:02:13 AM
I did try that. Had two chrome windows side by side - one old site, one new site. I duplicated everything by hand, and still no luck. It gave me an error "var3" has no default value, so I applied the my.cnf 'sql_mode = ""' fix, and the error went away.

Really not sure what happened to your test install tbh, as I haven't seen this happen either when moving to new host, or when making clone of my sites for testing.

How did you upgrade Tinyportal, did you uninstall the old one and install the latest version, or did you install over the top?

riomargroup

I installed the new mod over top, then deleted the old one.

I even fully uninstalled TP and did a fresh install. The only thing I can think of I haven't tried is a fresh TP install with a fresh mysql import of the TP database.

lurkalot

Quote from: riomargroup on September 20, 2017, 09:11:01 PM
I installed the new mod over top, then deleted the old one.

I even fully uninstalled TP and did a fresh install. The only thing I can think of I haven't tried is a fresh TP install with a fresh mysql import of the TP database.

OK, that'll likely be the problem.  The last couple of versions of TP have no been upgrade version, in other words the old one must be uninstalled before installing the new one.  I guess you have some stuff doubled up somewhere.  You should have seen a warning on install about uninstalling the older versions first.

riomargroup

I don't remember a warning, but that definately doesn't mean there wasn't one. I'll try this out.

lurkalot

Quote from: riomargroup on September 20, 2017, 10:28:52 PM
I don't remember a warning, but that definately doesn't mean there wasn't one. I'll try this out.

Should be, a warning in the package manager.  But I think that's what the problem is with your blocks etc, it must have doubled something up somewhere, database or files.  Might be wise to re-clone it, and then uninstall TP, then install new TP