×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Character problem. empty comment

Character problem. empty comment 14 years 1 month ago #10653

  • one_andy
  • one_andy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 40
Hello,

I am working to get JoomlaComment working on a site. The component worked several times a long time ago but has stopped working since then. The problem is that when you write a comment it doesn't appear but an error code like this comes up:
<br />
<b>Warning</b>:  mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: A link to the server could not be established in <b>/backup/tituscol/public_html/components/com_comment/joscomment/utils.php</b> on line <b>548</b><br />
<?xml version="1.0" standalone="yes"?><post><id>23</id><after>4</after><published>1</published><noerror>1</noerror><debug></debug><body><![CDATA[
<table class='postcontainer' id='post23' width='100%' cellpadding='0' cellspacing='0' style='margin-left:0px;'><!-- style='padding-left:0px;'> -->
	<tr>
		<td><a name='josc23'></a>
<table class='post' width='100%' cellpadding='0' cellspacing='0'>
  <tbody class='sectiontableentry'>
    <tr>
      <td><table class='postheader' width='100%' cellpadding='0' cellspacing='0'>
          <tr>
            <td align='left'>
            	<span class='postusername'>misiune</span>
 
            </td>
            <td align='right'>
 
				<span class='postnotify0' title='do not notify if new post'>&nbsp;</span>
            	|<span class='postusertype'><span class='administrator'>SAdministrator</span></span>
            	|<span class='createdate'>2010-11-03 21:00:13</span>
            </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td colspan='2'><table class='postbody' width='100%' cellpadding='0' cellspacing='0'>
          <tr>
 
			<td style='overflow: hidden;'>Character problem. empty comment</td>
          </tr>
        </table></td>
    </tr>
 
  <tr>
    <td><table class='postfooter' width='100%' cellpadding='0' cellspacing='0'>
        <tr>
          <td align='left'><a href='javascript:JOSC_reply(23)'>Reply</a> | <a href='javascript:JOSC_editComment(23)'>Edit</a> | <a href='javascript:JOSC_deleteComment(23)'>Delete</a></td>
          <td align='right'><table cellspacing='0' cellpadding='0' border='0'><tr><td><a id='yes23' class='voting_yes' href='javascript:JOSC_voting(23,&#34;yes&#34;)'>0</a></td><td>&nbsp;</td><td><a id='no23' class='voting_no' href='javascript:JOSC_voting(23,&#34;no&#34;)'>0</a></td></tr></table></td>
        </tr>
      </table></td>
  </tr>
 
  </tbody>
</table>
		</td>
	</tr>
</table>
]]></body></post>
Yet the comment does appear, but with the comment text: "Character problem. empty comment"

I really do not know what is wrong. I can not access the site through FTP (Because when I activate it in settings it says it can't) and neither do I know how to access the Mambot code. It would be grate if you could give me some advise solving the problem through the Admin site. Maybe the above code can help.
Since I am short in time I appreciate fast help.

Thanks in advance
/Andy

Character problem. empty comment 14 years 1 month ago #10654

  • one_andy
  • one_andy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 40
My version of !JoomlaComment is 3.21
Would it help to upgrade?

Character problem. empty comment 14 years 1 month ago #10655

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andy - updating to the latest version should fix the problem, but you will have to read documentation in the part concerning the upgrade :)

However, If you don't want to upgrade(I cannot force you to do so :)), search our forum for mysql_real_escape_string and you will find several old threads that will help you.

Character problem. empty comment 14 years 1 month ago #10660

  • one_andy
  • one_andy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 40
Daniel!

I am glad for your prompt answer. The best thing would be to upgrade the component as you said. But where can I find the necessary docmentation-file; In "Joomla under components" or in the downloaded "JoomlaComment 3.26-file"?
Thanks for helping me!

/Andy
P.S: I am now able to access FTP, in case I will need it later.

Character problem. empty comment 14 years 1 month ago #10661

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andy,
You can find the documentation here compojoom.com/downloads/downloads/compoj...omment/documentation (you will need a subscription for it first).

You won't need an ftp access to update, but I cannot recommend at all using your website if you don't have ftp...

Cheers,
Daniel

Character problem. empty comment 14 years 1 month ago #10665

  • one_andy
  • one_andy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 40
I downloaded the newest version of JoomlaComment (3.26) and now it finally works!
Thank you for this helpful but yet simple advice!
Case solved!

Now I just need to find out how to add this comment function in some sub menus, so that you will be able to comment the media-files.

/Andy
  • Page:
  • 1
Time to create page: 0.116 seconds