SMF Ads Support Forum

Themes/Language => Theme Support => Topic started by: abda53 on March 19, 2007, 04:35:06 pm

Title: database error.. help - Unknown column CATEGORY in field list
Post by: abda53 on March 19, 2007, 04:35:06 pm
i did a manual install, and im getting this error when i try to add/manage an ad.

Unknown column 'CATEGORY' in 'field list'
File: /home/webadmin/forums.sd-imports.com/html/Sources/Ads.php
Line: 284

Code: [Select]
$request = db_query("
UPDATE {$db_prefix}ads
SET " . implode(',', $adsUpdate) . "
line 294            WHERE ADS_ID = '$_REQUEST[ad]'", __FILE__, __LINE__);
Title: Re: database error.. help - Unknown column CATEGORY in field list
Post by: abda53 on March 19, 2007, 05:19:06 pm
simple fix.. for some reason the install file didnt have the CATEGORY info to insert into the database..
Title: Re: database error.. help - Unknown column CATEGORY in field list
Post by: bigguy on March 20, 2007, 01:12:03 am
Glad you got it.
Title: Re: database error.. help - Unknown column CATEGORY in field list
Post by: CuTe_MaN on March 26, 2007, 04:40:26 am
how did u fix the problem???