parse error

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jga
Posts: 29
Joined: Mon Jul 01, 2002 3:41 pm
Location: Santiago de Chile

parse error

Post by jga »

:( I have this error when run php cmd.php

parse error: parse error in /var/www/html/cacti-0.6.8/include/config.php
on line 16

this line has os config like $cacti_server_os="unix";
have an idea

thanks
svenka :cry:
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Are you sure line 16 is:

Code: Select all

$cacti_server_os = "unix";
Because in my copy of 0.6.8, line 14 is:

Code: Select all

+-------------------------------------------------------------------------+
(which is in the middle of the header comment)

Assuming line 14 is not a comment for you, check and make sure the line above it ends with a semi-colon. Also check that you are not missing a quote from that line either.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests