Page 1 of 1

I do not understand $end

Posted: Wed Jul 07, 2004 2:26 am
by gwwindia
I have transferred my installation from linux based apache web server to windows based apache web server, i m getting below error ...
================
Parse error: parse error, unexpected $end in C:\Typo3\htdocs\quickstart\typo3conf\ext\access_rights\pi1\class.tx_accessrights_pi1.php on line 576
================

Posted: Wed Jul 07, 2004 2:35 am
by qads
it might be cos of a if statment, i.e.

Code: Select all

<?php
if($bla == 1)
{
//do stuff
}
else
{
//do more stuff
?>
note that the } is missing in ELSE.

might be worth pasteing your code here.

Posted: Wed Jul 07, 2004 2:49 am
by gwwindia
the problem is if i delete some lines, it does not give error, whereas if i comment those lines, the error remains as it is.

Posted: Wed Jul 07, 2004 3:01 am
by JayBird
You need to show us your code