Help to create forum category.

Support for IntegraMOD 141

Moderator: Integra Moderator

Help to create forum category.

PostAuthor: shamroc » Thu May 03, 2007 2:07 am

Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.shamrocs.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
new install


What was done to try to solve the problem?
nothing



De.scription and Message

I cant createcategories , I get the following error. How do I solve this?

General 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, 'f', 3, 15, 'jkop', 'po', '')

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

shamroc
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 13, 2007 9:58 am
Cash on hand: 0.00

Re: Help to create forum category.

PostAuthor: Frost » Thu May 03, 2007 5:08 am

Seems like your sql instructions didn't get installed properly

I'll have to look at the sql file and post back
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Help to create forum category.

PostAuthor: shamroc » Fri May 04, 2007 6:49 am

THank you Frost, I hope you can help.
Last edited by shamroc on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shamroc
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 13, 2007 9:58 am
Cash on hand: 0.00

Re: Help to create forum category.

PostAuthor: CaNNon » Sat May 05, 2007 9:43 am

I have the same error frost If admin access to a site with it will help pm me.
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: Help to create forum category.

PostAuthor: CaNNon » Sat May 12, 2007 10:44 am

Anyone have a link to the mod that does the icons?
maybe a reinstall of just that, could fix the injection into the db?
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: Help to create forum category.

PostAuthor: Frost » Sat May 12, 2007 11:02 am

I'm pretty sure the Categories Hierarchy mod adds the icons to the forums, but like Found It said, integramod uses a version that was modified by an old staff member.

Can someone give me a link to the error they get?
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Help to create forum category.

PostAuthor: CaNNon » Sat May 12, 2007 11:14 am

well you can see whats happening here, [url=http]click here[/url]
I'm not sure how to link the error? but if i try to change the name from restored forums I get:
Couldn't update forums/categories table

DEBUG MODE

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

UPDATE phpbb_categories SET cat_id=3, cat_main_type='c', cat_main=0, cat_order=9000015, cat_title='Test forums', cat_desc='', icon='' WHERE cat_id=3

Line : 1202
File : admin_forums_extend.php
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: Help to create forum category.

PostAuthor: shamroc » Wed May 16, 2007 4:21 am

Just had A look at your site Cannon, did you sort out the categories problem? It looks like it.
Last edited by shamroc on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shamroc
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 13, 2007 9:58 am
Cash on hand: 0.00

Re: Help to create forum category.

PostAuthor: CaNNon » Wed May 16, 2007 9:22 am

No I have not, I did keep messing with it and now after I did something in admin (I have no idea what tho, I'm sure it has something to do with the restored in the title. <img> ) I can create some forums... but i can't change the restored title or create a new section with out 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

Re: Help to create forum category.

PostAuthor: Helter » Wed May 16, 2007 9:59 am

the cause of this is an incompatibility between acp/general admin/db maintenance and CH

here is a fix, provided by Found it

Code: Select all
 ##-----[ OPEN ]-----#admin/admin_db_maintenance.php  ##-----[ FIND ]-----#                     WHERE c.cat_id IS NULL";    ##-----[ IN-LINE REPLACE WITH ]-----#                     WHERE c.cat_id IS NULL                     AND main_type = 'c'";  


you may not be able to edit the restored forums catagory, but you should be able to move the forums out of the catagory, then delete it.
It is created by using "db maintenance/Synchronize forums and topics" without this fix
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

Re: Help to create forum category.

PostAuthor: CaNNon » Wed May 16, 2007 10:36 am

Think I already have that?
Code: Select all
            // Check for forums with invalid categories
            echo("<p><b>" . $lang['Checking_invalid_forums'] . "</b></p>n");
            $sql = "SELECT f.forum_id, f.forum_name
               FROM " . FORUMS_TABLE . " f
                  LEFT JOIN " . CATEGORIES_TABLE . " c ON f.cat_id = c.cat_id
               WHERE c.cat_id IS NULL
               AND main_type = 'c'";
            $result_array = array();
            $result = $db->sql_query($sql);
            if ( !$result )
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


Return to IntegraMOD 141

Who is online

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