Search isn´t working anymore (after update)

Please report bugs here!

Moderator: Thorsten

Post Reply
danny-2
Posts: 14
Joined: Fri Oct 25, 2013 10:29 am

Search isn´t working anymore (after update)

Post by danny-2 »

Hi,

after updating from 2.8.4 to 2.8.7 (of course I did an update of the database too) the search isn´t working anymore. When I type in a search word and hit enter I´ll receive an error page:
"Fehler: Verbindung unterbrochen. Die Verbindung zum Server wurde zurückgesetzt, während die Seite geladen wurde."

The URL is as following:
http://MYIPHERE/faq/?searchcategory=%25 ... st&submit=

I tried out the official demo-page and found out that the URL is different:
http://roy.demo.phpmyfaq.de/?search=tes ... tegory=%25

But even if I change my URL to http://MYIPHERE/faq/?search=test&submit ... tegory=%25 it´s still not working.

Then I did a parallel install with a new 2.8.7. Search worked fine. After importing my backup the same problem occured again.

The instant response still works (expect one thing that I can work around manually).

Any idea?

System-Information:
phpMyFAQ Version 2.8.7
Server Software Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19
PHP Version 5.4.19
Database Server mysqli
Database Server Version 5.5.32
Database Client Version mysqlnd 5.0.10 - 20111026 - $Id:...
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search isn´t working anymore (after update)

Post by Thorsten »

Hi,

please try to enable the debug mode in inc/Bootstrap.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
danny-2
Posts: 14
Joined: Fri Oct 25, 2013 10:29 am

Re: Search isn´t working anymore (after update)

Post by danny-2 »

In the meantime I activated instant response. Searching thrue instant response gives me a list of FAQ. But when I click on one of them the FAQ won´t show up (same error as mentioned in the original post).
In debug mode I couldn´t see any message at all because the whole site won´t load :-(

I have taken a look into the Apache error.log. Since the update there are entries like those beyond. The last entries of this kind are from October last year...

Code: Select all

[Tue Mar 11 16:37:41.128269 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00428: Parent: child process 5340 exited with status 255 -- Restarting.
[Tue Mar 11 16:37:42.111138 2014] [ssl:warn] [pid 1360:tid 320] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Mar 11 16:37:42.173543 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Tue Mar 11 16:37:42.173543 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00456: Server built: Feb 23 2013 13:07:34
[Tue Mar 11 16:37:42.173543 2014] [core:notice] [pid 1360:tid 320] AH00094: Command line: 'E:\\Programme\\xampp\\apache\\bin\\httpd.exe -d E:/Programme/xampp/apache'
[Tue Mar 11 16:37:42.189144 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00418: Parent: Created child process 3128
[Tue Mar 11 16:37:43.031603 2014] [ssl:warn] [pid 3128:tid 252] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Mar 11 16:37:43.530838 2014] [ssl:warn] [pid 3128:tid 252] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Mar 11 16:37:43.593243 2014] [mpm_winnt:notice] [pid 3128:tid 252] AH00354: Child: Starting 150 worker threads.
[Tue Mar 11 16:37:47.618327 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00428: Parent: child process 3128 exited with status 255 -- Restarting.
[Tue Mar 11 16:37:48.476387 2014] [ssl:warn] [pid 1360:tid 320] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Mar 11 16:37:48.538792 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Tue Mar 11 16:37:48.538792 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00456: Server built: Feb 23 2013 13:07:34
[Tue Mar 11 16:37:48.538792 2014] [core:notice] [pid 1360:tid 320] AH00094: Command line: 'E:\\Programme\\xampp\\apache\\bin\\httpd.exe -d E:/Programme/xampp/apache'
[Tue Mar 11 16:37:48.538792 2014] [mpm_winnt:notice] [pid 1360:tid 320] AH00418: Parent: Created child process 560
[Tue Mar 11 16:37:49.396852 2014] [ssl:warn] [pid 560:tid 252] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Mar 11 16:37:49.958492 2014] [ssl:warn] [pid 560:tid 252] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Mar 11 16:37:50.005295 2014] [mpm_winnt:notice] [pid 560:tid 252] AH00354: Child: Starting 150 worker threads.
The latest entry in Apache´s access.log:

Code: Select all

10.xxx.xxx.xxx - - [11/Mar/2014:16:37:24 +0100] "POST /faq/ajaxresponse.php HTTP/1.1" 200 1210 "http://10.xxx.xxx.xxx/faq/index.php?action=instantresponse" "Mozilla/5.0 (Windows NT 5.1; rv:23.0) Gecko/20100101 Firefox/23.0"
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search isn´t working anymore (after update)

Post by Thorsten »

Hi,

I'll check it, I have some other reports, I think it's the same issue.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
danny-2
Posts: 14
Joined: Fri Oct 25, 2013 10:29 am

Re: Search isn´t working anymore (after update)

Post by danny-2 »

Sounds good :-)

I noticed one thing that might be interesting too: When I get a result thru the instant search the link to an FAQ may not work. But if I delete the part "&highlight=MYSEARCHEXPRESSION" at the end of the URL the page shows up...

In the meantime I tested with Version 2.8.5 and 2.8.6. While 2.8.5 worked well, the error appeared in 2.8.6. Maybe that will help you localize the error.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search isn´t working anymore (after update)

Post by Thorsten »

Hi,

thanks for the hints!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
danny-2
Posts: 14
Joined: Fri Oct 25, 2013 10:29 am

Re: Search isn´t working anymore (after update)

Post by danny-2 »

I ran a test with the new release 2.8.8. But both errors still exist (search isn´t working and clicking on a link from the instant search won´t show up a page).
Can I provide any further information for you to localize the problem?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search isn´t working anymore (after update)

Post by Thorsten »

Hi,

this is the fix: viewtopic.php?f=3&t=15280#p43689

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
danny-2
Posts: 14
Joined: Fri Oct 25, 2013 10:29 am

Re: Search isn´t working anymore (after update)

Post by danny-2 »

Hi Thorsten,

the solution worked :-)

I added following line in conf/extra/httpd-mpm.conf and restarted apache:

Code: Select all

<IfModule mpm_winnt_module>
   ThreadStackSize 8388608
</IfModule>
Thank you very much for this hint!!!
Post Reply