I tryed it, but still no list in the admin site.
Regards,
Cor
I tryed it, but still no list in the admin site.
Regards,
Cor
Is it safe to say to only use this list for a new install? Upon further review, the only way for me to get around the duplicate error is to A) Drop current airports from database and start fresh, or edit the sql list and update ID numbers an remove airports I already have. Good times eh boys? lol
This is one hell of a list though. Thanks Simpilot!
Ok so I dropped all my airports and added the sql file and tah dah!!! Got all the airports. Now I am fighting the exhausted memory error. Tried using my own fix I posted in the code snippets but not getting it to work. All the rest of the site works great. Now I can not view schedules. I’m sure in the end I will get it all fixed up nice like.
Here is the data dump for my airports table for a charter system I have built if it will help. It has 41533 airfields, helipads, water strips, and private airfields in it, I think there are still some that I do not have in it but its a start. It is a big file so you may have to split it up to import it into your table, if you are on free hosting I would not even try.
nice
do I need to drop any of the airports that is currently in my DB or will they overwritten by yours?
will maybe use it with a new VA
Best Regards
Tom
I have an export of all the FSX airports’ data. If you fly in FSX that’s about as complete a database you need?
Hello tom that file from fsx is it SQL database already and if so would it be possible to get from you thank you
Hi I have installed the big list in my free hosting webspace but after, when I have tried to Add a scheduled flight from the admin pannel I got the following message:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 8208111 bytes) in core/classes/CodonCache.class.php on line 202
what is happened?
I hope you can help me…bye bye!
OK, Free hosting can limit limit you, so that’s the problem, Free Hostings are not good. Paid ones, you won’t have that kind of problems.
Hi, I have deleted the table phpvms_airports.sql and I don’t know how to reinstall it.
Could you help me!!
You do have a backup?
This is from my development server its empty apart from the 2 airports but it will give you the table back,
--
-- Table structure for table `phpvms_airports`
--
CREATE TABLE IF NOT EXISTS `phpvms_airports` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`icao` varchar(5) NOT NULL DEFAULT '',
`name` text NOT NULL,
`country` varchar(50) NOT NULL DEFAULT '',
`lat` float NOT NULL DEFAULT '0',
`lng` float NOT NULL DEFAULT '0',
`hub` smallint(6) NOT NULL DEFAULT '0',
`fuelprice` float NOT NULL DEFAULT '0',
`chartlink` text NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `icao` (`icao`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `phpvms_airports`
--
INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES
(1, 'KJFK', 'Kennedy International', 'USA', 40.6398, -73.7787, 0, 0, ''),
(2, 'EGKK', 'Gatwick Airport', 'United Kingdom', 51.1481, -0.190278, 1, 0, '');
Thanks a lot for the help!!!
OK, Free hosting can limit limit you, so that’s the problem, Free Hostings are not good. Paid ones, you won’t have that kind of problems.
Hello, we has hosting at www.dreamhost.com, isn’t free
We can’t maintain a complete list of airport.
43000 reg in memory?? humm is too much.
phpVMS is wonderfull any way
Thanks !!
Hey,
I took a look at your hosting, you can have it in your hosting, but not sure.
But the other side, if you are a “world-wide” airlines with every airport, and this is for you. But I would usually add the airports I do really need.
Heeyy,
This is really useful thanks! but do have a problem:
how do you install it on the site?
Michael
Hey,
You go to phpMyAdmin and then go to your phpvms database and on the top, click on import and then elect the zip file that you downloaded and let it run it will take a while
But one thing, it could be restricted by your hosting but it s a wroth a try.
Trying to make preferred routes my flight schedules…
Help Please…
Your best bet would be to log into your site and export the schedules template under “Airline Operations”. Then you will see what columns are required from your list. In regards to your preferred routes list you could import that into Excel to help you copy and paste some of the data between that and your schedules template.
Good Luck
To Work with a sql database i use navicat. Its free and easy.
Thank you so much for this great file, you’re amazing
Would I be able to get the FSX database file?
Hi guys,
I’m having major snags with this! I’ve tried importing this file into PHPMyAdmin, but I get this error:
Error
SQL query:
– – Database: aca – – – Dumping data for table phpvms_airports – INSERT INTO phpvms_airports (id, icao, name, country, lat, lng, hub, fuelprice, chartlink) VALUES (1, ‘00A’, ‘Total Rf Heliport’, ‘US’, 40.0708, -74.9336, 0, 0, ‘’), (2, ‘00AK’, ‘Lowell Field’, ‘US’, 59.9492, -151.696, 0, 0, ‘’), (3, ‘00AL’, ‘Epps Airpark’, ‘US’, 34.8648, -86.7703, 0, 0, ‘’), (4, ‘00AR’, ‘Newport Hospital & Clinic Heliport’, ‘US’, 35.6087, -91.2549, 0, 0, ‘’), (5, ‘00AZ’, ‘Cordes Airport’, ‘US’, 34.3056, -112.165, 0, 0, ‘’), (6, ‘00CA’, ‘Goldstone Gts Airport’, ‘US’, 35.3505, -116.888, 0, 0, ‘’), (7, ‘00CO’, ‘Cass Field’, ‘US’, 40.6222, -104.344, 0, 0, ‘’), (8, ‘00FA’, ‘Grass Patch Airport’, ‘US’, 28.6455, -82.219, 0, 0, ‘’), (9, ‘00FD’, ‘Ringhaver Heliport’, ‘US’, 28.8466, -82.3454, 0, 0, ‘’), (10, ‘00FL’, ‘River Oak Airport’, ‘US’, 27.2309, -80.9692, 0, 0, ‘’), (11, ‘00GA’, ‘Lt World Airport’, ‘US’, 33.7675, -84.0683, 0, 0, ‘’), (12, ‘00GE’, ‘Caffrey Heliport’, ‘US’, 33[…]
MySQL said:
#1146 - Table ‘wdwvacom_wdw.phpvms_airports’ doesn’t exist
Why doesn’t it just overwrite it? I can’t for the life of me get it to work
Thanks simpilot for the file with the airports data