I too have this issue, running on CentOS. I just chose to ignore it. Hope that 
helps. ;-)

Joel Watson

From: Martin Parodi [mailto:[email protected]]
Sent: 01 June 2010 13:00
To: Eric Wheeler
Cc: Craig Small; JFFNMS List
Subject: Re: [jffnms-users] Bugfix 0.8.5rc1: Admin Structure Not Found [PATCH]

Hello all, can anyone explain how to exactly solve this problem?
I dont know which file I have to edit.
Im running jffnms 0.8.4 on Ubuntu 10.4 server and im getting this error.
So, could you explain which file i have to edit and how?

Thanks.
2010/4/10 Eric Wheeler <[email protected]<mailto:[email protected]>>
More on this bug starting on this thread:
http://www.mail-archive.com/[email protected]/msg03379.html

Javier's response
http://www.mail-archive.com/[email protected]/msg04252.html

To reproduce the bug, edit a host, save the host, and try to edit a host
again. It will respond with "Admin Structure Not Found". (Reproducible
with Zones also, perhaps others areas too.)

Interestingly, this appears to be working in the Debian
jffnms-0.8.3dfsg.1-7.1 package, but fails in the 0.8.5rc1 tarball.
Perhaps a regression?

It seems that when a POST is performed that the admin_structure gets
lost and is expected in $_GET later.  So, if $_GET is missing the entry,
I assume it is in $_POST and update $_GET.  See the 2-liner below.

Test this patch well---it works for me.

Now, back to the RFC3877 plugin.

-Eric



--- htdocs/admin/adm/structures.php     2009-01-15 20:47:19.000000000 -0800
+++ /opt/jffnms/htdocs/admin/adm/structures.php 2010-04-10 18:21:22.000000000 
-0700
@@ -737,7 +737,8 @@
            NULL)
    );

-
+       if (!$_GET['admin_structure'])
+               $_GET['admin_structure'] = $_POST['admin_structure'];

    if ($admin_structure=="list_all") {
       foreach (array_keys($structures) as $aux)







------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
jffnms-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jffnms-users



--
Martin Parodi

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



This email has been scanned for all viruses.

Please consider the environment before printing this email.

The content of this email and any attachment is private and may be privileged. 
If you are not the intended recipient, any use, disclosure, copying or 
forwarding of this email and/or its attachments is unauthorised. If you have 
received this email in error please notify the sender by email and delete this 
message and any attachments immediately. Nothing in this email shall bind the 
Company or any of its subsidiaries or businesses in any contract or obligation, 
unless we have specifically agreed to be bound.

KCOM Group PLC is a public limited company incorporated in England and Wales, 
company number 02150618 and whose registered office is at 37 Carr Lane, Hull, 
HU1 3RE.

118288 - KCOM Group UK Directory Enquiries. Calls will cost no more than 49p 
connection + 14p per minute including VAT from a KC or BT landline. Call 
charges from mobiles and other networks may vary. If you are calling from a 
mobile you will now receive your requested number via text message. You will 
not be charged for the text message.

------------------------------------------------------------------------------

_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to