The connection was reset (action=artikel)

Please report bugs here!

Moderator: Thorsten

paulammcruz
Posts: 2
Joined: Tue Feb 26, 2013 12:07 pm

The connection was reset (action=artikel)

Post by paulammcruz »

Hi,

I've installed phpMyFAQ 2.7.9 on a server with the bellow mentioned settings and I've been using it for some days now, but since yesterday whenever I try to visualize a previously registered article I get the error "The connection to the server was reset while the page was loading." What do you think might be the problem? It only happens when invoking "action=artikel" (I don’t have any problems with accessing the site, visualizing categories and editing articles in administration mode, for instance).

Thanks in advance for all the help you can provide,

Paula

Settings:

Windows: Windows NT SC020V 5.2 build 3790 (Windows Server 2003 Standard Edition Service Pack 2) i586
Apache: Apache/2.4.3 (Win32)
PHP: 5.4.7
MySQL: 5.5.27 - MySQL Community Server
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

so, the admin section works perfectly?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
paulammcruz
Posts: 2
Joined: Tue Feb 26, 2013 12:07 pm

Re: The connection was reset (action=artikel)

Post by paulammcruz »

Yes, the admin section and everything else outside it except for the visualization of registered articles. The error only occurs when a user (authenticated or not) clicks on the name of/link to a FAQ, in order to view its content.

Best regards,

Paula
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

please check if any segfaults are occurring.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jdrsantos
Posts: 1
Joined: Thu Feb 28, 2013 8:56 am

Re: The connection was reset (action=artikel)

Post by jdrsantos »

Hi.

I am coworker of paulammcruz.

After some time debugging the action artikel, I have concluded that there is a problem in the function insertItemsIntoContent on file inc/glossary.php.

The error appears when running the line 137:

Code: Select all

$content = PMF_String::preg_replace_callback( ...
Apparently this happens when the term of the glossary contains more than one space or word separator.
If we only have one space, everything goes ok.

Unfortunately I have no time to get a solution for now, but I think it would be desirable to check the regular expression on lines 138 and bellow and validate the field glossary term in the glossary maintenance form.

cheers guys
RdS
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

thanks for the hint, I'll check it.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jorekami
Posts: 1
Joined: Thu Jan 23, 2014 7:08 pm

Re: The connection was reset (action=artikel)

Post by jorekami »

Hi,

This bug is still present in 2.8.2 version. Exists any solution?

Thanks in advance
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

please update to 2.8.5

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ssichris
Posts: 2
Joined: Mon Jan 27, 2014 9:19 pm

Re: The connection was reset (action=artikel)

Post by ssichris »

I am having the same issue, and I have updated to version 2.8.5. Everything works fine except view artikels.

I am running Apache/2.2.17 (Win32) mod_owa 2.8.11 PHP/5.3.5
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

do you use XAMPP? If yes, please update XAMPP as well.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Heisenberg
Posts: 7
Joined: Fri Mar 14, 2014 2:19 pm

Re: The connection was reset (action=artikel)

Post by Heisenberg »

Hallo Thorsten,

I've the same problem. phpMyFAQ 2.8.7 with newest Xampp.
The problem occurs when the search-string is longer than 3 characters en then visit the article in the search results.

Example:

index.php?action=artikel&cat=49&id=11&artlang=nl&highlight=abc works fine!
index.php?action=artikel&cat=49&id=11&artlang=nl&highlight=abcd Apache restarts, ERROR !! (The connection was reset)

So when highlight= > 3 characters

The windows eventlog at the crash moment:

Faulting application name: httpd.exe, version: 2.4.7.0, time stamp: 0x528e59ed
Faulting module name: php5ts.dll, version: 5.5.9.0, time stamp: 0x52f2c13c
Exception code: 0xc00000fd
Fault offset: 0x00081a33
Faulting process id: 0xfec
Faulting application start time: 0x01cf3f8450c770fb
Faulting application path: D:\xampp\apache\bin\httpd.exe
Faulting module path: D:\xampp\php\php5ts.dll

Bye,
Heisenberg
Heisenberg
Posts: 7
Joined: Fri Mar 14, 2014 2:19 pm

Re: The connection was reset (action=artikel)

Post by Heisenberg »

Hallo Thorsten,

I've the same problem. phpMyFAQ 2.8.7 with newest Xampp.
The problem occurs when the search-string is longer than 3 characters en then visit the article in the search results.

Example:

index.php?action=artikel&cat=49&id=11&artlang=nl&highlight=abc works fine!
index.php?action=artikel&cat=49&id=11&artlang=nl&highlight=abcd Apache restarts, ERROR !! (The connection was reset)

So when highlight= > 3 characters

The windows eventlog at the crash moment:

Faulting application name: httpd.exe, version: 2.4.7.0, time stamp: 0x528e59ed
Faulting module name: php5ts.dll, version: 5.5.9.0, time stamp: 0x52f2c13c
Exception code: 0xc00000fd
Fault offset: 0x00081a33
Faulting process id: 0xfec
Faulting application start time: 0x01cf3f8450c770fb
Faulting application path: D:\xampp\apache\bin\httpd.exe
Faulting module path: D:\xampp\php\php5ts.dll

Last update: This happens randomly, at the moment even when i open faqs in the list.


Bye,
Heisenberg


Hope you will figure out where the problem is.

Thanks in advance
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

what memory limit did you set in php.ini?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Heisenberg
Posts: 7
Joined: Fri Mar 14, 2014 2:19 pm

Re: The connection was reset (action=artikel)

Post by Heisenberg »

memory_limit=128M
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The connection was reset (action=artikel)

Post by Thorsten »

Hi,

could you please try to increas the Apache Stack size: http://stackoverflow.com/questions/5058 ... -windows-7

If that does not help, we have to debug. It's possible we found a bug in PHP. :(

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply