I have a page with 2 components and navigation comp and a grid. When I execute the page locally it works OK. When I publish it to the server I get this error for the page. 500 Internal Server Error
"Script Error
Error:Script: /shop.a5w line:33
x_shopworkgrid = a5w_run_Component(tmpl_shopworkgrid)
Variable "v" not found."
I don't understand and need help.
This is the code for the page:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html><head><title></title>
<meta http-equiv=Content-type content="text/html; charset=unicode"><%a5
Delete tmpl_nav
DIM tmpl_nav as P
tmpl_nav = a5w_load_component("nav")
'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
'Each component on a page must have a unique alias (componentName property).
with tmpl_nav
location = ""
componentName = "nav"
end with
'=======================================compute the HTML for the Component=======================================
delete x_nav
dim x_nav as p
x_nav = a5w_run_Component(tmpl_nav)
?x_nav.Output.Head.JavaScript
?x_nav.Output.Head.CSS_Link
%><%a5
Delete tmpl_shopworkgrid
DIM tmpl_shopworkgrid as P
tmpl_shopworkgrid = a5w_load_component("shopworkgrid")
'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
'Each component on a page must have a unique alias (componentName property).
with tmpl_shopworkgrid
componentName = "shopworkgrid"
end with
'=======================================compute the HTML for the Component=======================================
delete x_shopworkgrid
dim x_shopworkgrid as p
x_shopworkgrid = a5w_run_Component(tmpl_shopworkgrid)
'=============================================================================================================
if x_shopworkgrid.RedirectURL <> "" then
response.redirect(x_shopworkgrid.redirectURL)
end
end if
?x_shopworkgrid.Output.Head.JavaScript
?x_shopworkgrid.Output.Head.CSS_Link
%><!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --><!--CSS for tmpl_shopworkgrid --><link
href="file:///C:/Program Files/A5V8/css/BlackWhite/style.css" type=text/css
rel=stylesheet><!--Alpha Five Temporary Code End --><!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --><!--CSS for tmpl_nav --><link
href="file:///C:/Program Files/A5V8/css/BlackWhite/components/a5navsysToolbar/style.css"
type=text/css rel=stylesheet><!--Alpha Five Temporary Code End -->
<meta content="MSHTML 6.00.2900.2963" name=GENERATOR></head>
<body>
<p><!-- Navigation System -->
<table cellSpacing=0 cellPadding=0 width="90%" bgColor=#000000 border=0>
<tbody>
<tr>
<td width=220 background=C:\a5webroot\headersmall1.jpg height=79> </td>
<td background=C:\a5webroot\headersmall2.jpg> </td></tr>
<tr>
<td background=C:\a5webroot\headersmall3.jpg> </td>
<td> </td></tr></tbody></table></p>
<p><%a5 ?x_nav.Output.Body.navsysTBH %></p>
<p><br>
<table>
<tbody>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.Grid_Echo %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.UpdateErrors %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.Search_HTML %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.Grid_HTML %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.DetailView_HTML %></td></tr></tbody></table></p>
<p><br> </p></body></html>
"Script Error
Error:Script: /shop.a5w line:33
x_shopworkgrid = a5w_run_Component(tmpl_shopworkgrid)
Variable "v" not found."
I don't understand and need help.
This is the code for the page:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html><head><title></title>
<meta http-equiv=Content-type content="text/html; charset=unicode"><%a5
Delete tmpl_nav
DIM tmpl_nav as P
tmpl_nav = a5w_load_component("nav")
'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
'Each component on a page must have a unique alias (componentName property).
with tmpl_nav
location = ""
componentName = "nav"
end with
'=======================================compute the HTML for the Component=======================================
delete x_nav
dim x_nav as p
x_nav = a5w_run_Component(tmpl_nav)
?x_nav.Output.Head.JavaScript
?x_nav.Output.Head.CSS_Link
%><%a5
Delete tmpl_shopworkgrid
DIM tmpl_shopworkgrid as P
tmpl_shopworkgrid = a5w_load_component("shopworkgrid")
'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
'Each component on a page must have a unique alias (componentName property).
with tmpl_shopworkgrid
componentName = "shopworkgrid"
end with
'=======================================compute the HTML for the Component=======================================
delete x_shopworkgrid
dim x_shopworkgrid as p
x_shopworkgrid = a5w_run_Component(tmpl_shopworkgrid)
'=============================================================================================================
if x_shopworkgrid.RedirectURL <> "" then
response.redirect(x_shopworkgrid.redirectURL)
end
end if
?x_shopworkgrid.Output.Head.JavaScript
?x_shopworkgrid.Output.Head.CSS_Link
%><!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --><!--CSS for tmpl_shopworkgrid --><link
href="file:///C:/Program Files/A5V8/css/BlackWhite/style.css" type=text/css
rel=stylesheet><!--Alpha Five Temporary Code End --><!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --><!--CSS for tmpl_nav --><link
href="file:///C:/Program Files/A5V8/css/BlackWhite/components/a5navsysToolbar/style.css"
type=text/css rel=stylesheet><!--Alpha Five Temporary Code End -->
<meta content="MSHTML 6.00.2900.2963" name=GENERATOR></head>
<body>
<p><!-- Navigation System -->
<table cellSpacing=0 cellPadding=0 width="90%" bgColor=#000000 border=0>
<tbody>
<tr>
<td width=220 background=C:\a5webroot\headersmall1.jpg height=79> </td>
<td background=C:\a5webroot\headersmall2.jpg> </td></tr>
<tr>
<td background=C:\a5webroot\headersmall3.jpg> </td>
<td> </td></tr></tbody></table></p>
<p><%a5 ?x_nav.Output.Body.navsysTBH %></p>
<p><br>
<table>
<tbody>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.Grid_Echo %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.UpdateErrors %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.Search_HTML %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.Grid_HTML %></td></tr>
<tr>
<td><%A5 ?x_shopworkgrid.Output.Body.DetailView_HTML %></td></tr></tbody></table></p>
<p><br> </p></body></html>