←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
Tiki|botRecent Bug: - http://dev.tiki.org/item6566-Semantic-Alias-creating-dead
Recent Bug: - http://dev.tiki.org/item6567-Incorrect-permission-check-to-delete-freetags-from-objects
Recent Bug: - http://dev.tiki.org/item6568-tiki-tracker_view_history-php-throwing-SQL
[01:38]
............................................................................................................... (idle for 9h12mn)
redflojoined #tikiwiki [10:50]
................ (idle for 1h17mn)
zlinuxjoined #tikiwiki [12:07]
...... (idle for 26mn)
juststrollinginjoined #tikiwiki [12:33]
.......... (idle for 45mn)
chibaguyjoined #tikiwiki [13:18]
........... (idle for 51mn)
fabriciusjoined #tikiwiki [14:09]
..................... (idle for 1h42mn)
bmjoined #tikiwiki [15:51]
Guest27865Hi all, I hope this is the right place to ask for support. We are running an instance of TikiWiki 17.1 and now tried to put some of our wiki pages into a structure. We played around a bit and somehow it happened that we now have a "zombie" structure in our TikiWiki. The structure has an ID, but no name. It does not appear in the list of structures, however, some pages are obviously part of this structure.
As the structure does not appear in the list of structures we cannot delete it. The pages belonging to that zombie structure are blocked for putting them in other structures.
Is there any option to get rid of such a zombie structure, probably by directly editing the database?
Or does any workaround exist? Deactivating and afterwards activating the structure feature again does not help, the structure is still there...
[15:55]
............. (idle for 1h2mn)
zlinuxjoined #tikiwiki [16:59]
..... (idle for 21mn)
RadoSGuest52984, try giving it a name in the database.
Maybe it re-appears in tiki-gui.
Hmm... isn't the "structure name" the page name of the root-page?
[17:20]
Guest52984Well, the structure page has a page_ref_id. I can enter that page address directly in the browser, .../tikiwiki/tiki-edit_structure.php?page_ref_id=29, but I get an error on that page: invalid structure_id or page_ref_id.
Doing that for a valid structure opens the page for editing the structure.
[17:29]
fabriciusjoined #tikiwiki [17:31]
Guest52984Hi RadoS, sorry I overlooked your remark concerning giving the structure a name.
Can you tell me what exactly needs to be edited for that?
We already had a look at the database, but did not really get an idea where to change the name.
[17:31]
...... (idle for 27mn)
RadoSJust to exclude side effects, have you cleared all caches? [17:59]
Guest52984At least we used the function "Clear all caches" in the Administration menu. If this clears all caches, then yes. [18:03]
RadoSUsually a page with the same name as the structure exists as "root" if you use "make structure" of that page. Have you done so? Does that page still exist?
Maybe you deleted that page? If so, it should be marked deleted but still lingering around in the DB, so you could "undelete" it by changing its flag.
[18:05]
Guest52984I think the page has been deleted.
At least in the list of wiki pages there is no page marked "generated from structure" anymore except one for another valid structure.
[18:10]
RadoSCheck in the DB.
You remember its name?
[18:11]
Guest52984Not exactly.
Do you know in which table of the DB we have to look.
[18:12]
RadoSYou might even scan the logs for such a delete action.
tiki_pages afair.
You can filter all "deleted" ones (if there are only few).
[18:12]
Guest52984Moment... we are looking for that.
In the logs there is no delete action, but that's strange, because also other pages were deleted. Maybe delete actions are not visible in the logs by default?
[18:16]
RadoSRadoS shrugs.
But, in the list of structures, you not only can edit the structure, you can view its associated page in the menu on the right, tried that?
[18:19]
Guest52984The problem is that in the list of structures the structure does not appear. [18:20]
RadoSehm, the "filter by deleted" was relating to the DB, not the logs. [18:20]
Guest52984Yes, my colleague is searching in the DB for that, moment... [18:21]
RadoSBut you can use the ID for the view page php script. [18:21]
Guest52984I get an error saying that the page was not found. [18:22]
RadoSThen ... it might have gotten deleted. [18:23]
Guest52984So maybe our problem is that the page was accidentally deleted before the structure was removed? [18:23]
RadoSMaybe.
RadoS never tried that.
But if you care to verify, you could try to reproduce in a demo.
[18:23]
Guest52984Can we somehow delete all references to the structure from the DB? [18:25]
RadoSCertainly, I have no clue about DB deep internals. [18:25]
Guest52984Ok, thanks for the moment. [18:39]
.... (idle for 16mn)
Telesightjoined #tikiwiki [18:55]
....... (idle for 34mn)
Guest52984For now, as we still have no idea how to "hack" the DB. Since not too much changes were made to the Wiki we will replay a backup of our TikiWiki made before we started with the structures. Anyway, for the future it is still interesting to know if there is any option to remove a structure from the DB by hand.
So if someone has an idea it would be interesting to know. Thanks again!
[19:29]
................... (idle for 1h31mn)
fabriciusjoined #tikiwiki [21:01]
........... (idle for 50mn)
jonnybjoined #tikiwiki [21:51]
.............. (idle for 1h8mn)
fabriciusjoined #tikiwiki [22:59]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)