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

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 01:11:02 AM

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

TinyPortal 2.2.0

Started by @rjen, February 11, 2022, 07:10:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Skb

Quote$smcFunc['db_change_column']('{db_prefix}tp_blocks', 'access2', array( 'name' => 'display', 'type' => 'text', 'default' => ($db_type == 'mysql' ? null : '')));

This is the code in the line 

SMF 2.1 RC4 (default theme) / TP 2.1.0

tino

Quote from: Skb on February 12, 2022, 02:11:08 PM
Quote$smcFunc['db_change_column']('{db_prefix}tp_blocks', 'access2', array( 'name' => 'display', 'type' => 'text', 'default' => ($db_type == 'mysql' ? null : '')));

This is the code in the line

What I think has happened is you installed TinyPortal 2.x.x then went back to TinyPortal 1.6.x (or similar)

Skb

I did a fresh SMF install and I still have the same problem. I cannot install TP. I think TP is having some issue with the database as I had reported here

QuoteThe database value you're trying to insert does not exist: access2
Function: require

SMF 2.1 RC4 (default theme) / TP 2.1.0

@rjen

Quote from: tino on February 12, 2022, 02:03:23 PM

Looking back it, I think you have broken your install previously. Can you give me the structure of tp_blocks?

Running Latest TP on SMF2.1 at: www.fjr-club.nl

Skb

Quote from: @rjen on February 12, 2022, 03:47:34 PM
Quote from: tino on February 12, 2022, 02:03:23 PM

Looking back it, I think you have broken your install previously. Can you give me the structure of tp_blocks?


I think you are right. What exactly do you mean 'structure of tp_blocks'. I removed latest version and tried installing 1.6.2 onwards but I still get this problem.


SMF 2.1 RC4 (default theme) / TP 2.1.0

tino

Quote from: Skb on February 12, 2022, 03:45:40 PM
I did a fresh SMF install and I still have the same problem. I cannot install TP. I think TP is having some issue with the database as I had reported here

QuoteThe database value you're trying to insert does not exist: access2
Function: require

Do you mean a completely empty database with no TinyPortal tables? As this shouldn't happen, and is what I tested. Which works.

Skb

No database is the same one only the install is full install not upgrade.

SMF 2.1 RC4 (default theme) / TP 2.1.0

tino

Quote from: Skb on February 12, 2022, 04:19:07 PM
No database is the same one only the install is full install not upgrade.

Then we need to see the structure of the database. Which can be viewed by phpMyAdmin.

It should be noted, and we are quite explicit. Going back from TinyPortal 2.x.x to TinyPortal 1.x.x will cause issues. This is one of them. You are going to have to manually correct your database.

Skb

Is this what you need to see.


SMF 2.1 RC4 (default theme) / TP 2.1.0

tino

Yes, it should look like the attached screenshot.

There are other things likely to be broken also, which I can't remember at the moment.