Friday, December 20 2002 @ 03:51 AM EST
Contributed by: anonymous
Views: 1,132
I downloaded your toolbox, and it seems to be working okay. It's very nice and handy.
When I looked at the output for varinfo though, the following warning is printed a few times:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/admin/toolbox/varinfo.php on line 79
Do you know if this is preventing some variables from being displayed?
It's nice to see you all decided to consolidate your plugin downloads here.
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Admin Toolbox V 1.1
Authored by: tomw on
Friday, December 20 2002 @ 04:52 AM EST
Yes I know about that error message, the multiplicity of different variables make it hard to correctly parse all of them. Generally the arrays are displayed as tables -- there are a couple of special cases that could not be picked up without greatly complicating the program. For those that error message is displayed and the array is displayed as a string. The individual parts of the array are displayed in the form var=>value so you do not loose anything. You can get rid of the error message if it bothers you by playing with the php error display variable.
I did not think it worth the effort to bother trying to parse out those few special cases. You are welcome to try and fix it. Submit the fixed version back and I will distribute that with your name in it also. As you will see some people have already done on some of the other tools.
I did not think it worth the effort to bother trying to parse out those few special cases. You are welcome to try and fix it. Submit the fixed version back and I will distribute that with your name in it also. As you will see some people have already done on some of the other tools.
Tom