Giter Club home page Giter Club logo

wifimap's People

Contributors

anharismail avatar znerox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wifimap's Issues

Network or probe containing backslash (\)

If a network contains the symbol "", the network is stored without "". For example a network called "My\Network" would be stored "MyNetwork". Clients probing a network with the same symbol is affected by the same bug. One solution to this could be setting SQL mode to "NO_BACKSLASH_ESCAPES". It would probably be safest to only set it to that mode on this database, if possible.

Logo Design Offer as Open Source Contribution

Hello Sir. I'm a UI/UX and Graphics Designer. I'm happy to see an open source project, So, I want provide a logo for you. Would you mind if I propose a new logo design for your project as my Open Source Contribution?

Thanks before.

Import Errors: network.csv and location.csv

I successfully installed your latest containerized code using the page instructions. I'm running it as a VMWare VM on 64-bit Kali Linux 2020.1. The containers are running without errors and I can access the web GUI for all components (Map, Tools, phpmyadmin, etc). When attempting to import the Wigle network.csv and location.csv I run into the errors below.

image

Warning: mysqli::__construct(): (HY000/1049): Unknown database 'wifimap' in /var/www/html/tools/php/network_import.php on line 33
Warning: mysqli_set_charset(): Couldn't fetch mysqli in /var/www/html/tools/php/network_import.php on line 36
Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/tools/php/network_import.php on line 110
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/html/tools/php/network_import.php:111 Stack trace: #0 {main} thrown in /var/www/html/tools/php/network_import.php on line 111

image

Warning: mysqli::__construct(): (HY000/1049): Unknown database 'wifimap' in /var/www/html/tools/php/location_import.php on line 33
Warning: mysqli_set_charset(): Couldn't fetch mysqli in /var/www/html/tools/php/location_import.php on line 36
Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/tools/php/location_import.php on line 56
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/html/tools/php/location_import.php:57 Stack trace: #0 {main} thrown in /var/www/html/tools/php/location_import.php on line 57

javascript errors

Hi,

I've got javascript console errors when trying to load map, map loads but without any point data, the database is already filled, api key is set correctly. Error looks like:

Uncaught TypeError: xml is null
    loadMap https://wifi.lan/js/index.js:124
    onreadystatechange https://wifi.lan/js/index.js:201
    downloadUrl https://wifi.lan/js/index.js:198
    loadMap https://wifi.lan/js/index.js:122
    loadSettings https://wifi.lan/js/settings.js:98
    loadMapThemes https://wifi.lan/js/mapthemes.js:614
    setVariables https://wifi.lan/js/index.js:23
    onload https://wifi.lan/:1

Update: already fixed it, there was no global settings for mysql database/password etc, i've made that it reads them from environment variables, now working \o/

Fixed the code using Null coalescing operators if environment variables are not available then use your default values, i can make pull request if you want and merge the changes.

Dockerfile missing

Hi, i'm unable to find Dockerfile for the project, just wanted to build docker image for ARM aarch64. Thanks.

Uploading

How do you fix This uploading error?

Sorry, there was an error uploading your file.
Warning: mysqli::__construct(): (HY000/1049): Unknown database 'wifimap' in /var/www/html/tools/php/network_import.php on line 33

Warning: mysqli_set_charset(): Couldn't fetch mysqli in /var/www/html/tools/php/network_import.php on line 36

Warning: fopen(uploads/com1.csv): failed to open stream: No such file or directory in /var/www/html/tools/php/network_import.php on line 38

Upload error

ihave created database but still cant upload networks.csv and location.csv? I get this error:
"Sorry, there was an error uploading your file.
Warning: fopen(uploads/location.csv): Failed to open stream: No such file or directory in /var/www/html/tools/php/location_import.php on line 38"

Network containing comma (,)

If a network with SSID containing the symbol "," is imported, the import script will think the comma means the start of a new field, and the network will not be imported correctly. Currently the "Update fields in network table" script is set to delete these networks. One solution could be to use regular expressions to separate the different fields on a line (in network.csv), instead of simply splitting on each ",".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.