Home › Forums › Legacy Support › Support queries › Other issues › Submit Quiz Error
Tagged: Submit Quiz
- This topic has 16 replies, 2 voices, and was last updated 7 years, 10 months ago by CharlesAlabi.
-
AuthorPosts
-
July 5, 2016 at 7:25 am #56535CharlesAlabiParticipantGood day! When our Learners clicked on the Submit Quiz, there was a round object that kept rolling for hours not indicating whether the question had been saved or not. Could you please help as we have a lot of worried Students right now. Sometimes the answers are saved and sometimes they are not. Please help CharlesJuly 5, 2016 at 12:02 pm #56610Anshuman SahuKeymasterCan you please share your php error log with us (may be upload it somewhere online and share its link ) as if the file is greater than 500Kb will not attach in our forums for security reasons . Please also share your url of your course and admin credentials in a private reply to check the issue further at your end .July 5, 2016 at 12:32 pm #56618CharlesAlabiParticipantError Log: [Tue Jul 05 13:12:38.123601 2016] [:notice] [pid 13067] [client 86.183.236.233:35333] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php?redirect_to=http%3A%2F%2Fwww.flexlearn.co.uk%2Fwp-admin%2F&reauth=1 [Tue Jul 05 13:11:13.348468 2016] [:notice] [pid 6011] [client 188.163.107.174:57010] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php [Tue Jul 05 13:11:08.174687 2016] [:notice] [pid 5852] [client 188.163.107.174:56619] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php [Tue Jul 05 12:59:52.821331 2016] [access_compat:error] [pid 39169] [client 141.8.143.146:57393] AH01797: client denied by server configuration: /home/flexlea7/public_html/assignment [Tue Jul 05 12:56:07.011632 2016] [access_compat:error] [pid 19525] [client 180.76.15.9:38185] AH01797: client denied by server configuration: /home/flexlea7/public_html/course [Tue Jul 05 12:50:22.894777 2016] [access_compat:error] [pid 35279] [client 5.255.250.30:37971] AH01797: client denied by server configuration: /home/flexlea7/public_html/all-course [Tue Jul 05 12:49:55.991457 2016] [:notice] [pid 32365] [client 188.163.107.174:35197] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php [Tue Jul 05 12:49:51.184417 2016] [:notice] [pid 32379] [client 188.163.107.174:34844] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php [Tue Jul 05 12:39:08.514509 2016] [:notice] [pid 18426] [client 188.163.107.174:35579] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php [Tue Jul 05 12:39:03.606938 2016] [:notice] [pid 16840] [client 188.163.107.174:35038] mod_hive matched URI http://www.flexlearn.co.uk/wp-login.php (/home/flexlea7/public_html/wp-login.php) with match 2, referer: http://www.flexlearn.co.uk/wp-login.php Admin Log in details: Url: www.flexlearn.co.uk U: Flx1-Admin P: betrand2016xxx& Many thanks CharlesJuly 5, 2016 at 1:07 pm #56627CharlesAlabiParticipantPlease find attached. Log put together by the Host CompanyJuly 5, 2016 at 2:59 pm #56652CharlesAlabiParticipantPlease use the link below to view the log: https://www.dropbox.com/s/imia623sxivoogm/php_errorlog?dl=0 Thank youJuly 6, 2016 at 1:10 pm #56825Anshuman SahuKeymasterCan you please share url of the quiz in which you were facing the issues ? Please also update your wplms theme to latest version 2.1.1 and the woocommerce data . To update theme please refer : https://wplms.io/support/knowledge-base/auto-updating-wplms/July 7, 2016 at 5:04 am #56894CharlesAlabiParticipantDear Alex, Here is the quiz url: http://www.flexlearn.co.uk/start-course-page/ If it helps you may also login as the Student: U: sara P: Broadway@44 With regards to the auto updating issue. My API Key does not appear to have been saved even after clicking 'save changes'. Is this a problem? The only new update alert I saw was for Event Plugin. It didn't show any updates for WPLMS. I have attached some screen shots to illustrate the above Thanking you in advance for your support. CharlesJuly 7, 2016 at 11:56 am #56978Anshuman SahuKeymasterOkay i was able to replicate the issue now . Please check screenshot in private reply . When i submitted the quiz your server returned a 500 error . Can you please tell if your site is hosted in wp-engine or not ? The submit quiz event makes a call to insert the answers in database and this query is huge . Some hosts like wp-engine puts restrictions on length of the query and denies to serve long queries . so please contact your webhost to check if they put any kind of restrictions on the length of insert query or not . Please also share your server php error log (upload it somewhere and share its link here) as allowed file size limit on our forums is just 500 Kb due to security reasons .July 7, 2016 at 11:56 am #56979Anshuman SahuKeymasterJuly 7, 2016 at 4:29 pm #57050CharlesAlabiParticipant
Hi Alex,
My hosting is done by Siteground. I have asked them about the restrictions and they are still looking into this.
Here is a link to the php_error file: https://www.dropbox.com/s/imia623sxivoogm/php_errorlog?dl=0
Secondly, do you also know why auto update is not working on my site. As I said, my API Key does not appear to have been saved even after clicking 'save changes'. Is this a problem? The only new update alert I saw was for Event Plugin. It didn't show any updates for WPLMS. I havepreviously attached some screen shots to illustrate my point
Thank you in advance
Charles
July 7, 2016 at 4:33 pm #57052CharlesAlabiParticipantHi Alex, Here is what soundground said regarding any restrictions:Hello Charles, Thank you for contacting SiteGround support. I have carefully reviewed the case and it seems that I did not find 500 error reports in our server logs. Your site is currently working as intended as well. However I see that you are referring to the following script as a problem:
Code:
admin-ajax.php
This is the heartbeat process which I could recommend to limit or even disable. The link below will explain you more about it and how you can limit/disable it:
https://www.siteground.com/tutorials/wordpress/limit-wordpress-heartbeat.htm
Please, review the link and proceed with the setup. If you still experience the issue do contact us again with detailed explanation on how the issue can be reproduced on our end. Once we have that infromation we can check the case more thoroughly and assists you further.
We are always here for you.
Best Regards,
Daniel Stoychev
Technical Support TeamJuly 8, 2016 at 1:23 pm #57275Anshuman SahuKeymasterThanks for sharing your error log . I found the last two errors in your error log related to the php configuration of your server . [05-Jul-2016 12:41:48 UTC] PHP Fatal error: Out of memory (allocated 193724416) (tried to allocate 82 bytes) in /home/flexlea7/public_html/wp-includes/pomo/mo.php on line 268 [05-Jul-2016 12:41:54 UTC] PHP Fatal error: Out of memory (allocated 193986560) (tried to allocate 64 bytes) in /home/flexlea7/public_html/wp-includes/pomo/mo.php on line 276 These two errors clearly stating that php memory limit is exhausted while serving a php process . It still needs just around 1 Kb of memory . Please also show your webhost screenshot when the quiz is submitted .(shared in private reply above ). that is not heartbeat it is an ajax call that is created by wplms code and it cannot be disabled. My conclusion is when user submits quiz the server's php memory limt gets exhasuted and server returns 500 error . So please contact your webhost to increase your php memory limit upto 256 MB .July 8, 2016 at 5:40 pm #57326CharlesAlabiParticipantDear Alex, The php memory limit is now set to 380M. We tested the system by trying to save a Student's Work but experienced the same problem. You could once again check this out by login in as: U: sara P: Broadway@44 Many thanks CharlesJuly 9, 2016 at 1:28 pm #57475Anshuman SahuKeymasterCan you please just try updating your wplms theme to the latest version 2.1.1 manually by following this tip : https://wplms.io/support/knowledge-base/manually-updating-wplms/ I also noticed that you have two wplms themes in your themes folder one has version 2.0.8 and other has 2.0.6 . this can also cause conflicts .So please try deleting one wplms theme so that only one theme remains in your themes folder .July 9, 2016 at 2:56 pm #57494CharlesAlabiParticipantHi there, I have now updated the theme to the latest version. However, the problem with the saving of Student's Work is still continuing. I need help Thank you Charles -
AuthorPosts
- The topic ‘Submit Quiz Error’ is closed to new replies.