You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kaya Saman <Sa...@netscape.net> on 2010/01/10 21:05:00 UTC

[users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Hi,

I have Apache running on F11 on an Apple PowerMac G4. I can't remember 
what got updated as there were many packages but I think PHP5 was 
included in them.

Now when I try to access my site I get this error:

[Sun Jan 10 21:50:00 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 17, referer: 
http://www.optiplex-networks.com/home.php

In my virtual hosts log!

I do run this setup through a Squid reverse proxy so I'm not sure where 
the error lies.....

Can anyone help me?

Many thanks!

Regards,

Kaya

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Posted by Kaya Saman <Sa...@netscape.net>.
Eric Covener wrote:
> On Sun, Jan 10, 2010 at 3:37 PM, Kaya Saman <Sa...@netscape.net> wrote:
>   
>> http://www.optiplex-networks.com/links.php
>>
>> What worked 2 minutes ago now doesn't even show up and there don't seem to
>> be any errors reported in Apache log either :-(
>>     
>
> While it's off-topic here, try enabling error reporting in PHP.
>
>   
Thanks for the advice!

I guess PHP is off-topic as I thought initially it was something wrong 
with Apache or Squid.....

:-)

Thanks for all the help to everyone!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Posted by Eric Covener <co...@gmail.com>.
On Sun, Jan 10, 2010 at 3:37 PM, Kaya Saman <Sa...@netscape.net> wrote:
> http://www.optiplex-networks.com/links.php
>
> What worked 2 minutes ago now doesn't even show up and there don't seem to
> be any errors reported in Apache log either :-(

While it's off-topic here, try enabling error reporting in PHP.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Posted by Kaya Saman <Sa...@netscape.net>.
Marcin 'Rambo' Roguski wrote:
> On Sun, 10 Jan 2010 22:15:31 +0200
> Kaya Saman <Sa...@netscape.net> wrote:
>
>   
>>   </tr>
>> </table></div>';
>>     
> ?>
>
> ^ try and tell...
>
>
>   
Ok what was weird is that I tried several things:

 </tr>
</table></div>";

 </tr>
</table></div>';'


Basically nothing worked! So I reverted back to my original:

 </tr>
</table></div>';


And I managed to see my site again, even though the middle menu bar is a 
bit messed up...... and since that's plain old html and not php it is odd!!

However even more frustrating is that if one clicks the links button:

http://www.optiplex-networks.com/links.php

What worked 2 minutes ago now doesn't even show up and there don't seem 
to be any errors reported in Apache log either :-(

I checked the permissions and all seem fine, I even checked the syntax 
with a backup copy and again all is fine??

I wish I hadn't done that upgrade now :-/



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Posted by Marcin 'Rambo' Roguski <ra...@id.uw.edu.pl>.
On Sun, 10 Jan 2010 22:15:31 +0200
Kaya Saman <Sa...@netscape.net> wrote:

>   </tr>
> </table></div>';
?>

^ try and tell...


-- 
I sometimes think that God, in creating man, somewhat overestimated his
ability.
		-- Oscar Wilde

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Posted by Kaya Saman <Sa...@netscape.net>.
> The error is exactly where the log tells you, line
> 17 in /home/optiplex-networks/links.php
>
> Most likely you were previously using php4.0 and now
> moved above 5 which is far more strict about syntax.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>   

Thanks for the lightning fast response!

I checked the syntax and all seems fine.....??

This is the current layout of the page:

<?php # Script 3.4 - index.php

// Set the page title and include the HTML header.
$page_title = 'Optiplex Networks';
include ('./header.inc');
?>

<?php

echo'<p>&nbsp;</p>

<div align="center"><table width="800" border="1">
  <tr>
    <td><img name="tower" src="images/tower.jpg" width="400" 
height="300" alt="tower" /></td>
    <td><img name="desktop" src="images/desktop.jpg" width="400" 
height="300" alt="desktop" /></td>
  </tr>
</table></div>';

With '; ending line 17

The log claims ',' or ';' does this mean I need to end with exactly what 
it says, including the '' as well or is it just complaining that there's 
no ; ending the line??

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Updated Fedora 11 server on PPC and now site is down completely!

Posted by Marcin 'Rambo' Roguski <ra...@id.uw.edu.pl>.
> /home/optiplex-networks/links.php on line 17
[...]
> I'm not sure where the error lies.....

> Can anyone help me?

The error is exactly where the log tells you, line
17 in /home/optiplex-networks/links.php

Most likely you were previously using php4.0 and now
moved above 5 which is far more strict about syntax.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org