I get a 505 error when i use index.php?module=rendercablingplan&format=png On Wed, Mar 13, 2013 at 11:05 AM, Mark Wilkinson <Mark.Wilkinson@xxxxxxxxxxx > wrote: > Hi Steven, > From the sounds of it, you've got it all installed and semi-working. > Have you defined ports for your objects and linked them together > > Ie. > Networkswitch, create ports Gi0/1 > Server create port eth0 > > Then Link 'Server-eth0' to 'Networkswitch-Gi0/1'. > The other issue could be that the index.php is not picking up the request > with the ?module=rendercablingplan > You can test this with http://<your > server>/index.php?module=rendercablingplan&format=png > > Regards > Mark Wilkinson > > -----Original Message----- > From: racktables-users-bounce@xxxxxxxxxxxxx [mailto: > racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of Steven Brown > Sent: 13 March 2013 14:37 > To: racktables-users@xxxxxxxxxxxxx > Cc: jwbensley@xxxxxxxxx > Subject: [racktables-users] Re: Cablingplan.php Plugin > > I have all the patching done as described and the files in the right place. > > The Cabling Plan icon shows on the main page. > > When I click it, I see the two tabs but no image is generated. > > I checked dot and it shows png and svg are both supported. I have the > PEAR module installed. > > I only have one rack with the wiring entered and no cabling from that rack > to any other rack, is that the issue? > > Steven Brown > Midrange Server Team > IT&S > > 2025 Victoria Avenue > Regina, SK S4P 0S1 > Phone: (306) 566-2579 > Email: sbrown@xxxxxxxxxxxxx > > ________________________________________ > From: racktables-users-bounce@xxxxxxxxxxxxx [ > racktables-users-bounce@xxxxxxxxxxxxx] on behalf of Mark Wilkinson [ > Mark.Wilkinson@xxxxxxxxxxx] > Sent: March 13, 2013 05:51 > To: racktables-users@xxxxxxxxxxxxx > Cc: jwbensley@xxxxxxxxx > Subject: [racktables-users] Re: Cablingplan.php Plugin > > Hi James, Steven, > I've been playing with this as well... > I got it to work as follows on Racktables version 2.20.3 > Cablingplan.php goes to the plugins directory > Cablingplan.png goes to the wwwroot/pix directory > Patch the wwwroot/index.php with this :- Line 263 to 268 :- > renderInstallerHTML(); > break; > case 'rendercablingplan' == $_REQUEST['module']: > require_once 'inc/init.php'; > renderCablingPlan(); > break; > > then on the Main page of Racktables you should see a new block called > 'Cablingplan' (mine appears on the 3rd row after Virtual Resources) > > If you have objects with ports that are Linked then the Cabling plan page > should draw you a pretty Graphviz picture (please note that you also need > the PEAR GraphViz module installed for this to work). > > Hope this helps. > Regards > Mark Wilkinson > > > > > Mark Wilkinson > UNIX Systems Administrator/Developer > > T: +44 333 240 3207 > M: +44 7848 016 221 > > E: Mark.Wilkinson@xxxxxxxxxxx > W: http://www.gamma.co.uk > > This is an email from Gamma Telecom Ltd, trading as "Gamma". The contents > of this email are confidential to the ordinary user of the email address to > which it was addressed. This email is not intended to create any legal > relationship. No one else may place any reliance upon it, or copy or > forward all or any of it in any form (unless otherwise notified). If you > receive this email in error, please accept our apologies, we would be > obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or > email postmaster@xxxxxxxxxxx > > Gamma Telecom Limited, a company incorporated in England and Wales, with > limited liability, with registered number 04340834, and whose registered > office is at 5 Fleet Place London EC4M 7RD and whose principal place of > business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY. > > > -----Original Message----- > From: racktables-users-bounce@xxxxxxxxxxxxx [mailto: > racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of James Bensley > Sent: 13 March 2013 10:55 > To: racktables-users@xxxxxxxxxxxxx > Subject: [racktables-users] Re: Cablingplan.php Plugin > > On 7 March 2013 22:45, Steven Brown <sbrown@xxxxxxxxxxxxx> wrote: > > Does this plugin work? > > > > I have installed it without issue but when I click on the item from > > the main page, it comes up with no diagram on either the PNG or SVG tab. > > You got that? :) I got nothing! > > I have copied the .php and .png file into inc/ and pix/ respectively. > I had also patched index.php manually (as the patch isn't valid for the > latest version of RackTables). I don't get any logo or image on the front > page, or anywhere. How do I even access this plugin? > > Cheers, > James. > > > This email including attachments is confidential and proprietary. If you > are not the intended recipient, any redistribution or copying of this > message is prohibited. If you have received this email in error, please > notify us by return email, and delete this email. > > > -- Ryan Jones Net Ops rjones@xxxxxxxxx Mobile: 1-347-948-9238 Office: *1-646-843-0365*