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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,240
  • Total Topics: 21,353
  • Online today: 722
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 226
  • Total: 227
  • lurkalot

Database error message

Started by Martine M, June 18, 2011, 09:46:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Martine M

Here I am again, you can't get rid of me.  ;D

If I take "TinyPortal-Downloads" in the SMF 2.0 admin panel I get this error messages.
at my LIve forum and at my Testforum.

"Unknown column 'dlm.author_id' in 'field list'
File: /home/unitedtu/public_html/testforum/Sources/TPdlmanager.php
Line: 505"

When I take "TinyPortal-Articles" I get this

"Unknown column 'author_id' in 'where clause'
File: /home/unitedtu/public_html/testforum/Sources/TPmodules.php
Line: 624"
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

Sorry I don't understand what you are saying when you say "If I take Tinyportal-downloads". What do you mean "take"? Do you mean when you click on the link somewhere? What link are you clicking?

As for the errors, since it tells you that you are missing the author_id column, please verify that you have the author_id column in both the tp_dlmanager and tp_articles tables.

Martine M

yes I meant clicking

If I move mouse over "TinyPortal" in top of the forum a menu pops up and there I can click Downloads and/or articles and then I get those errors.

(I don't have articles yet wanted to make some)

But I see now if I click directly on "TinyPortal" and then go to the left panel of TinyPortal admin panel and take articles and/or TP Downloads I get no errors and I can make articles.

I guess the first onces I clicked on are for going to articles or downloads that already exist and because I have none I get those error.

Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

No, the error is saying that it can't find a column in the database. I do not get the same error on this site, do you? It makes me think your tables haven't been installed or updated properly.

Martine M

On this forum? I can't get to it on this forum can I?

But I get the same error message on my test site and on my live site.

And I was thinking everything of the upgrade went well, to nice to be true I geuss :(
hope it is not to hard to get it fixed.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

You can't see the TinyPortal menu with the downloads link or the "my articles" link?

Did you do this yet?
QuoteAs for the errors, since it tells you that you are missing the author_id column, please verify that you have the author_id column in both the tp_dlmanager and tp_articles tables.

Martine M

I see the download link in the left userblock is that the same one as above in my forum?
Sorry never worked with that yet from TinyPortal, but if it is I don't get error there.
Can't seem to find the my article link.

As for the quote sorry I misunderstood the whole thing there.
I'm trying to find what you mean now, don't know exactly what to look for.

But do you mean when I go to the Tinyportal admin panel and click on tpdownloads in the left menu tabel?
Then I see:
x  name  icon  files  approval  edit/delete

If I click in the left menu on Articles and then in the new screen on General artikels I get this error

Unknown column 'art.author_id' in 'field list'
File: /home/unitedtu/public_html/testforum/Sources/TPortalAdmin.php
Line: 1748

Is that all you needed?


Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

IchBin

You need to look at the database. Using a tool like phpMyAdmin or whatever your host provides. Then look at the articles table and see if there is a author_id column.

Martine M

Ah ok, sorry I really didn't understand, but I know how to do that, back in a sec.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

Martine M

well I know how to go to phpmyadmin but only uploaded database with it, don't know how to work with it.

I see the 2 things you wrote down what do I do when I click on one?
smf tp_dlmanager
smf tp_articles
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

This website is proudly hosted on Crocweb Cloud Website Hosting.