I was running jffnms 0.8.1 on openbsd with mysql 4.0 and php 4, no problems
(except that mysql was just too slow under openbsd which will be the case for
i/o bound threads until the rfork libpthread is finished so the kernel will
handle scheduling of specific threads... disk i/o is an issue because of the
number of interfaces i'm monitoring through jffnms)
So, I figured that I would reinstall with 0.8.2 on postgres 8.0.3 and php 5
since the general consensus seems to be that php 5 is faster for larger
applications than php 4 and in theory postgresql should be faster than mysql
on openbsd as it is now.
I too am afflicted with the "Admin Structure Not Found" error now, after
the (significant) change.
What makes it interesting is that, unlike other reports of this error, it's
very predictable for me.
I was setting up jffnms from scratch this time, and upon opening up the
right side Admin menu, I then clicked 'Zones' and 'Add' and I was able
to add a zone. After I got the display of the current zones back on
my screen, hitting 'Add' or 'Edit' again would bring up the error
"Admin Structure Not Found." But, Hitting 'Zones' again and then doing 'Add'
or 'Edit' works fine, no error.
So, I peeked at my error_log, and:
[Tue Jul 12 23:16:53 2005] [error] PHP Warning: Call-time pass-by-reference
has been deprecated - argument passed by value; If you would like to pass it
by reference, modify the declaration of [runtime function name](). If you
would like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file. However, future
versions may not support this any longer. in
/jffnms/htdocs/admin/adm/adm_standard.php on line 208
(Note the /jffnms path; I am running it under openbsd's chroot apache which
jffnms is farily easy to adapt to)
I edited php.ini to allow_call_time_pass_reference = On and that error message
disappeared, but the problem did not go away, and a new error message
started appearing after I turned 'On' that setting:
[Tue Jul 12 23:17:51 2005] [error] PHP Warning: array_merge() [<a
href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an
array in /jffnms/lib/gui.inc.php on line 96
[Tue Jul 12 23:17:51 2005] [error] PHP Warning: array_merge() [<a
href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an
array in /jffnms/lib/gui.inc.php on line 96
After staring at line 96 for a while, I'm not really familiar enough with
these mechanisms of PHP to say much. So this is the end of my rant.
Does anyone have some ideas ? Does line 96 have anything to do with
"Admin Structure Not Found" but only when things are called in this
certain order?
$REQUEST_URI_VARS = array_merge($GLOBALS["HTTP_GET_VARS"],$GLOBALS["
HTTP_POST_VARS"],$extra_vars);
The error_log messages do correspond to my reception of the "Admin Structure Not
Found" error, and they do not appear in the error_log when I enter by clicking
on the right side admin menu header first and then click on the 'add' or 'edit'
functions.
--
"Attacks always get better; they never get worse."
-- "Old NSA saying"
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users