Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
516 stars 157 forks source link

Apache errors in installation #405

Closed mathni closed 6 years ago

mathni commented 6 years ago

Hello, image image

I try to install but I read,two errors on the webpage 127.0.0.1/install/index.php

My 000-default.conf is attached. I tried two versions (Apache<2.4 and >2.4).

I think apache is 2.4.24 version.

Thank you for help.

Mathni.

Ysurac commented 6 years ago

So you know the problem... Put the .htaccess. And take real screenshot please...

mathni commented 6 years ago

Sorry for screenshot’s quality.

I dont’ know where I must create .htaccess file exactly and file content. I don’t see this step on installation tutorial. Thanks

Ysurac commented 6 years ago

It's in the source: https://github.com/Ysurac/FlightAirMap/blob/master/.htaccess

mathni commented 6 years ago

Perfect. it’s ok for this problem.

Now i have an error when i launch install step with web browser.

Write configuration... success Create and import tables...failed

I created database flightairmap with commands and max_allowed_packet=16M for Mariadb

Message Error: error : SQLSTATE[HY000] [2002] php_network_getadresses: getaddrinfo failed: Name or service not known

I test without create database toggle but it’s wrong too.

Ysurac commented 6 years ago

The error is that it can't access the database at the name/ip you give.

mathni commented 6 years ago

Resolved: error with hostname... Thanks.