Just installed Mason under Apache 2.2.3 on a machine and getting a runtime error.
I've never had trouble installing Mason before, so I have no idea what the problem is or how to troubleshoot it. However, this is my first attempt under Apache2. Below are my HTML source and the Mason error. Not sure what to ask. I just know that very simple code is not executing. Can anyone help figure out the problem? HTML: <html><head><title></title></head> <body> <h2>Font sizes:</h2> <% foreach my $i (1..5) { %> <font size="<%= $i %>">Size = <%= $i %></font><br> <% } %> </body> </html> ERROR: Loading CGI at runtime. You could increase shared memory between Apache processes by preloading it in your httpd.conf or handler.pl file [Thu Jan 04 17:31:51 2007] [error] [client 127.0.0.1] Error during compilation of /usr/local/apache/htdocs/mason/index.html:\t"my" variable $m masks earlier declaration in same scope at /usr/local/apache/htdocs/mason/index.html line 5.\tsyntax error at /usr/local/apache/htdocs/mason/index.html line 4, near "( foreach "\t (Might be a runaway multi-line '' string starting on line 1)\tsyntax error at /usr/local/apache/htdocs/mason/index.html line 5, near "( ="\t (Might be a runaway multi-line '' string starting on line 4)\tsyntax error at /usr/local/apache/htdocs/mason/index.html line 5, near "( ="\tsyntax error at /usr/local/apache/htdocs/mason/index.html line 6, near "( }"\t (Might be a runaway multi-line '' string starting on line 5)\tsyntax error at /usr/local/apache/htdocs/mason/index.html line 11, near "}"\t\t\tStack: [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:445], [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:239], [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:205], [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97], [/usr/lib/perl5/site_perl/5.8.8/Class/Container.pm:275], [/usr/lib/perl5/site_perl/5.8.8/Class/Container.pm:353], [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348], [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:869], [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:823], [(eval 32):8], [-e:0]\n ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users