Problem with config.php

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
juannabis
Posts: 19
Joined: Thu Jun 08, 2006 8:53 am

Problem with config.php

Post by juannabis »

When I put to http://localhost/cacti, give me the following error:

Parse error: parse error, unexpected T_VARIABLE in /var/www/cacti/include/config.php on line 33

What's the problem???.

Thank you!!.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What is line 33?

What version of php are you running?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
juannabis
Posts: 19
Joined: Thu Jun 08, 2006 8:53 am

Post by juannabis »

I have:

* Ubuntu v.5.10
* PHP 5
* MySQL 4.1
* Cacti 0.8.6


The line 33 is:

$database_port = "3306"

Thank you.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

There is a semi colon missing at the end of that line.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
juannabis
Posts: 19
Joined: Thu Jun 08, 2006 8:53 am

Post by juannabis »

Sorry, the line is:

$database_port = "3306";

Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests