# Cannot add routes

**URL:** <https://forum.phpvms.net/t/cannot-add-routes/2506>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [April 24, 2010, 3:49pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506 "2010-04-24T15:49:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [April 24, 2010, 3:49pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/1 "2010-04-24T15:49:52Z")

</div>

Hi. Everytime I try to add a route I get this error message: There was an error adding the schedule, already exists DB error: Unknown column ‘maxload’ in ‘field list’. Can anyone tell me how to resolve this issue? Thank you.

---

<div class="post-metadata">

**Author:** ![Strider](https://forum.phpvms.net/user_avatar/forum.phpvms.net/strider/32/17_2.png) [@Strider](https://forum.phpvms.net/u/Strider)\
**Post date:** [April 24, 2010, 5:50pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/2 "2010-04-24T17:50:46Z")

</div>

You have either accidently double clicked the add schedule button, or you have not added any airports yet.

Cheers

Dan C

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 2, 2010, 2:59am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/3 "2010-05-02T02:59:20Z")

</div>

> You have either accidently double clicked the add schedule button, or you have not added any airports yet.
> 
> Cheers
> 
> Dan C

I have triple checked everything. I am not hitting the button twice and all of my airports are added. Is there anything else it could be? Thanks.

---

<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:** [May 2, 2010, 3:11am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/4 "2010-05-02T03:11:51Z")

</div>

> I have triple checked everything. I am not hitting the button twice and all of my airports are added. Is there anything else it could be? Thanks.

Sounds like some files weren’t updated, since that column was removed. Can you run install/checkinstall.php?

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 5, 2010, 2:26am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/5 "2010-05-05T02:26:18Z")

</div>

> Sounds like some files weren’t updated, since that column was removed. Can you run install/checkinstall.php?

I just noticed that even though I ran the update, it is still saying I need to run the update. I will try to run the update 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:** [May 5, 2010, 2:39am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/6 "2010-05-05T02:39:38Z")

</div>

> I just noticed that even though I ran the update, it is still saying I need to run the update. I will try to run the update again.

What version are you on? Did you force the update? Can you paste the output from checkdb.php and checkinstall.php? Thanks

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 20, 2010, 12:00am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/7 "2010-05-20T00:00:50Z")

</div>

> What version are you on? Did you force the update? Can you paste the output from checkdb.php and checkinstall.php? Thanks

I apologize for the really long delay in a reply, I have been extremely busy with AP classes. Anyways, how do I run both of those checks? When I type them into the browser bar neither works, I also apologize for being such a noob with this. Thank you.

I did force the update and according to the dashboard I am using version 2.0.854

---

<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:** [May 20, 2010, 1:15am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/8 "2010-05-20T01:15:08Z")

</div>

> I apologize for the really long delay in a reply, I have been extremely busy with AP classes. Anyways, how do I run both of those checks? When I type them into the browser bar neither works, I also apologize for being such a noob with this. Thank you.
> 
> I did force the update and according to the dashboard I am using version 2.0.854

No problem. Doesn’t seem like you’re on the latest version. Both of those files ar ein the /install folder

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 20, 2010, 2:13am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/9 "2010-05-20T02:13:40Z")

</div>

> No problem. Doesn’t seem like you’re on the latest version. Both of those files ar ein the /install folder

Neither will run. I get an error message.

---

<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:** [May 20, 2010, 2:25am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/10 "2010-05-20T02:25:59Z")

</div>

What’s the error message?

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 20, 2010, 10:44am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/11 "2010-05-20T10:44:35Z")

</div>

> What’s the error message?

It’s technically not an error message, but when you try to run it, it goes straight to a search page with the address: [http://err.000webhost.com](http://err.000webhost.com)

This is what I’m typing in the address bar: [http://www.flypatrioteast.netai.net/install/checkdb.php](http://www.flypatrioteast.netai.net/install/checkdb.php)

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [May 20, 2010, 12:38pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/12 "2010-05-20T12:38:18Z")

</div>

> It’s technically not an error message, but when you try to run it, it goes straight to a search page with the address: [http://err.000webhost.com](http://err.000webhost.com)
> 
> This is what I’m typing in the address bar: [http://www.flypatrioteast.netai.net/install/checkdb.php](http://www.flypatrioteast.netai.net/install/checkdb.php)

I would reupload the files my friend your database is OK but the files are giving the following errors,

```
Checking PHP version
[OK] PHP version is 5.2.x

Checking connectivity...
[OK] Can contact outside servers

Checking for SimpleXML module...
[OK] SimpleXML module exists!

Checking file hashes for corrupt or mismatched files
[Error] ../install/navdata.sql doesn't exist
[Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date
[Error] ../core/common/jqgrid.class.php doesn't exist
[Checksum failed] /core/common/StatsData.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/common/SchedulesData.class.php did not match, possibly corrupt or out of date
[Error] ../core/common/NavData.class.php doesn't exist
[Checksum failed] /core/common/FuelData.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/common/DownloadData.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/common/OperationsData.class.php did not match, possibly corrupt or out of date
[Error] ../core/common/OFCharts.class.php doesn't exist
[Error] ../core/templates/profile_badge.tpl doesn't exist
[Checksum failed] /core/templates/schedule_results.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/finance_summarysheet.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/contact_form.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/core_htmlhead.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/finance_header.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/core_navigation.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/finance_balancesheet.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/pirep_new.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/pilots_list.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/pilot_public_profile.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/schedule_details.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/codon.config.php did not match, possibly corrupt or out of date
[Checksum failed] /core/classes/Vars.class.php did not match, possibly corrupt or out of date
[Error] ../core/classes/CodonCache.class.php doesn't exist
[Checksum failed] /core/classes/TemplateSet.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/classes/CodonRewrite.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/classes/CodonModule.class.php did not match, possibly corrupt or out of date
[Error] ../core/classes/ezdb/ezdb_base.class.php doesn't exist
[Error] ../core/classes/ezdb/ezdb_mysql.class.php doesn't exist
[Error] ../core/hooks/client/post-load.php doesn't exist
[Error] ../core/hooks/system/postmoduleload.php.1 doesn't exist
[Checksum failed] /core/modules/Schedules/Schedules.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/XML/XML.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/Profile/Profile.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/Downloads/Downloads.php did not match, possibly corrupt or out of date
[Error] ../core/modules/kACARS_Free/kACARS_Free.php doesn't exist
[Checksum failed] /core/modules/ACARS/fspax.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/ACARS/xacars.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/PIREPS/PIREPS.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/Pages/Pages.php did not match, possibly corrupt or out of date
[Checksum failed] /core/modules/RouteMap/RouteMap.php did not match, possibly corrupt or out of date
[Error] ../admin/maintenance.php doesn't exist
[Checksum failed] /admin/templates/sidebar_dashboard.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/ops_airlineslist.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/export_form.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/pilots_detailtabs.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/groups_grouplist.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/downloads_overview.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/finance_expenseform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/finance_header.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/ops_airlineform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/ops_aircraftlist.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/settings_addcustomfield.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/ops_schedules.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/vacentral_index.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/pilots_viewallbids.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/ops_scheduleform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/core_navigation.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/finance_balancesheet.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/pilots_awards.tpl did not match, possibly corrupt or out of date
[Error] ../admin/templates/maintenance_changepilotid.tpl doesn't exist
[Checksum failed] /admin/templates/reports_aircraft.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/sidebar_ranks.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/finance_expenselist.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/settings_mainform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/templates/downloads_downloadform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /admin/lib/phpvmsadmin.js did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/Finance/Finance.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/PilotAdmin/PilotAdmin.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/Downloads/Downloads.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/SiteCMS/SiteCMS.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/Import/Import.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/PIREPAdmin/PIREPAdmin.php did not match, possibly corrupt or out of date

PHP Error Message

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/lib/js/jquery.form.js) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a3247520/public_html/install/checkinstall.php on line 140

Free Web Hosting
[Error] /lib/js/jquery.form.js doesn't exist

-- Checked 182 files, found 76 errors

```

---

<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:** [May 20, 2010, 1:47pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/13 "2010-05-20T13:47:23Z")

</div>

You’re also on a free host which can/will cause problems

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 20, 2010, 8:26pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/14 "2010-05-20T20:26:46Z")

</div>

> I would reupload the files my friend your database is OK but the files are giving the following errors,
> 
> Checking PHP version  
> [OK] PHP version is 5.2.x
> 
> Checking connectivity…  
> [OK] Can contact outside servers
> 
> Checking for SimpleXML module…  
> [OK] SimpleXML module exists!
> 
> Checking file hashes for corrupt or mismatched files  
> [Error] ../install/navdata.sql doesn’t exist  
> [Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date  
> [Error] ../core/common/jqgrid.class.php doesn’t exist  
> [Checksum failed] /core/common/StatsData.class.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/common/SchedulesData.class.php did not match, possibly corrupt or out of date  
> [Error] ../core/common/NavData.class.php doesn’t exist  
> [Checksum failed] /core/common/FuelData.class.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/common/DownloadData.class.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/common/OperationsData.class.php did not match, possibly corrupt or out of date  
> [Error] ../core/common/OFCharts.class.php doesn’t exist  
> [Error] ../core/templates/profile\_badge.tpl doesn’t exist  
> [Checksum failed] /core/templates/schedule\_results.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/finance\_summarysheet.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/contact\_form.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/core\_htmlhead.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/finance\_header.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/core\_navigation.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/finance\_balancesheet.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/pirep\_new.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/pilots\_list.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/pilot\_public\_profile.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/templates/schedule\_details.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /core/codon.config.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/classes/Vars.class.php did not match, possibly corrupt or out of date  
> [Error] ../core/classes/CodonCache.class.php doesn’t exist  
> [Checksum failed] /core/classes/TemplateSet.class.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/classes/CodonRewrite.class.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/classes/CodonModule.class.php did not match, possibly corrupt or out of date  
> [Error] ../core/classes/ezdb/ezdb\_base.class.php doesn’t exist  
> [Error] ../core/classes/ezdb/ezdb\_mysql.class.php doesn’t exist  
> [Error] ../core/hooks/client/post-load.php doesn’t exist  
> [Error] ../core/hooks/system/postmoduleload.php.1 doesn’t exist  
> [Checksum failed] /core/modules/Schedules/Schedules.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/XML/XML.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/Profile/Profile.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/Downloads/Downloads.php did not match, possibly corrupt or out of date  
> [Error] ../core/modules/kACARS\_Free/kACARS\_Free.php doesn’t exist  
> [Checksum failed] /core/modules/ACARS/fspax.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/ACARS/xacars.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/PIREPS/PIREPS.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/Pages/Pages.php did not match, possibly corrupt or out of date  
> [Checksum failed] /core/modules/RouteMap/RouteMap.php did not match, possibly corrupt or out of date  
> [Error] ../admin/maintenance.php doesn’t exist  
> [Checksum failed] /admin/templates/sidebar\_dashboard.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/ops\_airlineslist.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/export\_form.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/pilots\_detailtabs.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/groups\_grouplist.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/downloads\_overview.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/finance\_expenseform.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/finance\_header.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/ops\_airlineform.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/ops\_aircraftlist.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/settings\_addcustomfield.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/ops\_schedules.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/vacentral\_index.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/pilots\_viewallbids.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/ops\_scheduleform.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/core\_navigation.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/finance\_balancesheet.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/pilots\_awards.tpl did not match, possibly corrupt or out of date  
> [Error] ../admin/templates/maintenance\_changepilotid.tpl doesn’t exist  
> [Checksum failed] /admin/templates/reports\_aircraft.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/sidebar\_ranks.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/finance\_expenselist.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/settings\_mainform.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/templates/downloads\_downloadform.tpl did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/lib/phpvmsadmin.js did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/Finance/Finance.php did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/PilotAdmin/PilotAdmin.php did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/Downloads/Downloads.php did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/SiteCMS/SiteCMS.php did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/Import/Import.php did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date  
> [Checksum failed] /admin/modules/PIREPAdmin/PIREPAdmin.php did not match, possibly corrupt or out of date
> 
> PHP Error Message
> 
> Warning: file\_exists() [function.file-exists]: open\_basedir restriction in effect. File(/lib/js/jquery.form.js) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a3247520/public\_html/install/checkinstall.php on line 140
> 
> Free Web Hosting  
> [Error] /lib/js/jquery.form.js doesn’t exist
> 
> – Checked 182 files, found 76 errors

> You’re also on a free host which can/will cause problems

Thank you to the both of you. Although it’s possible, I don’t think that the host is the issue as I had a phpvms site set up with them before and it worked perfectly fine. I will reupload the files and see what it does.

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 20, 2010, 9:14pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/15 "2010-05-20T21:14:52Z")

</div>

> Thank you to the both of you. Although it’s possible, I don’t think that the host is the issue as I had a phpvms site set up with them before and it worked perfectly fine. I will reupload the files and see what it does.

I re-uploaded the files and now it works…partially. It says the route has been added, but it doesn’t show up in the list. I also noted that the tables have a slightly new look to them if that tells you anything…they look more sleek in a way. Thank you.

---

<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:** [May 20, 2010, 9:30pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/16 "2010-05-20T21:30:34Z")

</div>

> I re-uploaded the files and now it works…partially. It says the route has been added, but it doesn’t show up in the list. I also noted that the tables have a slightly new look to them if that tells you anything…they look more sleek in a way. Thank you.

In local.config.php, cna you enable DEBUG\_MODE (set it to true)

Then try adding a route, just browse around. Then can you see if there’s anything the core/logs/log.txt file

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 20, 2010, 11:29pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/17 "2010-05-20T23:29:45Z")

</div>

> In local.config.php, cna you enable DEBUG\_MODE (set it to true)
> 
> Then try adding a route, just browse around. Then can you see if there’s anything the core/logs/log.txt file

It won’t let me chmod the local.config.php so that i can change debug mode to on, i remember having trouble with chmod before, but I don’t remember how I resolved it

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 21, 2010, 8:41pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/18 "2010-05-21T20:41:34Z")

</div>

> It won’t let me chmod the local.config.php so that i can change debug mode to on, i remember having trouble with chmod before, but I don’t remember how I resolved it

Also if its a hint to why adding but not showing the routes, all my graphs now look really, really weird and on the x axis near where zero would be it says infinity. Thank you.

---

<div class="post-metadata">

**Author:** ![g3r84](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/g/df788c/32.png) [@g3r84](https://forum.phpvms.net/u/g3r84)\
**Post date:** [May 21, 2010, 11:03pm UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/19 "2010-05-21T23:03:12Z")

</div>

> Thank you to the both of you. Although it’s possible, I don’t think that the host is the issue as I had a phpvms site set up with them before and it worked perfectly fine. I will reupload the files and see what it does.

I had that hosting too and with the last version of phpvms i couldnt get it to work correctly dont know why since i never had problems with them before im on another free hosting and so far no problems at all

---

<div class="post-metadata">

**Author:** ![patva1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@patva1](https://forum.phpvms.net/u/patva1)\
**Post date:** [May 22, 2010, 4:11am UTC](https://forum.phpvms.net/t/cannot-add-routes/2506/20 "2010-05-22T04:11:30Z")

</div>

Alright Nabeel, I got everything working correctly with chmodding and everything. I turned on debug mode. In the log file there was this after I tried adding a route (same problem: says its added but no route shows up):

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:32

# 

Backtrace: DB::write\_debug \> DB::get\_results \> SettingsData::getAllSettings \> SiteData::loadSiteSettings \> pre\_module\_load \> include

# 

Query: SELECT \* FROM phpvms\_settings

# 

Error: (1053) - Server shutdown in progress

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:32

# 

Backtrace: DB::write\_debug \> DB::get\_row \> Auth::get\_session \> Auth::StartAuth \> pre\_module\_load \> include

# 

Query: SELECT \* FROM phpvms\_sessions WHERE id = ‘35’ AND pilotid = ‘1’

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:32

# 

Backtrace: DB::write\_debug \> DB::query \> Auth::start\_session \> Auth::StartAuth \> pre\_module\_load \> include

# 

Query: INSERT INTO phpvms\_sessions (`pilotid`, `ipaddress`, `logintime`) VALUES (0,‘96.230.200.110’, NOW())

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:33

# 

Backtrace: DB::write\_debug \> DB::get\_results \> SiteData::GetAllPages \> Pages-\>NavBar \> MainController::Run \> MainController::loadModules \> MainController::loadEngineTasks \> include

# 

Query: SELECT \* FROM phpvms\_pages WHERE enabled=1 AND public=1

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:33

# 

Backtrace: DB::write\_debug \> DB::get\_results \> StatsData::UsersOnline \> Frontpage-\>index \> call\_user\_func\_array \> MainController::RunAllActions

# 

Query: SELECT p.\* FROM phpvms\_pilots p, phpvms\_sessions s WHERE s.pilotid = p.pilotid AND DATE\_SUB(NOW(), INTERVAL 20 MINUTE) \<= s.`logintime`

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:33

# 

Backtrace: DB::write\_debug \> DB::get\_results \> StatsData::GuestsOnline \> Frontpage-\>index \> call\_user\_func\_array \> MainController::RunAllActions

# 

Query: SELECT s.\* FROM phpvms\_sessions s WHERE s.pilotid = 0 AND DATE\_SUB(NOW(), INTERVAL 20 MINUTE) \<= s.`logintime`

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:33

# 

Backtrace: DB::write\_debug \> DB::get\_results \> News-\>ShowNewsFront \> call\_user\_func\_array \> MainController::Run \> include \> TemplateSet-\>getTemplate \> TemplateSet-\>showTemplate \> Template::show \> CodonModule-\>render \> Frontpage-\>index \> call\_user\_func\_array \> MainController::RunAllActions

# 

Query: SELECT id, subject, body, postedby, UNIX\_TIMESTAMP(postdate) AS postdate FROM phpvms\_news ORDER BY postdate DESC LIMIT 5

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:33

# 

Backtrace: DB::write\_debug \> DB::get\_results \> PIREPData::findPIREPS \> PIREPData::getRecentReportsByCount \> PIREPS-\>RecentFrontPage \> call\_user\_func\_array \> MainController::Run \> include \> TemplateSet-\>getTemplate \> TemplateSet-\>showTemplate \> Template::show \> CodonModule-\>render \> Frontpage-\>index \> call\_user\_func\_array \> MainController::RunAllActions

# 

Query: SELECT p.\*, UNIX\_TIMESTAMP(p.submitdate) as submitdate, u.pilotid, u.firstname, u.lastname, u.email, u.rank, a.id AS aircraftid, a.name as aircraft, a.registration, dep.name as depname, dep.lat AS deplat, dep.lng AS deplng, arr.name as arrname, arr.lat AS arrlat, arr.lng AS arrlng FROM phpvms\_pireps p LEFT JOIN phpvms\_aircraft a ON a.id = p.aircraft LEFT JOIN phpvms\_airports AS dep ON dep.icao = p.depicao LEFT JOIN phpvms\_airports AS arr ON arr.icao = p.arricao LEFT JOIN phpvms\_pilots u ON u.pilotid = p.pilotid ORDER BY p.submitdate DESC LIMIT 5

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:04:33

# 

Backtrace: DB::write\_debug \> DB::get\_results \> PilotData::getLatestPilots \> Pilots-\>RecentFrontPage \> call\_user\_func\_array \> MainController::Run \> include \> TemplateSet-\>getTemplate \> TemplateSet-\>showTemplate \> Template::show \> CodonModule-\>render \> Frontpage-\>index \> call\_user\_func\_array \> MainController::RunAllActions

# 

Query: SELECT \* FROM phpvms\_pilots ORDER BY `pilotid` DESC LIMIT 5

# 

Error: (2006) - MySQL server has gone away

# 

=====

# 

# 

# 

=====

# 

# 

=====

# 

Time:

# 

=====

# 

Time: 05.22.10 00:06:23

# 

Backtrace: DB::write\_debug \> DB::get\_results \> StatsData::TotalFlightsToday \> include \> TemplateSet-\>getTemplate \> TemplateSet-\>showTemplate

# 

Query: SELECT COUNT(\*) AS `total` FROM phpvms\_pirepsDATE(`submitdate`) = CURDATE()

# 

Error: (1064) - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(`submitdate`) = CURDATE()’ at line 1

# 

=====

# 

# 

# 

=====

[Next page](https://forum.phpvms.net/t/cannot-add-routes/2506.md?page=2)
