[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 - Problem with Multi-Level Grouping
Cheshire Cat Computing
http://steveshipway.org/forum/

Problem with Multi-Level Grouping
http://steveshipway.org/forum/viewtopic.php?f=2&t=4158
Page 1 of 2

Author:  freshrider [ Tue Apr 20, 2010 8:21 am ]
Post subject:  Problem with Multi-Level Grouping

I have 291 device configurations that are working great and the MULTI-LEVEL grouping has been working fine until recently when I've added about 80 devices to a subdirectory under my tree. All the other subdirectories are working fine but this one for some reason ignores my multilevel (subdirectory). I'm using the following directives in the router2.cgi:

group = yes
multilevel = yes
groupsep = /


Example structure:

BURLINGTON/CORE/ROUTER/*.cfg <- WORKS PERFECT
BURLINGTON/DISTRIBUTION/SWITCH/*.cfg <- SWITCH SUBDIRECTORY doesn't show up

Author:  stevesh [ Tue Apr 20, 2010 11:35 am ]
Post subject:  Re: Problem with Multi-Level Grouping

Can you give the exact directory structure, and let me know what you confpath and cfgfiles are set to? It is possible that your cfgfiles pattern(s) do not match the cfg files in the missing subdirectory. Watch out in particular for case mapping and spaces, if you're on a Windows server (it doesnt look like you are, though)

Author:  freshrider [ Thu Apr 22, 2010 4:04 am ]
Post subject:  Re: Problem with Multi-Level Grouping

Here is the directory structure as I mentioned:

/opt/apps/mrtg/configs/BURLINGTON/DISTRIBUTION/SWITCH <- Directory SWITCH doesn't show up but configs do show up under DISTRIBUTION

/opt/apps/mrtg/configs/WINDSOR/DISTRIBUTION/SWITCH <- This one works just fine

confpath = /opt/apps/mrtg/configs
cfgfiles = WINDSOR/*/*.cfg WINDSOR/*/*/*.cfg BURLINGTON/*/*.cfg BURLINGTON/*/*/*.cfg

And no I'm not using WINDOWS as you can probably tell.

Author:  stevesh [ Tue Apr 27, 2010 10:32 am ]
Post subject:  Re: Problem with Multi-Level Grouping

Are there any *.cfg files in the BURLINGTON/DISTRIBUTION/SWITCH directory? Empty groups are not displayed.

Steve

Author:  freshrider [ Wed Apr 28, 2010 1:50 pm ]
Post subject:  Re: Problem with Multi-Level Grouping

all the cfg files mentioned (80 cfgfiles) are in the BURLINGTON/DISTRIBUTION/SWITCH/*.cfg directory but they show up under BURLINGTON/DISTRIBUTION in the routers2.cgi. There are no config files directly in BURLINGTON/DISTRUBUTION!!

Author:  stevesh [ Wed Apr 28, 2010 3:08 pm ]
Post subject:  Re: Problem with Multi-Level Grouping

This sounds like it may just be the default name for the group being not what you want, rather than a group being omitted or multiple groups merged.

Have you tried renaming the group using the [targetnames] section of the routers2.conf?

Author:  freshrider [ Wed May 05, 2010 4:26 am ]
Post subject:  Re: Problem with Multi-Level Grouping

Interestingly enough if I use the TARGETNAMES directive as follows:

/opt/apps/mrtg/configs/BURLINGTON/DISTRIBUTION/SWITCH = BURLINGTON/DISTRIBUTION/SWITCH

Then in the BROWSER it ignores the DISTRIBUTION all together and the configs show up under BURLINGTON/SWITCH.

If I change the TARGETNAMES directive as follows:

/opt/apps/mrtg/configs/BURLINGTON/DISTRIBUTION/SWITCH = BURLINGTON/DIST/SWITCH

Then in the BROWSER everything looks good under BURLINGTON/DIST/SWITCH, so i must be something to do with the length of the grouping. And I confirmed that it works up to "DISTRIBUTIO", but if I add the last "N" character then it stops working.

Is there anything in the code for GROUP LENGTH?

Author:  freshrider [ Wed May 05, 2010 8:26 am ]
Post subject:  Re: Problem with Multi-Level Grouping

So the issue seems to arise with cfg files in BURLINGTON/DISTRIBUTION/SWITCH and BURLINGTON/DISTRIBUTION/UPS. If I move the UPS directory out of this folder the left menu is CORRECT. When I have both UPS and SWITCH in the same DISTRIBUTION directory the UPS directory shows up but the SWITCH directory cfg files show up under DISTRIBUTION as was the original problem.

So the only way to solve this is to move the UPS directory to someplace out.

Weird thing is I have the same setup working under WINDSOR/DISTRIBUTION/SWITCH and WINDSOR/DISTRIBUTION/UPS with no issues.

Author:  stevesh [ Thu May 13, 2010 2:49 pm ]
Post subject:  Re: Problem with Multi-Level Grouping

I have a feeling this may be being caused by a limitation on the length of a group name. Historically there were no multi-level groups and so for sanity a group name would be limited in length. I suspect the code is applying the limit to the complete group name rather than to just the name of the level?

Ill need to check this in the code.

Author:  freshrider [ Wed Jul 14, 2010 6:41 am ]
Post subject:  Re: Problem with Multi-Level Grouping

I changed the directory name from "UPS" to "BATTERY" and this has been working ever since.

Page 1 of 2 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/