can't create new structure, because structlib has problem (reopen bug #1649)
- Status
- Closed
- Subject
- can't create new structure, because structlib has problem (reopen bug #1649)
- Version
- 2.x
3.x - Category
- Error
- Feature
- Wiki Structure (book & table of content)
- Resolution status
- Duplicate
- Lastmod by
- Xavi (as xavidp - admin)
- Rating
- Description
Have had this issue since 1.9.10.1 and it's still there in all subsequent versions even though the previous bug report detailing the same issue (#1649) says it's fixed.
The posted solution may work - although the Comments section of that bug report details a differing fix.
Would be good to get this fixed in the codebase rather than manually adding a fix to each new release. If you need further info from me - please email nickallentbwa-at-gmail.com
When I try to add a page to a structure, I get this error:
===================
An error occured in a database query!Context:
File tiki-edit_structure.php
Url tiki-edit_structure.php
Query:
insert into `tiki_structures`(`parent_id`,`page_id`,`page_alias`,`pos`) values(?,?,?,?)
Values:
0 407
1 116
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('407','116','','1')
===================- Workaround
- Xavi: works for me in Tiki 3.1. Please re-test.
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is currently unavailableUnable to connect to show2.tiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 2092
- Created
- Wednesday 22 October, 2008 09:09:57 UTC
by Unknown - LastModif
- Sunday 18 June, 2017 23:09:01 UTC