Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[SOLVED] Inclusion error in trunk

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
next2you



Joined: 01 Feb 2008
Posts: 7

PostPosted: Thu Feb 07, 2008 3:05 am    Post subject: [SOLVED] Inclusion error in trunk Reply with quote

Hi,

just updated my local copy to revision 4475. I got an error in the graphs_view.php section.
The include was wrong, here is the patch:



Code:

Index: html_tree.php
===================================================================
--- html_tree.php   (revision 4475)
+++ html_tree.php   (working copy)
@@ -641,7 +641,7 @@
    /* include time span selector */
    if (read_graph_config_option("timespan_sel") == "on") {
       html_graph_start_box(3, false);
-      include($config["include_path"] . "html/inc_timespan_selector.php");
+      include($config["include_path"] . "/html/inc_timespan_selector.php");
       html_graph_end_box();
    }
 

Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Thu Feb 07, 2008 4:18 pm    Post subject: Reply with quote

Thnak you, that was my fault. Will correct tomorrow
Reinhard
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Fri Feb 08, 2008 12:30 pm    Post subject: Reply with quote

Fixed in SVN. Thanks for the pointers
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group