ToastTheFourth Posted March 12, 2021 Report Posted March 12, 2021 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 Quote
Administrators ProAvia Posted March 12, 2021 Administrators Report Posted March 12, 2021 Was the csv exported from the latest dev build of phpVMS v7? Does the file format match that of the phpVMSv7 aircraft database table? Quote
ToastTheFourth Posted March 12, 2021 Author Report Posted March 12, 2021 Yes, I added a single aircraft and exported the csv of the exact same phpvms version, and database. Nothing has changed.. Quote
Dougjuk Posted March 12, 2021 Report Posted March 12, 2021 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 Quote
ToastTheFourth Posted March 13, 2021 Author Report Posted March 13, 2021 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. Quote
Strider Posted March 13, 2021 Report Posted March 13, 2021 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. Quote
Dougjuk Posted March 13, 2021 Report Posted March 13, 2021 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 Quote
DisposableHero Posted March 15, 2021 Report Posted March 15, 2021 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. Quote
William Posted January 17, 2022 Report Posted January 17, 2022 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. Quote
DisposableHero Posted January 17, 2022 Report Posted January 17, 2022 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. 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 Quote
William Posted January 17, 2022 Report Posted January 17, 2022 (edited) 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. Edited January 17, 2022 by William Quote
DisposableHero Posted January 17, 2022 Report Posted January 17, 2022 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. Quote
William Posted January 17, 2022 Report Posted January 17, 2022 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.