Wow! Thanks to all for the quick responses :-)
Ime Smits wrote:
>
> | [Tue Sep 19 18:26:10 2000] [error] [asp] [19999] [error] Can't modify
> | concatenation (.) in
> | scalar assignment at (eval 37) line 3, at EOF <--> ,
> | /usr/local/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1740
> | Looking at the above file, line 1740 is as indicated below:
>
> For debug information in the browser try 'PerlSetVar Debug 1'. Most of the
> time, when Apache::ASP complains about errors in ASP.pm it just means that
> there is something very fishy about the code being feeded. Recheck your
> document, it's probably a non-matched brace or bracket, unbalanced
> parantheses, <% and %> and the like.
>
> Seeing the error "Can't modify concatenation (.)", there's also another
> option: you're speaking a different language. Did you tell it to
> $Response->Write() or to Response.Write ?
>
> Ime
I tried setting the debug on (in httpd.conf in the <Files ~ (\.asp)>
section) but nothing more shows up than before.
Here's a snippet of the code:-
<%@LANGUAGE="JAVASCRIPT"%>
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset");
Recordset1.ActiveConnection = "dsn=Grayling MySQL;";
Recordset1.Source = "SELECT * FROM users";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 3;
Recordset1.Open();
var Recordset1_numRows = 0;
%><%
var Repeat1__numRows = 10;
var Repeat1__index = 0;
Recordset1_numRows += Repeat1__numRows;
%>
<html>
<head>
<title></title>
etc
Tom Brown wrote:
>
> ASP pages created by dreamweaver almost certainly contain VBscript code,
> which won't run under Apache::ASP, which supports perl code.
Uhm, I thought ASP was a language like php. Is that not the case? When
I set up Dreamweaver, I chose ASP with Javascript. I assumed that meant
it would run ASP on the server and javascript on the client.
I'm also trying out Apache Java, but without much greater success. Does
anyone have a good Dreamweaver/Apache server module combination
working? I can't believe Dreamweaver only supports IIS...
Thanks very much for all your help,
Brian