on 03-10-2008 7:39 AM
Hi Experts,
I am getting ITS_UNEXPECTED_TOKEN runtime error while executing an ITS service in integrated ITS.
The details of the dump are as follows:
The template "templates/zess_global/99/zessfunctions_46b.html" contains syntax
errors and could therefore not
be compiled.
Cause of error: the token "(" ("(") could not be recognized.
The syntax error is located in line: 124, column: 12
The erroneous HTMLB line is:
"makeButton1(OKCODE,BUTTON,"","","","","","");"
What can be the reason?
Thanks & Regards,
Soumya.
Hi Soumya,
seems that makeButton1 does not exist. Where is the implementation of
this function?
regards
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you check the template,
is it there with the outer double quote as well?
is it like this
"makeButton1(OKCODE,BUTTON,"","","","","","");"
or like this
makeButton1(OKCODE,BUTTON,"","","","","","");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for ur reply. I checked the template. Under the Internet Service there are two html templates. The concerned template does not have the definition of makeButton1 but the other one has. This error was coming when I migrated it into integrated ITS. Before the migration also the same code was there. It was not giving any error with stand alone ITS.
Please correct me as I am entirely new to this.
Regards,
Soumya.
Hi Soumya,
please check the parameter of your service in <name>.srvc - maybe you have to add
parameters to your service using TA sicf...
If not you can add
declare makeButton1(a,b,c,...) in "<secondtemplate>.html";
before the makeButton1() statement.
May be including the template containing makeButton1 will help too.
regards
Tobias
Hi,
I have defined the missing function. But now I am getting a new error "ITS_FUNCTION_ALREADY_DEFINED"
Cause of error: Function "stylesheet" is defined twice in template "templates/iac/dm/generator.html".
I can see that the fuction style sheet is defined in service IAC as well as in service ESS_GLOBAL . How can I rectify this error.?
Thanks & Regards,
Soumya.
Hi Tobias,
Yes, we are migrating from 6.20.
The parameters of the custom service in 6.20 are as follows:
~AUTOSCROLL 0
~GENERATEDYNPRO 1
~LISTSCROLLING 0
~POPUPS 1
~STYLE DHTML
~TRANSACTION ZPZ04
The dump I am getting is :
Template "templates/zess_global/99/essfunctions.html" contains syntay errors
and therefore could not be compiled.
Cause of error: Function "stylesheet" is defined twice in template
"templates/iac/dm/generator.html". The
syntax error is in row: 14, column: 10
The erroneous HTMLB lines is:
"function Stylesheet()`"
I don't know where it is calling the template "templates/zess_global/99/essfunctions.html"
Eventhough I am including the service zess_global, the html 'essfunctions.html' is not included. The include is like this:
include(~service="zess_global", ~language="", ~theme="99", ~name="zessfunctions_46B.html")
Thanks & Regards,
Soumya.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.