Adding catergory error

Support for IntegraMOD 141

Moderator: Integra Moderator

Adding catergory error

PostAuthor: jae » Tue Feb 05, 2008 3:18 am

Your phpBB Version: 2.0.
phpBB Type: Standard phpBB
MODs: No
Your knowledge: Beginner
Board URL: http://scifi-talk.net/forum/index.php

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Hi

I can add forums to my board but when ever I try to add a gatagory I get the following error

Couldn't update forums/categories table

DEBUG MODE

SQL Error : 1054 Unknown column 'icon' in 'field list'

INSERT INTO phpbb_categories (cat_id, cat_main_type, cat_main, cat_order, cat_title, cat_desc, icon) VALUES(1, 'c', 0, 15, 'Test category 2', '', '')

Line : 1202
File : admin_forums_extend.php
Last edited by jae on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jae
Newbie
Newbie
 
Posts: 18
Likes: 0 post
Liked in: 0 post
Joined: Sat Feb 02, 2008 7:26 am
Cash on hand: 0.00

Re: Adding catergory error

PostAuthor: CaNNon » Tue Feb 05, 2008 8:54 am

I had this problem when setting them up, it was usually from not using a icon or having the path set wrong.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 12:15 pm
Cash on hand: 0.00

Re: Adding catergory error

PostAuthor: jae » Tue Feb 05, 2008 9:20 am

Hmm well I have an icon in there (show a preview of it) what do you mean by "path set wrong" also I assumed this part

SQL Error : 1054 Unknown column 'icon' in 'field list'

Meant the Icon field should not be there as there is no collumn for it??
Last edited by jae on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jae
Newbie
Newbie
 
Posts: 18
Likes: 0 post
Liked in: 0 post
Joined: Sat Feb 02, 2008 7:26 am
Cash on hand: 0.00

Re: Adding catergory error

PostAuthor: CaNNon » Tue Feb 05, 2008 9:44 am

What I had was a path error and the icon did still preview I'm not 100% sure, but I think it had to do with using the / in front I had to remove it.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 12:15 pm
Cash on hand: 0.00

PostAuthor: Zappa » Sat Feb 23, 2008 1:04 am

I have the same error and for my part is that I'm missing field icon in the DB.

Don't know when this went wrong since I've never used an icon.

Anyone know how the icon field should look like?

/Zappa
Last edited by Zappa on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Zappa
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Mon May 08, 2006 3:33 am
Cash on hand: 0.00

Re: Adding catergory error

PostAuthor: Helter » Sat Feb 23, 2008 9:49 am

was your forum originally setup for mysql4 and changed to mysql5?
this seems to be the most common cause of "Unknown column" errors

Im assuming in your config.php you have this line

$dbms = 'mysqli';

try changing it to

$dbms = 'mysql4';
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]