Jump to content

Recommended Posts

Posted

Hi guys.

Just recently installed phpVMS to replace VABase & have to say I'm mightily impressed (especially with all the great add-ons the community is developing!)

Anyway, the problem at hand... I've manually imported the fleet from myPHPAdmin and re-optimised the tables, cleared the cache etc.

I'm trying to import the current schedules we have (I've changed the data to match the phpVMS formatting) using the Admin function and it's successfully picked up all the airports & populated that table but it keeps throwing up an error for every entry that "Aircraft xx does not exist! Skipping" (xx is every a/c number I have in the table!). Needless to say it's not pulling in the schedules to the db.

I've double checked the a/c id's by exporting the aircraft table from myPHPAdmin and if you manually create a route the aircraft id (once selected from the drop down) is the exact same number I'm trying to import. Needless to say I'm scratching my head a bit on that one.

I haven't successfully managed to import the schedules with MyPHPAdmin yet, I can't seem to get the correct csv template right, but I would suspect the route page would just display blanks for the two columns (a/c & rego) in the schedule list if it won't import from the Admin function as essentially it's just the same process but just a more userfriendly interface han MyPHPAdmin? Surely, if I have the correct id it should work...

Anyway, any & all help in resolving this would be warmly welcomed! Thanks.

  • Moderators
Posted

Hi Chaz one thing i would say is just doublecheck that you have the data in the correct columns, just reading your post again the registrations have to be entered not the db id's

I use the csv import function on the admin side to mass import my schedules.

Posted

You sir, are a star!

I was reading the output of the exported schedules & it was specifying the a/c id in that output.

I changed the a/c column to the actual a/c rego & all the schedules went in via the Admin import like a charm!

Many thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...