# Schedule import

**URL:** <https://forum.phpvms.net/t/schedule-import/1853>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [January 22, 2010, 1:03am UTC](https://forum.phpvms.net/t/schedule-import/1853 "2010-01-22T01:03:45Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [January 22, 2010, 1:03am UTC](https://forum.phpvms.net/t/schedule-import/1853/1 "2010-01-22T01:03:45Z")

</div>

GREAT JOB on the latest version BTW.

I am just wondering, I exported, changed, and them imported my scedules. It would seem that the update works, however none of the fees have changed.

Does the import not include the cost of the flight updates ?

Thanks again !

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [January 22, 2010, 1:31am UTC](https://forum.phpvms.net/t/schedule-import/1853/2 "2010-01-22T01:31:54Z")

</div>

It should, I’ll check it out

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [January 31, 2010, 5:00pm UTC](https://forum.phpvms.net/t/schedule-import/1853/3 "2010-01-31T17:00:56Z")

</div>

well it turns out that nothing is updating.

When I import the schedules I get what seems like great status updates, but when I look again, nothing has actually changed. Do I need to empty the database first before I import a the new changed schedules ?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [January 31, 2010, 5:20pm UTC](https://forum.phpvms.net/t/schedule-import/1853/4 "2010-01-31T17:20:44Z")

</div>

Can you attach your import file?

Did you do an export first and then use that file to reimport?

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [January 31, 2010, 5:57pm UTC](https://forum.phpvms.net/t/schedule-import/1853/5 "2010-01-31T17:57:13Z")

</div>

i did an export. changed some things using excel, and then imported that file.

here is the file:

I had to zip it for this forum.

[schedules.zip](\< _ **base\_url** _ \>/applications/core/interface/file/attachment.php?id=128)

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [January 31, 2010, 6:03pm UTC](https://forum.phpvms.net/t/schedule-import/1853/6 "2010-01-31T18:03:12Z")

</div>

What is confusing me is that it seems to work…just no changes actually show up.

I can add a new flight, i just can’t seem to change the existing ones…

here is the status window i get

![25168b16625d81dd85c3870a9152103e3d3e1ee2dcc](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/7/7b4d030afcba06ab721b3cfbc53ef73d43b1da25.jpeg)

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [January 31, 2010, 7:31pm UTC](https://forum.phpvms.net/t/schedule-import/1853/7 "2010-01-31T19:31:55Z")

</div>

Can you enable DEBUG\_MODE (set it to true) in the local.config.php, and then try an import, and see if there are errors in core/logs/log.txt (make sure it’s writeable first)

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [January 31, 2010, 7:59pm UTC](https://forum.phpvms.net/t/schedule-import/1853/8 "2010-01-31T19:59:08Z")

</div>

tried that,

there is absolutely nothing in the log.txt or the errors.txt files

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 1, 2010, 12:48am UTC](https://forum.phpvms.net/t/schedule-import/1853/9 "2010-02-01T00:48:17Z")

</div>

So then they probably are updating properly. Was that log.txt file writeable?

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [February 1, 2010, 12:51am UTC](https://forum.phpvms.net/t/schedule-import/1853/10 "2010-02-01T00:51:10Z")

</div>

it was writable.

it seems that everytime I try the import I get fewer flights. Its gone from 108 to 99 today.

I can add new flights, I just cant seem to make changes to existing ones.

Is there an easy way to delete all flights from the site so I can just import from scratch ?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 1, 2010, 3:21am UTC](https://forum.phpvms.net/t/schedule-import/1853/11 "2010-02-01T03:21:31Z")

</div>

You can empty the schedules table. That number might just be the ones updated. Are you making drastic changes and not seeing them reflected? What’s an example of changes you’re not seeing?

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [February 1, 2010, 7:01pm UTC](https://forum.phpvms.net/t/schedule-import/1853/12 "2010-02-01T19:01:33Z")

</div>

I have been experimenting with the changes, and nothing happens. I have tried changing the flight cost, days, times, even flight number.

I can add new things to blank fields ( like routes etc. ), but it doesn’t seem to want to make changes to existing information ( for example changing a flight cost from 250 to 600 dollars )

Since joining vabase I nedd to reevaluate my flight fees as I am loosing money hand over fist

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 1, 2010, 7:56pm UTC](https://forum.phpvms.net/t/schedule-import/1853/13 "2010-02-01T19:56:32Z")

</div>

That’s odd. Can you attach your import file, or PM me a link to it so I can see if I can duplicate any issues? Thanks

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [February 2, 2010, 1:00am UTC](https://forum.phpvms.net/t/schedule-import/1853/14 "2010-02-02T01:00:59Z")

</div>

its the same file that is attached to reply number 5. I am using micrpsoft excel to edit it, saving it as a comma delimited, and using that.

I have tried to edit it in notepad but it is just too confusing.

Is there perhaps a different program that I should use edit it ?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 2, 2010, 2:37am UTC](https://forum.phpvms.net/t/schedule-import/1853/15 "2010-02-02T02:37:53Z")

</div>

Sorry, I didn’t see that. Let me take a look. I always do an export from Google Docs, a couple of times I’ve used Excel I had trouble, but I will take a look at this

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 2, 2010, 4:34pm UTC](https://forum.phpvms.net/t/schedule-import/1853/16 "2010-02-02T16:34:35Z")

</div>

I fixed a few things, but there were some underlying code changes - If you can check it when beta 872 is up, that’d be helpful. I don’t see any problems with your import file. Sorry about that!

---

<div class="post-metadata">

**Author:** ![kbohme](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@kbohme](https://forum.phpvms.net/u/kbohme)\
**Post date:** [February 2, 2010, 7:19pm UTC](https://forum.phpvms.net/t/schedule-import/1853/17 "2010-02-02T19:19:50Z")

</div>

Thanks yet again sir.

I appreciate the help.
