×

Notice

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

TOPIC: Error after translation

Error after translation 15 years 5 months ago #1704

  • Zsolt Siklodi
  • Zsolt Siklodi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi,

First of all thanks for a great component.

I did play around with the language files, so it might be that I f**d something up.

Here is my problem. If a registered user makes a post when he's logged in with a captcha image I get following the popup 'Request Failed' and the following text in the text area:
<?xml version="1.0" standalone="yes"?><post><id>captchaalert</id><captcha><![CDATA[<a title="clic to reload a new image" href='javascript:JOSC_reloadCaptcha()'><img src="website/components/com_comment/joscomment/captcha.php?refid=218066d4322b103c1c01cddfb55b7d3b" alt="Security Image" />
<input type="hidden" name="security_refid" value="218066d4322b103c1c01cddfb55b7d3b" /></a>]]></captcha><noerror>1</noerror></post>

and if I disable captcha with the same settings then::woohoo:
<?xml version="1.0" standalone="yes"?><post><id>7</id><after>-1</after><published>1</published><noerror>1</noerror><debug></debug><body><![CDATA[
<table class='postcontainer' id='post7' width='100%' cellpadding='0' cellspacing='0' style='margin-left:0px;'><!-- style='padding-left:0px;'> -->
	<tr>
		<td><a name='josc7'></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'><a href='website/index.php?option=com_comprofiler&task=userProfile&user=63'>siki</a></span>
            	&nbsp;-&nbsp;<span class='posttitle'>sdafasd</span>
            </td>
            <td align='right'>
				<a class='postwebsite' rel='external nofollow' href='http://www.solo.com' title='http://www.solo.com' target='_blank'>&nbsp;</a>
				<span class='postnotify0' title='Ne Értesítsen'>&nbsp;</span>
            	|<span class='postusertype'>Registered</span>
            	|<span class='createdate'>2008-11-28 01:41:09</span>
            </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td colspan='2'><table class='postbody' width='100%' cellpadding='0' cellspacing='0'>
          <tr>
 
			<td style='overflow: hidden;'>fasdf <img src='website/components/com_comment/joscomment/emoticons/funny/images/sick.png' border='0' alt='' /></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(7)'>Hozzászólás</a> | <a href = 'javascript:JOSC_quote(7)'>Felejj</a> | <a href='javascript:JOSC_editComment(7)'>Módosíts</a> | <a href='javascript:JOSC_deleteComment(7)'>Törölj</a></td>
          <td align='right'><table cellspacing='0' cellpadding='0' border='0'><tr><td><a id='yes7' class='voting_yes' href='javascript:JOSC_voting(7,&#34;yes&#34;)'>0</a></td><td>&nbsp;</td><td><a id='no7' class='voting_no' href='javascript:JOSC_voting(7,&#34;no&#34;)'>0</a></td></tr></table></td>
        </tr>
      </table></td>
  </tr>
 
  </tbody>
</table>
		</td>
	</tr>
</table>
]]></body></post>

The comment is posted in the end but I get the error ...

Any ideas where I messed it up?

Thanks for you help.
Siki

Error after translation 15 years 5 months ago #1705

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Do you get the error with the default language file?

Error after translation 15 years 5 months ago #1708

  • Zsolt Siklodi
  • Zsolt Siklodi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi Daniel,


Thanks for the quick reply. I looks like my fault. With the english it works perfectly and also with the original hungarian translation included in the original files.

All I wanted it to translate some of the fields which had been still in english.

Somewhere in the process I did change something ... Could you please let me know how I could include some extra lines in the hungarian file? All I did was copying them over from the english and just translate it.

Thanks for your advice,
Siki

Error after translation 15 years 5 months ago #1710

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Open the original file with program such as PSPad(pspad.com) and then make your changes and save the file. That should solve the problem.I believe that the editor with whom you made the changes doesn't support utf-8.

Error after translation 15 years 5 months ago #1711

  • Zsolt Siklodi
  • Zsolt Siklodi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Great. Thanks I'll try that.

Regards,
Siki
  • Page:
  • 1
Time to create page: 0.105 seconds