Upgraded PHP now website doesn't work properly?

From: Date: Mon, 11 Jan 2010 00:52:23 +0000
Subject: Upgraded PHP now website doesn't work properly?
Groups: php.general 
Request: Send a blank email to php-general+get-300949@lists.php.net to get a copy of this message
Hi, I am hoping someone can help me?? I currently run Fedora 11 on an Apple PowerMac G4 and recently performed an upgrade to it which rendered my site completely unsee able for a while but then after re-saving it showed up through my browsers however my menu bar was slightly altered probably due to lack of formatting. Apache error logs claim this: [Sun Jan 10 23:06:23 2010] [error] [client 192.168.1.110] PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/optiplex-networks/links.php on line 20, referer: http://co111w.col111.mail.live.com/mail/InboxLight.aspx?n=454360575 I have attempted to enable PHP debugging but nothing is being shown! To give an idea of where things are going wrong this is the start of the file: <?php # Script 3.4 - index.php // Set the page title and include the HTML header. $page_title = 'Optiplex Networks'; include ('./header.inc'); ?> <?php ini_set('display_errors',1); error_reporting(E_ALL|E_STRICT); echo ' <table width="100%" align="center" border="0" bgcolor="#CCCCCC"> <tr><td align="center"><font size="4"><strong>Contributors to Optiplex Networks:</strong></font></td></tr> </table> <p>If it weren't for these projects Optiplex Networks would not have happened. My thanks and regards to everyone involved!</p> <table width="95%" border="1" align="center"> <tr> <td width="15%"><div align="center" class="style2"><strong>Name</strong></div></td> <td width="20%"><div align="center" class="style2"><strong>Address</strong></div></td> <td width="*"><div align="center" class="style2"><strong>Description</strong></div></td> </tr> Line 20 is the line beginning with <p>If it weren't for....... I don't understand why this should be an error as it's basic html! The only php part I have used is just echoing the html out. As shown the echo ' is closed off at the bottom of the file with: '; ?> which is fine according the book I read about php. Obviously something is wrong but I can't figure it out, if anyone can give me a hand I'd very much appreciate it! Many thanks, Kaya

« previous php.general (#300949) next »