Not logged in. · Lost password · Register
Page:  1  2  3 ... 11  12  13  next 

All posts by asheenlevrai (190)

topic: [[SOLVED]] search ignores other namespaces  in the forum: General Help and Support Features and Functionality
Avatar
asheenlevrai #1
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
Quote by Michaelsy:
Should I rebuild the index instead of updating it? I guess this is going to be very long (we have 7000+ pages).

Yes sure. As far as I understand the history of your circumstances , your index is definitely corrupted . So you have to rebuild it .

Tx :)

rebuilding it indeed seemed to solve the issue.
Best,
-a-
topic: [[SOLVED]] search ignores other namespaces  in the forum: General Help and Support Features and Functionality
Avatar
asheenlevrai #2
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 63409
Quote by asheenlevrai:
Quote by Michaelsy:
Take a look at: https://www.dokuwiki.org/faq:searchindex

Thank you so much!!

Indeed rebuilding the searchindex from the admin page seems to solve the problem.

Have a GREAT day !

Best,
-a-

I spoke too fast.
After updating the index the search results improved a lot but there are still many (many) pages that seem not to be indexed since they don't show up in the search results.

For instance, now if I search for "tac0066" which should output 100 pages from tac006600 to tac006699 I only get 6 pages in the results (from tac006620 to tac006626). the same is true for any other search I make. I now get some results but many are missing.

Should I rebuild the index instead of updating it?
I guess this is going to be very long (we have 7000+ pages).

Or could it be that the searchindex manager doesn't find all the pages? Thus some of them are not indexed?

I also notice that even if I visit some of the pages manually, these do not seem to be indexed....

Thoughts?

Best,
-a-
topic: [[SOLVED]] search ignores other namespaces  in the forum: General Help and Support Features and Functionality
Avatar
asheenlevrai #3
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 63408
Quote by Michaelsy:
Take a look at: https://www.dokuwiki.org/faq:searchindex

Thank you so much!!

Indeed rebuilding the searchindex from the admin page seems to solve the problem.

Have a GREAT day !

Best,
-a-
topic: [[SOLVED]] search ignores other namespaces  in the forum: General Help and Support Features and Functionality
Avatar
asheenlevrai #4
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 63375
Quote by Michaelsy on 2018-10-26, 17:46:
Quote by asheenlevrai:
DW only returns what it finds in the ROOT namespace and ignores all other namespaces.

What I understand by this statement, I can not reproduce it on a test system.

What exactly do you mean? Please give an example of a search string and describe:
a) the expected behavior
b) the actual behavior

Hello :)

Thanks for the swift answer.

So. Our wiki is divided into multiple namespaces:
 - (root): contains most of the "regular pages", including the welcome page.
 - plasmids: contains all pages related to plasmids (that's a biological thing): most pages are named as "pXXXX" where Xs are numbers
 - primers contains all pages related to primers (another biological thing): most pages are named as tacXXXX where Xs are numbers
 - ETC... we have another 2-3 namespaces containing pages related to a specific topic.

When we search for anything (let's say "DNA" for instance. DW used to output all pages named or containing the searched term (here "DNA"). Now when we do the same it only outputs pages named or containing the searched term (here "DNA") that are located into the root namespace.

Now Iif for instance we perform a search like tac006897, that corresponds to a page in the primer namespace, DW now finds nothing. This is "expected" since there's no page in root containing this term. Same thing for anything that is expected to be found in another namespace (line p1300 or something like that).

This behavior is identical if we place the search from a searchform present on a page that is located on any one of those namespaces (for instance a searchform that would be inserted in the page p100 or tac001999)... In the past it was different, obviously.

Thank you for your help.
Best,
-a-
topic: [[SOLVED]] search ignores other namespaces  in the forum: General Help and Support Features and Functionality
Avatar
asheenlevrai #5
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
Subject: [[SOLVED]] search ignores other namespaces
Hello everyone :)

Running Release 2018-04-22a "Greebo" here with all plugins up to date.


Now when we perform a search using a searchform (either the one on the top right or one that was added on a given page using the corresponding syntax), DW only returns what it finds in the ROOT namespace and ignores all other namespaces. Even if the search originates from a page that is located within a non-root namespace.

No changes have been made to the configuration and search_nslimit is still set to 0 (although increasing this value has no effect on the outcome of searches).

I don't know what can have gone wrong or how to troubleshoot this.

Any advice is very welcome.

Thank you very much in advance for your help.

Best,
-a-
This post was edited 3 times, last on 2018-10-30, 07:36 by asheenlevrai.
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #6
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61508
OK...

So EditSection2 is actually useless in greebo as is.

Nothing we can do about this... ?
This post was edited on 2018-06-26, 16:27 by asheenlevrai.
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #7
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61490
Quote by LarsDW223:
Well, of course the best would be to wait for an official update but the last update is from 2013. The plugin seems to be unmaintained.

Try to change it yourself in the following way:
- search for the file {your-dokuwiki-installation-folder}/lib/plugins/editsections2/syntax.php
- open the link https://github.com/kazmiya/dokuwiki-plugin-editsections2/pull/11/files in a browser
- open your local syntax.php in a text editor
- go to line 75, that should look like the part shown under the link above
- the red parts is the line in syntax.php that should be removed
- the green part is the lines which needs to be inserted

MAKE A BACKUP COPY OF syntax.php FIRST!
In case you mistype something it might be that your wiki will only show a blank page. In that case a backup is useful.

I did all this and the error message is gone now. However the situation remains the same:
The edit buttons are still located at the bottom of any section and there is a "dummy" edit button at the top of any page.
 :-/
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #8
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61492
Quote by turnermm:
I merged all the outstanding pulls into this repository:
https://github.com/turnermm/editsections2a/archive/master.…

However, it doesn't work with Greebo.  Its end--of-life seems to be Frusterick Manners.

If that's useful for you, then use the manual tab of the extension manager to update.

Thanks.
I guess what you have in this repo is not including the addon mentioned by LarsDW223.
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #9
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61490
Quote by LarsDW223:
Well, of course the best would be to wait for an official update but the last update is from 2013. The plugin seems to be unmaintained.

Try to change it yourself in the following way:
- search for the file {your-dokuwiki-installation-folder}/lib/plugins/editsections2/syntax.php
- open the link https://github.com/kazmiya/dokuwiki-plugin-editsections2/pull/11/files in a browser
- open your local syntax.php in a text editor
- go to line 75, that should look like the part shown under the link above
- the red parts is the line in syntax.php that should be removed
- the green part is the lines which needs to be inserted

MAKE A BACKUP COPY OF syntax.php FIRST!
In case you mistype something it might be that your wiki will only show a blank page. In that case a backup is useful.

Thank you so much for this tutorial :)
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #10
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61465
Quote by turnermm on 2018-06-22, 17:14:
Yes.  The other problem, not getting the button where you want it, is probably a caching issue.  Just refresh the browser cache and the dw cache (https://www.dokuwiki.org/caching#purging_the_cache).

Thanks :)
(there isn't a thank you button to "like" a post on this forum, is there?)
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #11
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61466
Quote by LarsDW223 on 2018-06-22, 17:21:
There is a fix for editsections2, see https://github.com/kazmiya/dokuwiki-plugin-editsections2/p….

That's great! :)

Could you please walk me through the steps required to apply the fix (I'm no coder unfortunately).

Or should I wait for an update of the pluggin to be released ?

Tx a lot :)
Best,
-a-
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #12
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61457
Quote by turnermm:
I see that the data plugin, which has been succeeded by the struct plugin uses custom section edit buttons, so that is one place to look.

Can you please be more specific (or provide links to said plugin)? Are you talking about this one (https://www.dokuwiki.org/plugin:data)?
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #13
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61457
I disabled EditSection2 and the eror messsage went away.
Then I re-enabled it and the error message is back. However, the plugin doesn't seem to work anymore.  the edit buttons remained at the end of the sections rather than moved back at the beginning.
Damn it!
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #14
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61439
Quote by asheenlevrai:
I get this Error Message from DW:
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
However the extension manager doesn't offer to update any plugin (no yellow message)

Apparently multiple plugins can cause this error message.
Does anyone know how to determine which plugin(s) is/are to be updated or uninstalled to get rid of this issue?

Best,
-a-
topic: plugin update issues  in the forum: General Help and Support Plugins
Avatar
asheenlevrai #15
Member since Nov 2012 · 190 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61443
Quote by turnermm:
As for updating Tips, you can log into dokuwiki.org and do this yourself.

Tx. I didn't realize that.
It's done now.
Best,
-a-
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 11  12  13  next 
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-05-23, 05:22:21 (UTC +02:00)