Re: dialup_admin php notice errors

2011-01-14 Thread Alan DeKok
mikal wrote:
> If you're still trying to get this to work then I can try and get access to
> that server this weekend.

  See also the v2.1.x branch on http://git.freeradius.org.  It contains
a number of fixes which should help.

  Please post your fixes here so that they can be integrated into the
next release.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-14 Thread mikal

Todd,

I did a setup with FR 2.1.9, Apache 2.2.15, MySQL 5.1 on OpenSUSE (11.2 or
11.3) recently.  Can't recall the specific PHP 5 version offhand.  It did
take a bit of tweaking, but in the end it all worked (or at least the parts
that I was interested in which had more to do with administering user
accounts than Radius servers).  My notes aren't very good or detailed, so
I'd need to take a look at the installation to try and document the list of
configuration changes that I made.

If you're still trying to get this to work then I can try and get access to
that server this weekend.
-- 
View this message in context: 
http://freeradius.1045715.n5.nabble.com/dialup-admin-php-notice-errors-tp3327906p3341747.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-08 Thread Alan DeKok
Todd Bateman wrote:
> OK, so I have the most recent version of dialup_admin. Any
> suggestions/documentation/wiki to get this working with PHP 5?

  See "git".

> The wiki (http://wiki.freeradius.org/Dialup_admin) and howto document
> (/stuff/freeradius-server-2.1.10/dialup_admin/doc/HOWTO) for
> dialup_admin show the cvs command I pasted in my last post, if it not
> had an active CVS for many years should it not be adjusted?

  Sure.  But it also hasn't been *maintained* for years.  That should
have been clear when the HOWTO document refers to version 0.9.2.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Alan DeKok
Todd Bateman wrote:
> I was going to if I could get the PHP notice errors fixed.

  Please see git.freeradius.org, and use the v2.1.x branch.  Some fixes
went in recently, so you don't want to do duplicate work.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Todd Bateman
The error I get in my browser is after I log in with administrator and 
press logout and then try and log in with a different user I get


Login
an error occurred
either one of the following:
1. Bad username/password
2. An administrator is already logged in (only one instance is allowed)
3. There apears to be more then one administrator user in the database.

If I do it from the command line (ssh into 192.168.1.2 from 192.168.1.10 
with radiusd -X in a second window) with same user I get:

r...@krazy:# radtest admin  127.0.0.1 1812 networkadmin
Sending Access-Request of id 187 to 127.0.0.1 port 1812
User-Name = "admin"
User-Password = ""
NAS-IP-Address = 127.0.0.1
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=187, 
length=73

Framed-IP-Address = 127.0.0.1
Session-Timeout = 86400
Idle-Timeout = 600
Acct-Interim-Interval = 60
WISPr-Redirection-URL = "http://www.google.com";

On 1/7/2011 8:58 PM, Todd Bateman wrote:
I will try daloradius again from scratch and go from there. Because I 
switched from daloradius to dialup_admin I will have to reinstall it 
again before I can be accurate on the errors I received.


On 1/7/2011 6:01 PM, Alan Buxey wrote:

Hi,

I was going to if I could get the PHP notice errors fixed. The only
other alternative I am aware of is daloradius, and with that I could
only get the administrator to log in everyone else got login error.

*that* issue is probably easier to fix!   what errors etc did you get
- the author of DaloRADIUS is on this list IIRC.


as for the dialup_admin issue...i used to use it... I'm not sure how 
much
spare time I've got to dig into it - PHP is a funny beast with its 
random

changes in language/syntax/requirements between releases.  I'll see what
I can do (I wonder if its more of an issue with default php5 values in
php.ini config - they've tightened up what you can not do or get away
with massively since the early days (when PHP3 was very floppy and open
and gave PHP some of its bad reputation)

alan
-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html



-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3363 - Release Date: 01/06/11



-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html



-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3365 - Release Date: 01/07/11



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Todd Bateman
I will try daloradius again from scratch and go from there. Because I 
switched from daloradius to dialup_admin I will have to reinstall it 
again before I can be accurate on the errors I received.


On 1/7/2011 6:01 PM, Alan Buxey wrote:

Hi,

I was going to if I could get the PHP notice errors fixed. The only
other alternative I am aware of is daloradius, and with that I could
only get the administrator to log in everyone else got login error.

*that* issue is probably easier to fix!   what errors etc did you get
- the author of DaloRADIUS is on this list IIRC.


as for the dialup_admin issue...i used to use it... I'm not sure how much
spare time I've got to dig into it - PHP is a funny beast with its random
changes in language/syntax/requirements between releases.  I'll see what
I can do (I wonder if its more of an issue with default php5 values in
php.ini config - they've tightened up what you can not do or get away
with massively since the early days (when PHP3 was very floppy and open
and gave PHP some of its bad reputation)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3363 - Release Date: 01/06/11



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Marinko Tarlac

http://www.cyberciti.biz/faq/php-stop-notice-variable-warnings-errorlogs/ :)

On 1/8/2011 12:01 AM, Alan Buxey wrote:

Hi,

I was going to if I could get the PHP notice errors fixed. The only
other alternative I am aware of is daloradius, and with that I could
only get the administrator to log in everyone else got login error.

*that* issue is probably easier to fix!   what errors etc did you get
- the author of DaloRADIUS is on this list IIRC.


as for the dialup_admin issue...i used to use it... I'm not sure how much
spare time I've got to dig into it - PHP is a funny beast with its random
changes in language/syntax/requirements between releases.  I'll see what
I can do (I wonder if its more of an issue with default php5 values in
php.ini config - they've tightened up what you can not do or get away
with massively since the early days (when PHP3 was very floppy and open
and gave PHP some of its bad reputation)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Alan Buxey
Hi,
> I was going to if I could get the PHP notice errors fixed. The only 
> other alternative I am aware of is daloradius, and with that I could 
> only get the administrator to log in everyone else got login error.

*that* issue is probably easier to fix!   what errors etc did you get
- the author of DaloRADIUS is on this list IIRC.


as for the dialup_admin issue...i used to use it... I'm not sure how much
spare time I've got to dig into it - PHP is a funny beast with its random
changes in language/syntax/requirements between releases.  I'll see what
I can do (I wonder if its more of an issue with default php5 values in
php.ini config - they've tightened up what you can not do or get away
with massively since the early days (when PHP3 was very floppy and open
and gave PHP some of its bad reputation)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Todd Bateman
I was going to if I could get the PHP notice errors fixed. The only 
other alternative I am aware of is daloradius, and with that I could 
only get the administrator to log in everyone else got login error.


On 1/7/2011 3:26 PM, Alan Buxey wrote:

Hi,


The wiki (http://wiki.freeradius.org/Dialup_admin) and howto document
(/stuff/freeradius-server-2.1.10/dialup_admin/doc/HOWTO) for
dialup_admin show the cvs command I pasted in my last post, if it not
had an active CVS for many years should it not be adjusted?

much like the code itself...which hasnt been updated...the documentation
for it hasnt been updated. is anyone out there actually using it?

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3363 - Release Date: 01/06/11



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Alan Buxey
Hi,

> The wiki (http://wiki.freeradius.org/Dialup_admin) and howto document 
> (/stuff/freeradius-server-2.1.10/dialup_admin/doc/HOWTO) for 
> dialup_admin show the cvs command I pasted in my last post, if it not 
> had an active CVS for many years should it not be adjusted?

much like the code itself...which hasnt been updated...the documentation
for it hasnt been updated. is anyone out there actually using it?

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-07 Thread Todd Bateman
OK, so I have the most recent version of dialup_admin. Any 
suggestions/documentation/wiki to get this working with PHP 5?


The wiki (http://wiki.freeradius.org/Dialup_admin) and howto document 
(/stuff/freeradius-server-2.1.10/dialup_admin/doc/HOWTO) for 
dialup_admin show the cvs command I pasted in my last post, if it not 
had an active CVS for many years should it not be adjusted?


On 1/6/2011 3:53 PM, Alan DeKok wrote:

Todd Bateman wrote:

Is CS down or the information change? I went to try to see if that was
the problem, but I get a connection refused.

   dialup_admin hasn't used CVS for many years.

   The latest version is included in 2.1.10, but if you look at the "git"
repository, the dialup_admin code hasn't been changed in years.

   Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3363 - Release Date: 01/06/11



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-06 Thread Alan DeKok
Todd Bateman wrote:
> Is CS down or the information change? I went to try to see if that was
> the problem, but I get a connection refused.

  dialup_admin hasn't used CVS for many years.

  The latest version is included in 2.1.10, but if you look at the "git"
repository, the dialup_admin code hasn't been changed in years.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin php notice errors

2011-01-05 Thread Todd Bateman
Is CS down or the information change? I went to try to see if that was 
the problem, but I get a connection refused.


r...@krazy:~# cvs 
-d:pserver:anonym...@cvs.sourceforge.net:/cvsroot/dialup-admin login
Logging in to 
:pserver:anonym...@cvs.sourceforge.net:2401/cvsroot/dialup-admin

CVS password:
cvs [login aborted]: connect to cvs.sourceforge.net(216.34.181.96):2401 
failed: Connection refused


I have just been pressing enter when asked for password as the TODO in 
the doc directory said to do.


On 1/4/2011 4:35 PM, Todd Bateman wrote:
I am using Slackware Linux 13.1 64 bit with Apache 2.2.15 (with 
mod_ssl 2.2.15) OpenSSL 0.9.8n PHP 5.2.13 and freeradius 2.1.10. I am 
trying to configure dialup_admin for web administration. I went 
through the dialup_admin/doc/HOWTO and to the best of my knowledge I 
did everything right. But when I go to the main page I get the 
following PHP notice errors above the menu items:


[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
import_request_variables() [href='function.import-request-variables'>function.import-request-variables]: 
No prefix specified - possible security hazard in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 8, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in /usr/local/sbin/dialup_admin/conf/config.php3 
on line 66, referer: http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Undefined variable: login in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 73, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Undefined variable: login in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 76, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_username_mappings_file - assumed 
'general_username_mappings_file' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 86, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_username_mappings_file - assumed 
'general_username_mappings_file' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 87, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in /usr/local/sbin/dialup_admin/conf/config.php3 
on line 106, referer: http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in 
/usr/local/sbin/dialup_admin/html/buttons/default/buttons.html.php3 on 
line 91, referer: http://192.168.1.2/dialup/


and if I go down to the menu and click on the accounting link I get 
the following PHP notice errors in the main content part of the web page


[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
import_request_variables() [href='function.import-request-variables'>function.import-request-variables]: 
No prefix specified - possible security hazard in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 8, referer: 
http://192.168.1.2/dialup/buttons.php3
[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in /usr/local/sbin/dialup_admin/conf/config.php3 
on line 66, referer: http://192.168.1.2/dialu

dialup_admin php notice errors

2011-01-04 Thread Todd Bateman
I am using Slackware Linux 13.1 64 bit with Apache 2.2.15 (with mod_ssl 
2.2.15) OpenSSL 0.9.8n PHP 5.2.13 and freeradius 2.1.10. I am trying to 
configure dialup_admin for web administration. I went through the 
dialup_admin/doc/HOWTO and to the best of my knowledge I did everything 
right. But when I go to the main page I get the following PHP notice 
errors above the menu items:


[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
import_request_variables() [href='function.import-request-variables'>function.import-request-variables]: 
No prefix specified - possible security hazard in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 8, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in /usr/local/sbin/dialup_admin/conf/config.php3 
on line 66, referer: http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Undefined variable: login in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 73, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Undefined variable: login in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 76, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_username_mappings_file - assumed 
'general_username_mappings_file' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 86, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_username_mappings_file - assumed 
'general_username_mappings_file' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 87, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant name - assumed 'name' in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 100, referer: 
http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in /usr/local/sbin/dialup_admin/conf/config.php3 
on line 106, referer: http://192.168.1.2/dialup/
[Tue Jan 04 14:38:39 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in 
/usr/local/sbin/dialup_admin/html/buttons/default/buttons.html.php3 on 
line 91, referer: http://192.168.1.2/dialup/


and if I go down to the menu and click on the accounting link I get the 
following PHP notice errors in the main content part of the web page


[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
import_request_variables() [href='function.import-request-variables'>function.import-request-variables]: 
No prefix specified - possible security hazard in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 8, referer: 
http://192.168.1.2/dialup/buttons.php3
[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_use_session - assumed 
'general_use_session' in /usr/local/sbin/dialup_admin/conf/config.php3 
on line 66, referer: http://192.168.1.2/dialup/buttons.php3
[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
Undefined variable: login in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 73, referer: 
http://192.168.1.2/dialup/buttons.php3
[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
Undefined variable: login in 
/usr/local/sbin/dialup_admin/conf/config.php3 on line 76, referer: 
http://192.168.1.2/dialup/buttons.php3
[Tue Jan 04 14:40:22 2011] [error] [client 192.168.1.10] PHP Notice:  
Use of undefined constant general_username_mapp