PDA

View Full Version : Parse Error


kk7x
05-28-2007, 03:51 PM
I just installed the calendar and am having problems with integration.

It works fine until I add Text Mode or List mode - anything other than the basic calendar. I used a fresh page with nothing else on the page. I have tried with just one line of code and multiple lines. Ideas?

Here is the error

Parse error: parse error, unexpected T_VARIABLE in /home/content/c/d/a/cdafirst/html/test.php on line 12

Here is the page code

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
<?php $CSS=1; require("calendar/calendar.php"); ?>
</head>
<body>
<?php $OL=1; require("calendar/calendar.php"); ?>
<?php require("calendar/calendar.php"); ?>
<?php$LIST=1; $DF = "D - M d"; $template="monthly.php"; require ("calendar/calendar.php"); ?>
</body>
</html>

ve9gra
05-28-2007, 04:25 PM
<?php$LIST=1;
^

You're missing a space..

kk7x
05-28-2007, 05:01 PM
I added the space and now just get a blank screen, no calendar

ve9gra
05-28-2007, 05:28 PM
Have a link? I'm guessing it has something to do with your paths.