Loading...
 
Skip to main content

Architecture / Installation


Menues - section, perm and groupname

posts: 1 Denmark

With v. 1.8 RC2 I have a problem when adding new options to a menu. The form has 3 new (relative to 1.7 versions) inputboxes (Sections, Permissions and Groups). But these boxes do not seem to have corresponding fields in the database.
When I save the menu-option I get this error message:

Warning: mysql error: Unknown column 'section' in 'field list' in query:
insert into `tiki_menu_options`(`menuId`,`name`,`url`,`type`,`position`,`section`,`perm`,`groupname`) values(?,?,?,?,?,?,?,?)
in /var/www/html/intra/lib/tikidblib.php on line 125


Is it a bug, that has to be resolved, or does someone know a simple hack, that can fix the problem.

posts: 2881 United Kingdom

Hi

If you look in your tiki.sql in the db/ folder and match the create table up.

Basically to sum it up here, you will need to create the 3 new fields

section, perm and groupname all varchar(255)

I'm guessing you ran the upgrade script and it doesnt include those new fields?

Cheers

Damian