Troubleshooting

Why does Opera freeze/crash when I try adding a comment?

Scenario:
"I'm testing my site using Opera and when I tried to post a comment on an item, it just freezes. What is this commenting problem due to?"

Solution:
This is a problem with Opera itself. In the current Nucleus forms (comment-form-notloggedin, login-form, etc) the action of the form is set to #nucleus_cf. This is done to make the page jump back to the form when posting a comment (or login, etc). Apparently Opera is confused by this and sends the request to the server (the comment is posted) but then gets stuck on the current page. This can be solved by modifying the forms and removing the #nucleus_cf:

  • Open the .template files located inside /nucleus/forms/ with the word "comment" in their filename in a text editor.
  • Find the code
    #nucleus_cf

    or

    #nucleus_mf

    and replace it with

    <%self%>
  • Save your modified .template files and re-upload them to your server (if required).

Original forum thread (thanks, TeRanEX and dis!):
http://forum.nucleuscms.org/viewtopic.php?t=6757

section: Troubleshooting | submitted by Leng on 2006.Jan.11 | 3026 views

item rate
This answer was not rated yet.

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10