Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-06-22 19:12:28

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 60
Website

Admin Search not working anymore since 4.7.0

After updating to 4.7.0 the admin search for articles is not working properly anymore.
Everything else but search for “title, main text and excerpt” seems to work fine but as soon as I activate “title,main text and excerpt” for the search it fales to find anything. I tried already deactivating some plugins but with no result.
Another thing is, that on diagnose it tells me it cannot connect to update server. Which made me suspicious and I was starting to think that there might be something wrong with the server. No idea if this is related to the initial problem. But with other 4.7.0 installs I do not have this problem.
Also it does not autmatically delete the setup folder when a config.php is present.

Any ideas would be appreciated on how to get to the origin of that problem.

Last edited by demoncleaner (2018-06-22 19:12:49)

Offline

#2 2018-07-11 06:22:34

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 60
Website

Re: Admin Search not working anymore since 4.7.0

Meanwhile I found out that the mentioned problem only apears from a certain amount of articles in the database. Something around above 20 maybe. And it also appears only on Hosteurope Hosting.

Can anyone confirm that or has any idea what could cause that? In the Diagnose Tab I see that syslog is deactivated. But I guess that this cannot be the reason for the problem.

I will also try to contact Hosteurope on that topic and keep you posted. Any more hints and ideas would be really appreciated.

Offline

#3 2018-07-11 08:43:35

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,227

Re: Admin Search not working anymore since 4.7.0

demoncleaner wrote #312682:

Another thing is, that on diagnose it tells me it cannot connect to update server. Which made me suspicious and I was starting to think that there might be something wrong with the server. No idea if this is related to the initial problem. But with other 4.7.0 installs I do not have this problem.

I can explain some of this for you, especially if this is only one server you have the issue with.

Firstly, the fact that the string cannot_connect_update_server appears untranslated is a bug that has been fixed for Textpattern 4.7.2, so ignore the fact it’s coming through to you as raw text.

The reason why it’s appearing is possibly related to some server configuration that prevents connections to remote servers via a JSON call. The update check comprises a version check on a JSON file on the Textpattern website. If that file cannot be checked (either the server does not permit it, network overloaded etc), then that error is returned.

I can tell you that 4.7.1 is available. It’s a maintenance release, but it has some important fixes with article and article_custom handling (plus some other stuff), so is worth a look. More info here

Also it does not autmatically delete the setup folder when a config.php is present.

I may have missed a memo, but deleting textpattern/setup is usually a manual process on installs and updates.

Offline

#4 2018-07-11 08:55:55

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 60
Website

Re: Admin Search not working anymore since 4.7.0

Thank you for your reply.
Meanwhile I had installed 4.7.1 and still facing the same problems.
I thought already that the string “cannot_connect_update_server” is some language issue. But the weird thing ist, it does not happen with lots of other updates to 4.7.0 I have lately done. And it also does not go away with 4.7.1.

But anyway, this is not the main problem I am having. Just thought that this might give some clues about the mayor problem of the search function in admin area not working anymore.

Offline

#5 2018-07-11 09:00:54

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,227

Re: Admin Search not working anymore since 4.7.0

demoncleaner wrote #312968:

Meanwhile I had installed 4.7.1 and still facing the same problems.

It’s possible the update problems are not related to Textpattern, but to server configuration.

The update check uses the PHP JSON extension, which may not be installed or available. If it is available, there may be some restrictions with remote connections (for example, mod_security may restrict JSON calls to servers outside the immediate network), and so the “cannot connect” issue pops up. There’s some additional discussion on this issue with a view to at least providing more information on why it’s not working.

But anyway, this is not the main problem I am having. Just thought that this might give some clues about the mayor problem of the search function in admin area not working anymore.

Yes, I understand – right now I cannot comment or assist on the search issue, but wanted to help on the thing I can talk about.

Offline

#6 2018-07-11 09:06:43

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 60
Website

Re: Admin Search not working anymore since 4.7.0

Sure. And thanks a lot for that. Sorry, hope you did not get me wrong.
I wrote already an email to Hosteurope. We will see what they say. I am quite sure others might have already or will have this problem in the future so I am quite curious what would be the reason.

Offline

#7 2018-07-11 09:08:16

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,452
Website

Re: Admin Search not working anymore since 4.7.0

demoncleaner wrote #312682:

After updating to 4.7.0 the admin search for articles is not working properly anymore.
Everything else but search for “title, main text and excerpt” seems to work fine but as soon as I activate “title,main text and excerpt” for the search it fales to find anything.

Does searching from the front end work (e.g. searching for an article title, or some keyword in an article) ? As far as I understand it, both use the same straight DB query under the hood.

If you put the affected site in debug mode, do you get any (error) messages when searching ?

(edit – spelling)

Last edited by phiw13 (2018-07-11 09:16:17)

Offline

#8 2018-07-11 09:14:36

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,227

Re: Admin Search not working anymore since 4.7.0

demoncleaner wrote #312971:

Sure. And thanks a lot for that. Sorry, hope you did not get me wrong.

No problem at all, I assure you.

I wrote already an email to Hosteurope. We will see what they say. I am quite sure others might have already or will have this problem in the future so I am quite curious what would be the reason.

Something to check while you wait: is the PHP JSON extension definitely loaded? Create a file called info.php in a public directory and include this line:

<?php phpinfo(); ?>

Load the page in a browser, you should see a pretty PHP page with lots of information. Search the page for json and check if the PHP extension is loaded / active.

Offline

#9 2018-07-12 06:04:26

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,248
Website

Re: Admin Search not working anymore since 4.7.0

Wow. i had never used the Admin side Search Function. Just tried. I love it.
and i found a post i like but I had forgotten about


…. texted postive

Offline

Board footer

Powered by FluxBB