Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

The Instrutions does not work #8

Open
bootablearg opened this issue Jun 5, 2019 · 5 comments
Open

The Instrutions does not work #8

bootablearg opened this issue Jun 5, 2019 · 5 comments

Comments

@bootablearg
Copy link

I follow the step by step, but it is full of errors to put to wokr all in same box in a pfSense 2.4.4.p3
I separate the MySQL box to other machine, and the authentication log from the FreeRADIUS to the data base works, but when create the portal and do login on the ozy-asads.php page, give a full fatal errors the php some ones like mysqli not found in /var/etc/captiveportal_zonawifi.html:157 and a lot more of error, other error is login NULL and blah blah blah.
Some one can put to works easy this MOD ?

Thanks

@subcomarcos
Copy link
Contributor

subcomarcos commented Sep 20, 2020

same here: pfsense 2.4.4 cluster, remote mysql box, auth@freeradius ok, freeradius can r/w on mysql but when I try the connect button I get "Line: 157, Message: Uncaught Error: Class 'mysqli' not found".

@deajan I checked and I found php72-mysqli-7.2.29 installed on both my cluster nodes so I even tried editing the original

$db = new mysqli(DBHOST, DBUSER, DBPASS, DBNAME);

with

$db = new mysqli_connect(DBHOST, DBUSER, DBPASS, DBNAME);

but the only thing I got different was the error: "Line: 157, Message: Uncaught Error: Class 'mysqli_connect' not found".

have you ever solved this one?

@subcomarcos
Copy link
Contributor

@deajan solved restarting services, not an issue at all for me!

@bootablearg have you restarted services which use php [i.e. nginx or any other webserver] after installing php related pkg?

@deajan
Copy link
Owner

deajan commented Sep 21, 2020

Guys, I'm sorry, this is a project I didin't work with for like 5 years.
I'm pretty sure there isn't much to upgrade in the php code to work with recent mysql versions that must be installed on pfSense / OPNSense, but I definitly won't do it, for time reasons.
I'll still add the PRs to keep this repo up to date with fixes unless someone wants to setup up as maintainer.

Best regards.

@mastrus
Copy link

mastrus commented May 2, 2021

Hi, I've 34 AP with this software i'd like to be the manteiner

@deajan
Copy link
Owner

deajan commented May 2, 2021

Go and fork it, I'll happily update the README file to point to a newer repo, or give you access to this one once you have some work done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants