Updated Fedora 11 server on PPC and now site is down completely!

Updated Fedora 11 server on PPC and now site is down completely!

am 10.01.2010 21:05:00 von Kaya Saman

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 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: Updated Fedora 11 server on PPC and now site isdown completely!

am 10.01.2010 21:10:37 von rambo

> /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 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: Updated Fedora 11 server on PPC and now site isdown completely!

am 10.01.2010 21:15:31 von Kaya Saman

> 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 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:


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


echo'

 








height="300" alt="tower" /> height="300" alt="desktop" />
';

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 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: Updated Fedora 11 server on PPC and now site isdown completely!

am 10.01.2010 21:24:27 von rambo

On Sun, 10 Jan 2010 22:15:31 +0200
Kaya Saman wrote:

>
> ';
?>

^ 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 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: Updated Fedora 11 server on PPC and now site isdown completely!

am 10.01.2010 21:37:10 von Kaya Saman

Marcin 'Rambo' Roguski wrote:
> On Sun, 10 Jan 2010 22:15:31 +0200
> Kaya Saman wrote:
>
>
>>
>> ';
>>
> ?>
>
> ^ try and tell...
>
>
>
Ok what was weird is that I tried several things:


";


';'


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


';


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 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: Updated Fedora 11 server on PPC and now site is

am 10.01.2010 21:45:31 von Eric Covener

On Sun, Jan 10, 2010 at 3:37 PM, Kaya Saman 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 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: Updated Fedora 11 server on PPC and now site is down completely!

am 10.01.2010 21:48:13 von Kaya Saman

Eric Covener wrote:
> On Sun, Jan 10, 2010 at 3:37 PM, Kaya Saman 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 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