Add a Question submit hanging but still submitting

Please report bugs here!

Moderator: Thorsten

Post Reply
johnnyP2250
Posts: 7
Joined: Wed May 14, 2014 1:17 pm

Add a Question submit hanging but still submitting

Post by johnnyP2250 »

Hello All,

Sorry newb here, I have set up PHPMYFAQ v2.8.8 on WAMP server (Win Srv 2008R2) all was working great and its been really positive but recently when hitting submit on "add a question" it just shows saving and the progress indicator but never confirms. It does actually add the question and trigger the email that goes out to the category owner but the user doesn't know this.

I've checked the Apache logs and event logs on the server for any errors. If anyone could advise or let me know how better to diagnose it would be really appreciated.

Great software btw keep up the amazing work!

Thanks

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

Re: Add a Question submit hanging but still submitting

Post by Thorsten »

Hi,

it's possible that a server side error occured and the Ajax callback of the answer "hangs". Can you reproduce the error?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
johnnyP2250
Posts: 7
Joined: Wed May 14, 2014 1:17 pm

Re: Add a Question submit hanging but still submitting

Post by johnnyP2250 »

Hi,

Thanks for the quick response, yes I can replicate it with all users logged in or not at the moment, it is strange though aside thought it was fixed a few days ago and working when I tested and now its back again.

Thanks again for any help, really appreciate it. And great work in general!

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

Re: Add a Question submit hanging but still submitting

Post by Thorsten »

Hi,

might be the permission bug in 2.8.8, please upgrade to 2.8.9

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
johnnyP2250
Posts: 7
Joined: Wed May 14, 2014 1:17 pm

Re: Add a Question submit hanging but still submitting

Post by johnnyP2250 »

Hello Thorsten,

I am still having the issue in 2.8.11, mostly on "add a new faq" in the user front end (administrator is fine) I have checked logs, upped the resource on the server. Add new question works ok for me and so does add new FAQ although both seem very slow.

Any thoughts on where I could look into next?

Keep up the great work!!!!

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

Re: Add a Question submit hanging but still submitting

Post by Thorsten »

Hi,

does it happen all the time? Does it only happen if you're logged in?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
johnnyP2250
Posts: 7
Joined: Wed May 14, 2014 1:17 pm

Re: Add a Question submit hanging but still submitting

Post by johnnyP2250 »

Seems to be happening all the time at the moment.

Is there any debugging i could enable to test? I am going to test in IE see if it is a chrome issue.

Any advice would be great.

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

Re: Add a Question submit hanging but still submitting

Post by Thorsten »

Hi,

try to enable the debig mode in inc/Bootstrap.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
johnnyP2250
Posts: 7
Joined: Wed May 14, 2014 1:17 pm

Re: Add a Question submit hanging but still submitting

Post by johnnyP2250 »

Hello,

Sorry it has taken me so long to get this. Seems to be an issue around email. I will look into it but if you have any advice that would be great.

Error capture below:

[Wed Oct 01 12:41:55.528156 2014] [:error] [pid 3932:tid 1640] [client 192.168.2.251:6104] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\wamp\\www\\inc\\PMF\\Mail\\Builtin.php on line 72, referer: http://faq.services.resonate.co.uk/inde ... egory_id=0

[Wed Oct 01 12:41:55.528156 2014] [:error] [pid 3932:tid 1640] [client 192.168.2.251:6104] PHP Stack trace:, referer: http://faq.services.resonate.co.uk/inde ... egory_id=0

[Wed Oct 01 12:41:55.528156 2014] [:error] [pid 3932:tid 1640] [client 192.168.2.251:6104] PHP 1. {main}() C:\\wamp\\www\\ajaxservice.php:0, referer: http://faq.services.resonate.co.uk/inde ... egory_id=0

[Wed Oct 01 12:41:55.528156 2014] [:error] [pid 3932:tid 1640] [client 192.168.2.251:6104] PHP 2. PMF_Mail->send() C:\\wamp\\www\\ajaxservice.php:549, referer: http://faq.services.resonate.co.uk/inde ... egory_id=0

[Wed Oct 01 12:41:55.528156 2014] [:error] [pid 3932:tid 1640] [client 192.168.2.251:6104] PHP 3. PMF_Mail_Builtin->send() C:\\wamp\\www\\inc\\PMF\\Mail.php:786, referer: http://faq.services.resonate.co.uk/inde ... egory_id=0
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Add a Question submit hanging but still submitting

Post by Thorsten »

Hi,

your mail configuration is not correct.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
johnnyP2250
Posts: 7
Joined: Wed May 14, 2014 1:17 pm

Re: Add a Question submit hanging but still submitting

Post by johnnyP2250 »

Thanks, it is strange though as it does send the email every time guaranteed and quickly. I have migrated the system to a new server where I had another application working 100% with email and it still is doing the same. Very Strange. Thanks for your help. If you have any other ideas? Or maybe can point out where it may be wrong?
Post Reply