Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Structures not working

Re: Structures not working

It appears that they are implementing additional functionality that isn't completed yet. I was able to get it to work by altering the tiki_structures table and changing the structure_id column to allow Null values.

ALTER TABLE `tiki_structures` CHANGE `structure_id` `structure_id` INT( 14 ) NULL

Hope this helps.

> I get this error when adding a new structure:
>
> An error occured in a database query!
>
> Context:
> File /tikiwiki/tiki-admin_structures.php
> Url /tikiwiki/tiki-admin_structures.ph?
> Query:
> insert into `tiki_structures`(`parent_id`,`page_id`,`page_alias`,`pos`) values(?,?,?,?)
> Values:
> 0 0
> 1 4
> 2 ghghghgh
> 3 1
> Message:
> Error Message Field 'structure_id' doesn't have a default value
>
> can anyone help?

I have this message after creatin a new structure in tikiwiki-2.1 :


Une erreur a été rencontrée dans une requête à la base de données!

Context:
File tiki-admin_structures.php
Url tiki-admin_structures.php
Query:
insert into `tiki_structures`(`parent_id`,`page_id`,`page_alias`,`pos`) values(?,?,?,?)
Values:
0 0
1 130
2
3 1
Message:
Field 'structure_id' doesn't have a default value
Built query was probably:
insert into `tiki_structures`(`parent_id`,`page_id`,`page_alias`,`pos`) values('0','130','','1')


Revenir à la page précédente

Retour à la page d'accueil