Template disapear from cacti

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

Moderators: Developers, Moderators

Post Reply
salah
Posts: 17
Joined: Tue Jun 28, 2005 11:42 am

Template disapear from cacti

Post by salah »

Hello,

I have a stange problem on my cacti. Some template has disapeared after I have upgraded cacti version from 0.8.6g to 0.8.6h.

When I try to add a new graph, I have only snmp interface statistic data query.

I tired to import again these template bu I got the error :
Notice: Undefined index: import_file in /usr/local/cacti/templates_import.php on line 56

Notice: Undefined index: import_file in /usr/local/cacti/templates_import.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cacti/templates_import.php:56) in /usr/local/cacti/templates_import.php on line 62

System : FreeBSD 5.3-RELEASE
Cacti : Version 0.8.6h
php : PHP 4.3.10

How can I correct this ?

thanks a lot for your help.

regards

--
Salah
Attachments
cacti.JPG
cacti.JPG (54.92 KiB) Viewed 640 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Unable to import is likely because you have uploads off in php.ini or the temp directory php is set to use for uploads does not have the proper rights.

As for why the templates would disappear, it's possible you have database corruption or someone else deleted them.
salah
Posts: 17
Joined: Tue Jun 28, 2005 11:42 am

Post by salah »

Hi,

Thanks for your response. Indeed I had no set the value of the tmp upload directory. I corrected it.

Now, when i try to upload template, I got the sucessful upload message, but with the template name (look to the screenshoot)


If I have a corrupted db, How can I correct it ?

Thanks,

--
Salah
Attachments
cacti.JPG
cacti.JPG (58.6 KiB) Viewed 624 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest