FlightAirMap
FlightAirMap copied to clipboard
Install.php doesnt work
Hello , I put every fille on the directory and when I go to /install/install.php it doesnt work
there is no install/install.php script. It's install/index.php
I mean the index.php wasn't working I'm deleting everything and doing a clean install , do you have discord ? easier to get support
No, only support by IRC on Freenode, #FlightAirMap channel. What is not working ? What is the error ? What version are you using ?
I will send the link once I upload the zip fille again
I'm using the last version
git or releases ?
https://github.com/Ysurac/FlightAirMap
http://map.aircorsicavirtuel.com/install/index.php take a look
https://gyazo.com/ceb24de0fbcaae20d5414d2f6db61792
If you see the ERR_CONTENT_DECODING_FAILED, you are using Chrome or Chromium. I have for now no idea why this browser do that... But this can be solved by setting zlib.output_compression = On in your php.ini. Else use another browser.
Now that I know that I'm not alone with this problem, I will try to check why there is this one with chrome/chromium next week.
Fixed in latest commit.
It worked on edge :) , I will try , by changing that
where is php.ini?
Error : error (import ../db/marine_live.sql) : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aircorsi_map.marine_output' doesn't exist geting this error when installing
Fixed sorry.
I'm trying to get a clean install again , in 5 mins I give news , thanks for the support
http://map.aircorsicavirtuel.com/pilot take a look , it sends me allways to the map , and airplanes not showing ( alredy did populate ivao and installed everything
Check your apache configuration ( https://github.com/Ysurac/FlightAirMap/wiki/Apache-configuration ) and if check that the .htaccess is here or Nginx configuration ( https://github.com/Ysurac/FlightAirMap/wiki/Nginx ).
scripts/daemon-spotter.php must be running to display airplanes with a defined source. As daemon or in a cron job (and configure it as daemon or cron in install/index.php).
with how many time between updates?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteRule .*\.()$ - [F,NC]
RewriteRule .*\.()$ - [F,NC]
RewriteCond %{HTTP_REFERER} !^http://aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://crew.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://crew.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://map.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://map.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.crew.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.crew.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.map.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.map.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://crew.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://crew.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://map.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://map.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.crew.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.crew.aircorsicavirtuel.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.map.aircorsicavirtuel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.map.aircorsicavirtuel.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
# php -- BEGIN cPanel-generated handler, do not edit
# Définissez le package « ea-php70 » comme langage de programmation « PHP » par défaut.
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_flag display_errors On
php_value max_execution_time 120
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 128M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
php_value upload_max_filesize 8M
</IfModule>
# END cPanel-generated php ini directives, do not edit
``
Thats my htaacess , so I add the nginx where
You can put the cron as you want, but are a lower value than Show flights detected since xxx seconds*. (or increase this value). You need to add the https://github.com/Ysurac/FlightAirMap/raw/master/.htaccess content to your existing .htaccess. The pic is a white box for me.
Donne , having the same error ,the aircraft doesnt load , could you check if the chron command is good ?
/public_html/map/scripts/update_db.php
it's not a cron, need some * There are examples here: https://github.com/Ysurac/FlightAirMap/wiki/Run-as-Cron-job
You need to run both update_db.php and daemon-spotter.php by cron.
/usr/bin/php /var/www/FlightAirMap/scripts/update-db.php >/dev/null 2>&1
and the public_html/map dont need to put ?
'' /usr/bin/php /var/www/map/scripts/update-db.php >/dev/null 2>&1 '' like this ? usr i'm supposed to changed for my username right?
there is no public_html/map What ivao config ? If IVAO is defined and the source, all should be ok.
/usr/bin/php is the path of php. It's the default path under Linux.
is this good ? /usr/bin/php /home/aircorsi/public_html/map/scripts/daemon-spotter.php Can you put an example
If it's your path it's good. You need to define when you run it in the /etc/crontab if you are under Linux. Example are here: https://github.com/Ysurac/FlightAirMap/wiki/Run-as-Cron-job