Advertisement:

Author Topic: Unknown column 'CATEGORY' in 'field list'  (Read 2404 times)

Offline souria

  • Semi-Newbie
  • *
  • Posts: 15
Unknown column 'CATEGORY' in 'field list'
« on: December 23, 2008, 11:48:42 AM »
I am getting this error when I try to add an ad.
I upgraded my SMF to 2.0 beta 4 and manually
install the ad mod


Unknown column 'CATEGORY' in 'field list'
File: XXXXXXXXXXX/Sources/Ads.php
Line: 216
« Last Edit: December 23, 2008, 01:42:30 PM by Oldiesmann »

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,893
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Unknown column 'CATEGORY' in 'field list'
« Reply #1 on: December 23, 2008, 12:25:45 PM »
Run this query in phpMyAdmin:

Code: [Select]
ALTER TABLE smf_ads ADD COLUMN CATEGORY tinytext
Michael Eshom
Cincy Space - now open!

Offline souria

  • Semi-Newbie
  • *
  • Posts: 15
Re: Unknown column 'CATEGORY' in 'field list'
« Reply #2 on: December 23, 2008, 01:20:54 PM »
thank you that worked.