This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Form questions.
#1

Hello,

I upgraded to v4.0 from v3.4, upgraded PHP to 7.3, and have been conducting checks.

The following concerns asking the user questions at:

Settings/layout/form/question

When the question is answered correctly, the following error message is presented:

-----------
Please review the errors below

Please answer the new question
---------

The comment is accepted and the 'Your comment is awaiting approval' message is shown, only after the new question is answered correctly.

Please advise, on how to proceed.

Regards,

Neo
Reply
#2

Hi Neo,

I'm not able to replicate this on Commentics v4.0 on PHP v7.3.5.

So I'd need FTP access to debug it. Can you PM me that, as well as a link to the page?

Have you completed the interview?
Reply
#3

Hi Steven, figured it out. It was an Apache Handler issue, had to update

application/x-httpd-ea-php70

to

application/x-httpd-ea-php73 in the ht access file

after upgrading PHP to 7.3
Reply
#4

Okay glad you figured it out and thanks for posting your solution.

Have you completed the interview?
Reply
#5

Anytime, thanks for offering your help.
Reply
#6

Hello, I am facing the same problem as above due to a new script that I have placed on my pages.

As before, the user has to answer the security question twice, because the first time it is incorrectly reported as wrong. With the second correct answer the comment is accepted.

The new script changes the URL slightly as soon as the page loads.
for example, it becomes

https://www.abc.net/xzz.html#/1
from
https://www.abc.net/xzz.html

I checked the logs at /var/log/apache2/domlog/abc

This is a tail -f for when the new script isn't on the page and Commentics is working properly:

93.109.26.208 - - [23/Oct/2020:15:56:10 -0400] "POST /comsys/frontend/index.php?route=main/form/submit HTTP/1.1" 200 132 "https://www.abc.net/xzz.html" "Mozilla..."
93.109.26.208 - - [23/Oct/2020:15:56:10 -0400] "POST /comsys/frontend/index.php?route=main/comments/getComments HTTP/1.1" 200 3366 "https://www.abc.net/xzz.html" "Mozilla..."


This is a tail -f for when the new script is present on the page, and the user is prompted that their correct answer was wrong.

93.109.26.208 - - [23/Oct/2020:15:56:03 -0400] "POST /comsys/frontend/index.php?route=main/form/submit HTTP/1.1" 200 141 "https://www.abc.net/xzz.html" "Mozilla..."

From what I can tell, there is no error message, however the second 'getcomments' line isn't activated.


The folder where the HTML is located doesn't produce an error file.


One of the scripts called at the end of the page is libs.min.js
The other is the custom js file for the new script.

Can you tell where the issue lies, or is there any other source of information that I should be looking for?
Could there be a work around if this can't be fixed?
If not, the user will have to enter the correct answer twice, which isn't too much of a hassle, more security if nothing else!

thanks for your help,

Neo
Reply
#7

Hi Neo,

Your log file looks okay to me because the second 'getComments' request should only happen when the form submission is successful and the comments are reloaded.

I can't tell where the issue is without seeing it first hand and examaning the code but I would guess that your new script is intrusively modifying the session, either by empyting it or renaming it etc.

You could try the new version of Commentics, v4.1, to see if that helps as it has various session improvements or you could try using Commentics without the question enabled because it will still use several techniques to prevent spam.

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
19-Mar-2017, 01:52 PM
Last Post by Static
16-Jul-2010, 05:07 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)