From: Giorgio D. <gio...@gi...> - 2005-09-17 02:39:49
|
Hi Thimios, thanks for the prompt answer. I tested with your "str_ireplace.php" (I found it as part of php-compat, too) and I get now only one error message on the "brsettings.php", same as before. I have a bridge that works fine on my wrap. I think that the problem is on the "brsettings.php" page. I wrote a very basic simple (I'm not a good programmer as you guys) "brsettings-gio.php" page that simply show the bridge settings, here attached, and all elements are well shown. Unfortunately I do not know what exactly the Chris' s "brsettings" page should show in addition at the current settings....I use atheros not prism based mPCI card and "wireless security" page still complain because hostap not found in /proc directory. By the way, what is exactly new in this release? Should it write "permanently" the settings so after a reboot you do not have to re-write them? Cheers Giorgio >About the str_ireplace not available in php4, (which it seems to be the >only php5 function needed), i found this implementation of it in php4. >We could either place an "include_once(str_ireplace.php) statement at >the top of include/functions.php, or paste the contents of >str_ireplace.php in functions.php. > >I also get the rest of the errors (probably because i don't have a >bridge interface). > >I hope that next week i will have more time to help. > > > >On Thu, 2005-09-15 at 20:41 +1100, Giorgio Ducci wrote: > > Hi Chris, > > > > I'm testing on a WRAP board with pebble/Voyage linux and I have some error > > message. First question: I have PHP 4.3.0 configured with THTTPD, as I > read > > on previous mailings should I use PHP 5 instead? Anyway, here attached the > > errors I get: > > -------------------------------------------------------------------- > > in ==> WIRELESS STATUS > > Fatal error: Call to undefined function: str_ireplace() in > > /var/www/include/functions.php on line 397 > > > > in ==>Wireless Settings > > Fatal error: Call to undefined function: str_ireplace() in > > /var/www/include/functions.php on line 397 > > > > ==>Bridge Settings > > Notice: Undefined variable: name in /var/www/include/functions.php on > line 680 > > Notice: Undefined variable: id in /var/www/include/functions.php on > line 680 > > Notice: Undefined variable: stp_en in /var/www/include/functions.php on > > line 680 > > Notice: Undefined variable: ifs in /var/www/include/functions.php on > line 680 > > > > > > Warning: Invalid argument supplied for foreach() in > > /var/www/brsettings.php on line 55 > > > > > > Notice: Undefined index: device in /var/www/brsettings.php on line 59 > > > > ==>Wireless Security Settings > > Fatal error: Call to undefined function: str_ireplace() in > > /var/www/include/functions.php on line 397 > > > ----------------------------------------------------------------------------------------------------- > > I made a little search and "str_ireplace" function is in PHP 5....argh. > For > > bridge settings I do not really understand because the settings are > fine in > > "ifconfig.php" under br0 ....well, may be you can see better then me where > > the problem is.... > > Cheers > > Giorgio > > > > > > >Hi, > > > > > >I think I have everything in order. There isn't too much interesting > > >stuff added, but some modifications to the iwsettings.php and > > >functions.php to try and clean up some things. > > > > > > http://www.nesser.org/src/wifiadmin-ness.tar.gz > > > > > >I DO NOT HAVE A GOOD TESTING ENVIRONMENT. So please give me some > > >feedback on these changes (good and bad are both accepted). > > > > > >If they are alright, I'll commit them. > > > > > >Cheers, > > >Chris > > >-- > > >PGP Public Key: http://www.nesser.org/pgp-key/ > > >09:54:44 up 19:22, 7 users, load average: 0.16, 0.21, 0.28 > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Wifiadmin-users mailing list > > Wif...@li... > > https://lists.sourceforge.net/lists/listinfo/wifiadmin-users |