Grey Matter Forums
« gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2.9 »

Welcome Guest. Please Login or Register.
May 21, 2013, 6:41am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Support :: Trouble Shooting :: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2.9
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: gm-comments 1.8.2 on Debian 5.0.2, Apache 2.2.9 (Read 826 times)
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.


Link to Post - Back to Top  IP: Logged
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?
Link to Post - Back to Top  IP: Logged
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 #2 on Aug 13, 2009, 4:49am »


Aug 12, 2009, 11:40pm, Carlos Phelps wrote:
Do you have a url of a page I could try the comment feature to see what going on?


Sure: http://red-velvet.lancs.ac.uk:8080/~mish//blog/data/00001080.htm should be the latest entry.
Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
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?
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile