# PHPVMS 5 Error Adding Schedules

**URL:** <https://forum.phpvms.net/t/phpvms-5-error-adding-schedules/12704>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [October 21, 2018, 5:46pm UTC](https://forum.phpvms.net/t/phpvms-5-error-adding-schedules/12704 "2018-10-21T17:46:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saj5020](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@saj5020](https://forum.phpvms.net/u/saj5020)\
**Post date:** [October 21, 2018, 5:46pm UTC](https://forum.phpvms.net/t/phpvms-5-error-adding-schedules/12704/1 "2018-10-21T17:46:38Z")

</div>

Hello Guys,&nbsp;

I’ve stumbled across this issue only today while finishing up my VA production. I tried adding them manually and via a .csv file but I’m getting the same error:

_ **“There was an error adding the schedule, already exists DB error: Field ‘route\_details’ doesn’t have a default value”** _

I set the default value for ‘route\_details’ to NULL and caused an error in another field (_payforflight_)&nbsp;which I fixed by setting it’s value to NULL, after I did that, the schedules were being added but they weren’t showing up on SmartCARS or the Schedule Search page.

&nbsp;

These are the only two fields that were edited, screenshots were taken before I edited the tables.

**[https://prnt.sc/l8iq5k](https://prnt.sc/l8iq5k)**

**[https://prnt.sc/l8iq2u](https://prnt.sc/l8iq2u)**

&nbsp;

Any help at all would be appreciated.
