bluefoo New Member
 member is offline
Joined: Aug 2009 Gender: Male  Posts: 4 Karma: 0 |  | gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2.9 « Thread Started on Aug 10, 2009, 11:09am » | |
Greetings all, hopefully just a quick question.
I've got a greymatter install that I've upgraded from 1.7.3 to 1.8.2 and in this process comments have broken.
Its producing the following error message reliably:
No valid information was given.
Now this can only come from gm-comments.cgi and appears when newcommentbody, newcommentauthor and gmsearch are all empty.
I've checked the template and it includes:
<input name="newcommentauthor" size="30" type="text" class="text" />
and
<textarea cols="25" name="newcommentbody" rows="10" class="text">
And just to be sure I added a gmsearch:
<input name="gmsearch" type="hidden" value="no" />
However I still get this error message.
I quickly edited gm-comments.cgi to add a bit of perl to dump the $IN hash to a file and this never dumps anything.
I've checked and Gm_Web is the 1.8.2 version.
So can anyone guess why this form isn't submitting correctly?
If more details (full templates, chunks of file etc) are wanted they can be provided.
thanks in advance.
| |
|
Carlos Phelps Global Moderator
     member is offline
Joined: Jan 2007 Gender: Male  Posts: 177 Karma: 30 |  | Re: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2. « Reply #1 on Aug 12, 2009, 11:40pm » | |
Do you have a url of a page I could try the comment feature to see what going on?
| |
|
bluefoo New Member
 member is offline
Joined: Aug 2009 Gender: Male  Posts: 4 Karma: 0 | |
Carlos Phelps Global Moderator
     member is offline
Joined: Jan 2007 Gender: Male  Posts: 177 Karma: 30 |  | Re: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2. « Reply #3 on Aug 13, 2009, 11:35pm » | |
It appears you have improperly nested comments in your HTML starting at line 217 on the page the link was for, see following code section:
Code:<!-- <td> <script type="text/javascript"> <!--// function commentEmoticon(code) { var cache = document.newcomment.newcommentbody.value;
document.newcomment.newcommentbody.value = cache + " " + code; document.newcomment.newcommentbody.focus(); } //-->
|
|
Fix this and it should work.
| |
|
bluefoo New Member
 member is offline
Joined: Aug 2009 Gender: Male  Posts: 4 Karma: 0 |  | Re: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2. « Reply #4 on Aug 16, 2009, 5:35pm » | |
Aug 13, 2009, 11:35pm, Carlos Phelps wrote:It appears you have improperly nested comments in your HTML starting at line 217 on the page the link was for, see following code section:
Code:<!-- <td> <script type="text/javascript"> <!--// function commentEmoticon(code) { var cache = document.newcomment.newcommentbody.value;
document.newcomment.newcommentbody.value = cache + " " + code; document.newcomment.newcommentbody.focus(); } //-->
|
|
Fix this and it should work. |
|
Thanks for that, I put that in to try and determine if the emoticon code was causing errors.
I've sorted the commenting out to make sure the emoticon code is now cleanly commenting however this behaviour persists and adding comments is still impossible.
| |
|
Carlos Phelps Global Moderator
     member is offline
Joined: Jan 2007 Gender: Male  Posts: 177 Karma: 30 |  | Re: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2. « Reply #5 on Aug 16, 2009, 9:09pm » | |
The code section was not a correction, it was just to show you where the problem was.
| |
|
bluefoo New Member
 member is offline
Joined: Aug 2009 Gender: Male  Posts: 4 Karma: 0 |  | Re: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2. « Reply #6 on Aug 18, 2009, 2:36am » | |
Thanks, however having the emoticon code included or cleanly commented out doesn't seem to affect the issue that comments cannot be posted as gm-comment.cgi appears to receive null data.
Do you suspect the issue is in the templates? Should I try resetting these back to the 1.8.2 defaults?
| |
|