Unable to add aircraft to my fleet

Hello,

I’m trying to upload a csv file following the csv that it gives you when you export of 230 aircraft.

After uploading it gives me a CSV file doesn’t seem to match import type error

Not sure what to do…

Running phpvms Version 7.0.0-dev+210226.43fbe9

and PHP 7.3

Was the csv exported from the latest dev build of phpVMS v7?

Does the file format match that of the phpVMSv7 aircraft database table?

Yes, I added a single aircraft and exported the csv of the exact same phpvms version, and database. Nothing has changed..

I am no expert, but I do not understand what you are saying.

 

I suggest you write a stage by stage description what you are doing and what happens.

 

Then if that turns out to be a bug you can report it.

 

Doug

I go to that admin panel and go to the aircraft tab and press export. Then I made a list of all the aircraft I want to add in the same format as the exported csv. Then import the new csv and it gives me the error.

Is it adding the aircraft anyway? It could be a bug, if so, let nabeel know so he can fix it. It also sounds like you may not be filling in everything correctly, putting info in the wrong place.

8 hours ago, Strider said:

Is it adding the aircraft anyway? It could be a bug, if so, let nabeel know so he can fix it. It also sounds like you may not be filling in everything correctly, putting info in the wrong place.

 

I agree it only takes one thing out of place.

 

I don’t like the import functions caused me more work in the end.

 

Doug

What is the error you are getting ? Without exact error text it is impossible to help… 

 

Quote

After uploading it gives me a CSV file doesn’t seem to match import type error

 

This is just not enough.

Been with phpvms since 2010 and testing the water with the new version.

 

Same thing happened here on a fresh phpvms 7 install (last available release).
The error is “CSV file doesn’t seem to match import type” for “Flights” and/or “Aircraft”

 

Multiple tests have been done, including one starting from the template provided in Downloads. All field are filled correctly and triple checked.

 

Still the same error. Not sure where the hiccup is but there’s one.

2095751758Screenshot2022-01-17131942.png.a5a7fb8385f6fa3de94ec80ad793f544.png

1 hour ago, William said:

Been with phpvms since 2010 and testing the water with the new version.

 

Same thing happened here on a fresh phpvms 7 install (last available release).
The error is “CSV file doesn’t seem to match import type” for “Flights” and/or “Aircraft”

 

Multiple tests have been done, including one starting from the template provided in Downloads. All field are filled correctly and triple checked.

 

Still the same error. Not sure where the hiccup is but there’s one.

2095751758Screenshot2022-01-17131942.png.a5a7fb8385f6fa3de94ec80ad793f544.png

 

That templates are 4 years old and I am 100% sure that they will fail with latest dev builds due to changes done to the import/export logic during that 4 years.

 

Best way to get a working csv template is adding an item manually (a flight, an aircraft, a subfleet, a fare etc whatever you need), exporting to csv  You will have the 100% compatible edition according to your installed phpvms v7 version.

 

Good luck 

That’s actually a pretty good suggestion, thanks! Obviously, it worked just fine…
 

On a side note I also started looking into your work and it’s really cool. Really appreciate all you do for the community.

We are one of the oldest and largest VA (since 2004) and now evaluating if it may be time to make the switch to phpVMS new version.

My pleasure  That trick is what I use when a plain csv is needed, works with all versions

 

Hope you can use v7 for your VA and meets your needs.

 

Good luck and God speed.

Thanks! For now I am just exploring…

If we do end up choosing to move forward, I am sure we will have more than one question and we will interact many times again

Cheers

1 Like