Marco Zennaro | 8 Oct 17:23

Problem with mysql?

Hi! 

Great job with WifiAdmin, thanks.

I am having trouble installing it on a Voyage linux box. I am using php4.

I get the following error:

Update Step 2 / 2Database Update/Creation
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/wifiadmin/install/update.class.php on line 41

I am able to use mysql with the username and password you provided as example. See mysql text below:

voyage:/var/www/wifiadmin/config# mysql --user=dbuser --password=dbpass mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 44


Any idea?

Thanks!
Marco

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Wifiadmin-users mailing list
Wifiadmin-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wifiadmin-users
Marco Zennaro | 8 Oct 17:27

Problem with mysql?

Hi! 

Great job with WifiAdmin, thanks.

I am having trouble installing it on a Voyage linux box. I am using php4.

I get the following error:

Update Step 2 / 2Database Update/Creation
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/wifiadmin/install/update.class.php on line 41

I am able to use mysql with the username and password you provided as example. See mysql text below:

voyage:/var/www/wifiadmin/config# mysql --user=dbuser --password=dbpass mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 44


Any idea?

Thanks!
Marco

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Wifiadmin-users mailing list
Wifiadmin-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wifiadmin-users
basos g | 9 Oct 14:02
Picon

Re: Problem with mysql?


-------- Original-Nachricht --------
> Datum: Wed, 08 Oct 2008 17:27:29 +0200
> Von: Marco Zennaro <marcozennaro <at> me.com>
> An: wifiadmin-users <at> lists.sourceforge.net
> Betreff: [Wifiadmin-users] Problem with mysql?

> Hi!
> 
> Great job with WifiAdmin, thanks.
> 
> I am having trouble installing it on a Voyage linux box. I am using  
> php4.
> 
> I get the following error:
> 
> Update Step 2 / 2Database Update/Creation
> Parse error: syntax error, unexpected T_STRING, expecting  
> T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/wifiadmin/ 
> install/update.class.php on line 41
> 

  This is expected as new functionality requiring PHP5 has been included.  
  Back at dev times i couldn't think of a good reason for someone not to update to PHP5 since the 4.x branch
support IS discontinued :
(from  http://www.php.net/downloads.php ) :
Support for PHP 4 has been discontinued since 2007-12-31. Please consider upgrading to PHP 5.2. The
release below is the last PHP 4 release.

The good news are that core functionality is PHP4 compatible as 1)wifiadmin used to comply with php4 and
2)PHP5 is at most php4 compatible.. In addition i'll try to avoid writing PHP4 incobatilble code.

Now for your case you could :
 1)Write a patch easily (e,g, the affecting file uses OO PHP5 model ,which should be trancripted to PHP4 OO
code in order to be OK).
 2) Skip the installation scripts for database and : drop your db, use the install/mysql.sql file to create
the database as it as explained at the README for "the old manual way" Step 2...

As a last notice i would not recommend someone to leave a PHP4 webserver up n running... 

  
--

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

wifiadmin information

Hello,

Looking at wifiadmin. Questions:

This system be able to manage routers from different locations ?

This system works with linux linksys routers ?

Is there a wifiadmin demo available somewhere ?

Tks!

Mario

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
basos g | 10 Oct 11:40
Picon

Re: wifiadmin information

> 
> Looking at wifiadmin. Questions:
> 
> This system be able to manage routers from different locations ?
> 
> This system works with linux linksys routers ?
> 
> Is there a wifiadmin demo available somewhere ?

For 2 first questions :
http://sourceforge.net/project/shownotes.php?group_id=108484&release_id=611707

You could make the comunity a favor and test the functionality of your router with wifiadmin and report it
here.. We intent to constract a Harware Compatibility List when wifiadmin migrates to another OS. Also
what exactly is a linux linksys router? Is it a customized router with some small distro (like voyage) or a
commercial solution.

In addition, we seek developers to support other *nux flavors/ routers as well as translations. You are
welcome to participate and implement an interface for your routers. There is a distinct API to guide you..

No we don;t have a demo online right now.
--

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf <at> gmx

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane