[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - change Pink background colour?

Cheshire Cat Computing

Software support and information
It is currently Thu Nov 13, 2025 7:46 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Feb 04, 2005 1:18 pm 
Offline
User

Joined: Thu Feb 03, 2005 5:31 pm
Posts: 7
Location: Southern California
Hi,

How do I change the pink background colour. I have recognized all the settings for the menu and title but not the main background. Is it in the code below? Sorry to bother but I am very new to coding. :oops:

# Default background colour for the system. Default is light grey (#d0d0d0)
# for the menu and white for the main frame.
# You may prefer to use white (#ffffff). This MUST be 6 hex digits with a
# hash (#) in front, else things will be odd.
# for summary, compact, info, and 'generic' graphs
#bgcolour = #ffffff
#fgcolour = #000000
# for the top and side menu
#menubgcolour = #d0d0d0
#menufgcolour = #000000
# for link colours
#linkcolour = #4040ff
# Americans can use their spelling instead if they prefer.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 3:01 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
The system used to pick a background colour according to the mode that the Target is working in. It picks a mode by using some AI code to detect interfaces, CPU stats, and so on, and then uses this to define the various defaults.

You can set the background colour on a per-target basis using:

Background[targetname]: #ffffff

This pink background was removed in v2.15 (I think) so if you upgrade to the latest, you should lose the problem.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 3:11 pm 
Offline
User

Joined: Thu Feb 03, 2005 5:31 pm
Posts: 7
Location: Southern California
Thanks for the reply! I will be checking your wish list.

Is that in the device.cfg or routers2.cgi and where does it go.

Also I have upgrade to 2.15 and used the install.pl and still the page shows 2.14 version? routers.cgi Version v2.14beta7 Any ideas?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 3:58 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Probably, you have the Open Innovations MRTG bundle. It installs the routers2 CGI script using a non-standard name; the install.pl install/upgrade script doesn't spot this automatically until 2.16b4. You'll need to look in your c:\mrtg\wwwroot and copy the routers2.pl to index.cgi if this is the case.

When you've done the upgrade correctly, you should see 'version 2.15' (or 2.16beta5, or whatever you installed) at the bottom of the screen.

The Background[]: directive is put in the various .cfg files that MRTG reads, not in the routers2.conf file.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Feb 05, 2005 5:17 am 
Offline
User

Joined: Thu Feb 03, 2005 5:31 pm
Posts: 7
Location: Southern California
Hi Steve,
You are correct about the bundle. I tried changing the routers2.pl to index.cgi and recieved the error that it could not find the rrds.pm.
I then copied that file to the c:\perl\lib and c:\perl\site\lib with no luck. I then compared the original index.cgi and routers2.pl and noticed the the perl path was different. It seems that I have two perls installed. :? One from activestate - c:\perl and one from the bundle c:\mrtg\perl. I changed the path in the newly converted routers2.cgi, index.cgi from #!C:\Perl\bin\PERL.EXE to #!c:\mrtg\perl\bin\PERL.EXE that was in the working original 2.14 index.cgi and now recieve an apache internal server error. :?

What do you think? Thank you for your time. :)


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Feb 05, 2005 11:20 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Take a look at your apache web server error logs, they should give you a more helpful error message.

It sounds as if your change to the index.cgi was not done exactly correctly. The first line is how the web server identifies which interpreter to use -- make sure it is correct.

I think you should use the perl in C:\mrtg\perl\bin since this is the one distributed with the bundle and therefore should have the rrds.pm correctly installed.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Feb 05, 2005 12:54 pm 
Offline
User

Joined: Thu Feb 03, 2005 5:31 pm
Posts: 7
Location: Southern California
Hi Steve,

I was able to get the 2.15 working. :D
However, the color was still pink. I then added the Bacgroud directive and now my eyes are happy.

Thanks!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group