Print Page | Close Window

debug for add buddy

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6624
Printed Date: 03 April 2026 at 5:57pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: debug for add buddy
Posted By: nickg
Subject: debug for add buddy
Date Posted: 22 October 2003 at 1:04am
hi!
whem I want to add buddy in my list i get this error befor to add :
DEBUG
erreur is happened
do you want to debug?
line 97    (98, 104, 111)
Error: ")" suposed
yes?no?

After severals tests I noticed : With the english version no problem But my forum is for french people so I translate to french files which are in langage folder But two of them get a problem :
pm_langage_file-inc.asp
and
pm_buddy_list.asp
In pm_langage_file-inc.asp whem I change this part to french:
'pm_buddy_list.asp
'----------------------------------------------------------- ----------------------
Const strTxtNoBuddysInList = "You have no Buddies in your Buddy List"
......
Const strTxtUserCanNotBeFoundInDatabase = "can not be found in the database.\n\nCheck you havn\'t misspelled the Members Username

I get an error before to add buddy whem this part is in french (or different lines) No problem in english
I think is display problem ??
Debug explorer said that come from with pm_buddy_list.asp:

<td bgcolor="<% = strTableTitleColour %>" width="19%" height="2" class="tHeading" background="<% = strTableTitleBgImage %>"><% = strTxtBuddy %></td>
<td bgcolor="<% = strTableTitleColour %>" width="40%" height="2" class="tHeading" background="<% = strTableTitleBgImage %>"><% = strTxtDescription %></td>
<td bgcolor="<% = strTableTitleColour %>" width="35%" height="2" class="tHeading" background="<% = strTableTitleBgImage %>"><% = strTxtContactStatus %></td>
<td bgcolor="<% = strTableTitleColour %>" width="6%" align="center" height="2" class="tHeading" background="<% = strTableTitleBgImage %>"><% = strTxtDelete %></td>
</tr>

HOW can I resolv this I tried many thinks but I can not
thanks




Replies:
Posted By: WebWiz-Bruce
Date Posted: 22 October 2003 at 2:34am
If it is a JavaScript text line that you are changing you need to use JavaScript save text.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: nickg
Date Posted: 22 October 2003 at 2:48am
Originally posted by -boRg- -boRg- wrote:

you need to use JavaScript save text.

Borg! could you explain me a little bit...
thanks


Posted By: WebWiz-Bruce
Date Posted: 22 October 2003 at 2:54am
It's not that easy to explain this time in the morning.

Do a search on Google for what you can use in JavaScript text. Also I have no experience with the French language and JavaScript.

This like ' will end the string in JS so you need to use the escape charcater \

eg.

don't

would become:-

don\'t


Also try using Mozilla Firebird, under the tools menu it has an excelent JS debugger that makes finding problems in JavaScript so much simpler.

It's also a better browser than IE, you can get it from:-

http://www.mozilla.org/products/firebird/ - http://www.mozilla.org/products/firebird/


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: nickg
Date Posted: 22 October 2003 at 3:01am
It seems something like this
I'll try later... I do not have access to my serveur for the moment.

yes ! I'm USING mozilla 1.3 with linux mandrake 9.2 and I do NOT have any problem
But persons who are connceted to the forum use IE...so
I need to think about them....

Thanks for you quick answer


Posted By: WebWiz-Bruce
Date Posted: 22 October 2003 at 3:30am
When I say about using Mozilla I mean for the JavaScript debugger. It's under the tools menu, it should give you a better idea of what the JavaScript error is.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: nickg
Date Posted: 22 October 2003 at 4:36am
oups!! yes I dowloaded Mozilla Firebird (JavaScript debugger.)
I try it ...well

I tested this line:
Const strTxtErrorDisplayLine3 = "Les champs suivants ont besoin d\'être corrigés : -"

and i get
error missing ; before statement
Const strTxtErrorDisplayLine3 = "Les champs suivants ont besoin d\%C3%AAAtre corrigC3%A9s : -"

I tried to correct it but....



Posted By: WebWiz-Bruce
Date Posted: 22 October 2003 at 4:58am
You'll just have to keep trying as I can not see a problem.

Why not look for French lnaguage files in the language file forum and see how others have solved this problem.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: nickg
Date Posted: 22 October 2003 at 5:39am
ok
Sorry for these worries
don't worry I'll find the solution
@+


Posted By: wistex
Date Posted: 22 October 2003 at 7:37pm

I think you need to use html's codes such as

&eacute;

which would show an

é

on an html page.

I think that the é is conflicting with the javascript and you must use the html equivelent to make it work.

Here is a link that shows you how to do it:

http://tlt.its.psu.edu/suggestions/international/web/codehtml.html - http://tlt.its.psu.edu/suggestions/international/web/codehtm l.html



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net