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: 276
  • Total: 277
  • 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.

ratbat

@IchBin
After Upgrading from SMF 1.1.12 to 2.0 I have the same problem.

I have a authorID column in the smf_tp_dlmanager table instead of author_ID. Could that be the problem?


Martine M

ah yes now I see it to I have also authorID in both.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

ratbat

I fixed it in changing the column names in both tables.  :)

Martine M

#13
Do I have to fix that in the database???????

Never fixed anything in the database.
I have taken a look and I can't seem to find how to change the name.

I better wait for som instruction.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

ratbat

#14
That's easy when you use phpMyadmin:

1. Choose the SMF database
2. Click on the table (e. g. smf_tp_dlmanager) on the left side
3. Choose the structure tab
4. Look for authorID and press the edit button behind
5. Change the field name from authorID to author_id
6. Click the save button

Do this with smf_tp_dlmanager and smf_tp_articles. That's it.


IchBin

Awesome. Thanks for reporting guys. It looks like the database script isn't updating the tables properly. I'll add this to my bug list. Following ratbat's suggestion should fix the problem. I edited and made one small change to your instructions ratbat to change it to author_id instead of author_ID. Thanks ratbat!

Martine M

Thanks ratbat, I'll try it later today, can't seem to get on the server website for the moment.
I let you know if I could change it.

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

Greetings Martine

Martine M

Yes finally could get on the server client site.
I fixed it, it was indeed easy now I know how it is done. :)

Did it on live and test forum and all works fine now.
Thanks again.
Running SMF 2.04 - Bloc's Theme Argentum enhanced - TP 1.107 - Main Forum language English - Browser Firefox 21

Greetings Martine

archiebald

I had similar issues when doing an upgrade.

As a test I then made a clean install of SMF 2.0 and added TP1.104

There were issues with several of the tables that required manual editing of the database. (sorry I didn't make any notes)

As already mentioned there seems to be one or more issues with the install script.

I am running on a Windows 2003 server, PHP 5.3.4 and MySQL 5.0.7

This website is proudly hosted on Crocweb Cloud Website Hosting.