Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialization #4

Open
PRINCE-MOSE opened this issue Nov 22, 2018 · 18 comments
Open

initialization #4

PRINCE-MOSE opened this issue Nov 22, 2018 · 18 comments

Comments

@PRINCE-MOSE
Copy link

No description provided.

@PRINCE-MOSE
Copy link
Author

please help me out during initialization theres an error saying Error connecting to RouterOS

@sibyperiyar
Copy link
Owner

Dear Prince,

Thank you for your interest in EasyHotSpot.

It is a WiFi hotspot user management application for MikroTik based routers.

First you should have a working Mikrotik router setup in your environment.

The application can be installed in a webserver (Eg. Apache) like any other web application.

Install LAMP (Linux)/Wamp(Windows)/Xamp or a similar one in your local PC or Internet webserver. (Localhost)

Copy the extracted files to the document root ot tothe subfolder of the webserver, (like C:\Bitnami\Wampstack\Apache2\httpdocs...)

Create a MySql database using the PHPMyAdmin and give the Database connection details in the db_config.php file.

Specify the Hotspot credentials (IP, user login details etc) in the hotspot config.php file.

Run/Browse the folder using any web browser(Eg Chrome)

Or

If you are facing any difficulty installing the application, kindly send a mail to jaisonkmly@gmail.com (From configuring Mikrotik Router to making the application work) specifying the difficulty you are facing.

Kindly contact us for any support requires,

Please specify your details, Hardware & Software configuration specification etc while asking support.

Thank you for contacting Us.

Siby P Varkey,
sibyperiyar@gmail.com

@PRINCE-MOSE
Copy link
Author

THANKS FOR THE REPLY BUT ITS STILL COMPLICATED SIR......LETS HAVE A MORE DETAILED COMMUNICATION PLEASE
mosejnr.biz@gmail.com
whatsapp: +254796773698
thanks

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 22, 2018 via email

@PRINCE-MOSE
Copy link
Author

i have done that for the second time.......
this is the error it gives on the login page


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\hotspot2\header.php:983) in C:\xampp\htdocs\hotspot2\login.php on line 2

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 22, 2018 via email

@PRINCE-MOSE
Copy link
Author

have you sent me an updated version or i just download it once more from this repository....?
it would be better if you sent the zip directly to me

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 22, 2018 via email

@PRINCE-MOSE
Copy link
Author

yeah got it......i think that one has worked but then theres this error still coming up after i login as admin
there are some files missing in the ajax folder eg the settings_db.php
help me with this


Warning: include(ajax/settings_db.php): failed to open stream: No such file or directory in C:\xampp\htdocs\hotspot2\login.php on line 26

Warning: include(): Failed opening 'ajax/settings_db.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\hotspot2\login.php on line 26

Notice: Undefined variable: DB_con in C:\xampp\htdocs\hotspot2\login.php on line 29

Fatal error: Call to a member function prepare() on a non-object in C:\xampp\htdocs\hotspot2\login.php on line 29

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 23, 2018 via email

@PRINCE-MOSE
Copy link
Author

Hello today
i really appreciate your help sir and proud of you....
but help me in configuring the hotspot setup....
the ip we using, username and password belongs to the microtick router or what....?

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 23, 2018 via email

@PRINCE-MOSE
Copy link
Author

PRINCE-MOSE commented Nov 23, 2018 via email

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 23, 2018 via email

@PRINCE-MOSE
Copy link
Author

hello i have configured my mikrotik but still gives me this error


Fatal error: Uncaught exception 'PEAR2\Net\Transmitter\SocketException' with message 'stream_socket_client(): unable to connect to tcp://192.168.1.254:8728 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. )' in C:\xampp\htdocs\hotspot2\ajax\PEAR2\Net\Transmitter\TcpClient.php:225 Stack trace: #0 C:\xampp\htdocs\hotspot2\ajax\PEAR2\Net\Transmitter\Stream.php(145): PEAR2\Net\Transmitter\TcpClient->createException('stream_socket_c...', 0) #1 [internal function]: PEAR2\Net\Transmitter\Stream->handleError(2, 'stream_socket_c...', 'C:\xampp\htdocs...', 165, Array) #2 C:\xampp\htdocs\hotspot2\ajax\PEAR2\Net\Transmitter\TcpClient.php(165): stream_socket_client('tcp://192.168.1...', 10060, 'A connection at...', '60', 4, Resource id #10) #3 C:\xampp\htdocs\hotspot2\ajax\PEAR2\Net\RouterOS\Communicator.php(167): PEAR2\Net\Transmitter\TcpClient->__construct('192.168.1.254', 8728, false, NULL, 'admin in C:\xampp\htdocs\hotspot2\ajax\PEAR2\Net\RouterOS\Communicator.php on line 169

@sibyperiyar
Copy link
Owner

sibyperiyar commented Nov 25, 2018 via email

@fettha
Copy link

fettha commented Mar 28, 2019

Hi sebyperiyar,
can you help me please? it's urgent.
I downloaded the latest version of Easy hotspot as you have given in previous comments but
after i login as admin i have this error.

( ! ) SCREAM: Error suppression ignored for

( ! )Notice: Undefined variable: DB_con in C:\wamp\www\EHS\login.php on line 29

1 | 0.0009 | 155424 | {main}( ) | ..\login.php:0
( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Call to a member function prepare() on a non-object in C:\wamp\www\EHS\login.php on line 29

@sibyperiyar
Copy link
Owner

sibyperiyar commented Mar 31, 2019 via email

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

No branches or pull requests

3 participants