# "No Route Passed" ?

**URL:** <https://forum.phpvms.net/t/no-route-passed/2475>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [April 21, 2010, 5:55pm UTC](https://forum.phpvms.net/t/no-route-passed/2475 "2010-04-21T17:55:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 5:55pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/1 "2010-04-21T17:55:59Z")

</div>

Hi,

My virtual airline has just started and pilots cannot seem to bid on flights.

When they go to “Pilot Center” \> “View Flight Schedules” and then choose the one they want and click “Add to Bid”, they get taken to a blank page with “no route passed”. The bid doesn’t get added.

I have left the route field blank in my schedules as it says you can, what do I have to enter there if it fixes the problem?

---

<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:** [April 21, 2010, 6:25pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/2 "2010-04-21T18:25:52Z")

</div>

Sounds like a script error, can you link to the page, or PM the link to me?

I would open Firefox and check the error console as you click the ‘add bid’ link, perhaps something in the template hasn’t been updated

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 6:29pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/3 "2010-04-21T18:29:51Z")

</div>

> Sounds like a script error, can you link to the page, or PM the link to me?
> 
> I would open Firefox and check the error console as you click the ‘add bid’ link, perhaps something in the template hasn’t been updated

[http://www.flynorthern.co.cc/pilots/index.php/schedules/addbid](http://www.flynorthern.co.cc/pilots/index.php/schedules/addbid)

That’s the page, don’t know if you’ll be able to see it unless you’re a pilot though…

I’ve also tried adding the route as well.

I’ve tried it in both Google Chrome and IE8…

Also, the only thing I’ve changed in the template is the file “topbanner” as the default background / fonts / text all fit in nicely with my VA’s colours / logo and it gives it a clean interface. That’s the only file I’ve changed.

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 6:37pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/4 "2010-04-21T18:37:09Z")

</div>

Ok, I see you’ve signed up, but when I click “Accept” in the admin, nothing happens. I tried it again in both IE8 and Chrome, but IE8 found errors on the page, so I’ve copied what I got:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 3.0.30729; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.5.30729)

Timestamp: Wed, 21 Apr 2010 18:35:41 UTC

Message: Object doesn’t support this property or method

Line: 127

Char: 5

Code: 0

URI: [http://www.flynorthern.co.cc/pilots/admin/lib/phpvmsadmin.js](http://www.flynorthern.co.cc/pilots/admin/lib/phpvmsadmin.js)

---

<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:** [April 21, 2010, 6:38pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/5 "2010-04-21T18:38:58Z")

</div>

I registered on your site so I can take a look

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 6:41pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/6 "2010-04-21T18:41:43Z")

</div>

> I registered on your site so I can take a look

And (as posted above), I can’t actually click the “Accept” button in the admin panel to accept it. Is there another way?

I also notice that there seems to be a bug that after you edit a pilot, it just takes you to a blank page with “Pilot Profile Updated” you then have to go all the way back to the top level of the admin panel via the Address Bar to get back to the active pilots page.

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 6:45pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/7 "2010-04-21T18:45:43Z")

</div>

> And (as posted above), I can’t actually click the “Accept” button in the admin panel to accept it. Is there another way?
> 
> I also notice that there seems to be a bug that after you edit a pilot, it just takes you to a blank page with “Pilot Profile Updated” you then have to go all the way back to the top level of the admin panel via the Address Bar to get back to the active pilots page.

Ok, sorted it by going into phpMyAdmin and editing the database record entry.

Do you want me to give you admin access?

---

<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:** [April 21, 2010, 7:18pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/8 "2010-04-21T19:18:44Z")

</div>

If you can give me admin access, that’d be great. I can’t duplicate it on my dev site, using IE8 with v928

The pilot’s list should be editing right in place.

Also, can you paste the output from running install/checkinstall.php? That checks to make sure there are no corrupted files/mismatches 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:** [April 21, 2010, 7:26pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/9 "2010-04-21T19:26:20Z")

</div>

Strange, that line it’s erroring on is a comment. Opened a bug, if you can comment on it there (just helps me keep bug related things in one place)

[http://bugs.phpvms.net/browse/VMS-270](http://bugs.phpvms.net/browse/VMS-270)

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 7:32pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/10 "2010-04-21T19:32:24Z")

</div>

> Strange, that line it’s erroring on is a comment. Opened a bug, if you can comment on it there (just helps me keep bug related things in one place)
> 
> [http://bugs.phpvms.net/browse/VMS-270](http://bugs.phpvms.net/browse/VMS-270)

No problem, I’ll give you admin access.

Also, it worked fine before the updates… it seems to me that there are several bugs. Should I put them all in one comment?

---

<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:** [April 21, 2010, 7:34pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/11 "2010-04-21T19:34:06Z")

</div>

In one is fine. I’m trying to narrow down what it might be, but the output of install/checkinstall.php file would help. I haven’t been able to duplicate any of those (can you try on [http://dev.phpvms.net,](http://dev.phpvms.net,) if you register on there I’ll give you admin access to see if you’re able to duplicate it there)

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 7:39pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/12 "2010-04-21T19:39:49Z")

</div>

> In one is fine. I’m trying to narrow down what it might be, but the output of install/checkinstall.php file would help. I haven’t been able to duplicate any of those (can you try on [http://dev.phpvms.net](http://dev.phpvms.net), if you register on there I’ll give you admin access to see if you’re able to duplicate it there)

Ok, I got this:

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

[Checksum failed] /install/navdata.sql did not match, possibly corrupt or out of date **– I didn’t upload this when I just re-uploaded the install folder, no problem**

[Checksum failed] /core/common/OperationsData.class.php did not match, possibly corrupt or out of date

[Checksum failed] /core/classes/ezdb/ezdb\_base.class.php did not match, possibly corrupt or out of date

[Checksum failed] /core/modules/kACARS\_Free/kACARS\_Free.php did not match, possibly corrupt or out of date

[Checksum failed] /admin/maintenance.php 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/maintenance\_changepilotid.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/Maintenance/Maintenance.php did not match, possibly corrupt or out of date

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/:/tmp) in /home/flynorth/public\_html/pilots/install/checkinstall.php on line 140

[Error] /lib/js/jquery.form.js doesn’t exist

Should I try re-uploading those files from the 2.1.928 update?

**I just realised I re-uploaded the install folder from the 2.1.937 update ZIP, not the .928 one. I re-ran it and it only found the file I deliberately didn’t re-upload because it was too big and would take too long.**

---

<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:** [April 21, 2010, 7:49pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/13 "2010-04-21T19:49:08Z")

</div>

Yeah, the file you’re having trouble with:

```
[Checksum failed] /admin/lib/phpvmsadmin.js did not match, possibly corrupt or out of date

```

Is showing up as not matching what it should be. I would re-download 928 (clear your cache and all first). Also the checkinstall script is giving that last error:

> 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/:/tmp) in /home/flynorth/public\_html/pilots/install/checkinstall.php on line 140
> 
> [Error] /lib/js/jquery.form.js doesn’t exist

Which was also fixed in 928 (but present in 927).

I think maybe your FTP client (what are you using?) just didn’t upload or update those. That’d be a place to start from at least

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 7:52pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/14 "2010-04-21T19:52:31Z")

</div>

> Yeah, the file you’re having trouble with:
> 
> [Checksum failed] /admin/lib/phpvmsadmin.js did not match, possibly corrupt or out of date
> 
> Is showing up as not matching what it should be. I would re-download 928 (clear your cache and all first). Also the checkinstall script is giving that last error:
> 
> Which was also fixed in 928 (but present in 927).
> 
> I think maybe your FTP client (what are you using?) just didn’t upload or update those. That’d be a place to start from at least

I’m using FileZilla, I will re-upload those files from a clean download of the update and see what happens.

---

<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:** [April 21, 2010, 7:52pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/15 "2010-04-21T19:52:42Z")

</div>

I accepted your registration and made you an admin, let me know how it goes

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 7:59pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/16 "2010-04-21T19:59:41Z")

</div>

> I accepted your registration and made you an admin, let me know how it goes

I haven’t experienced any of the errors so far on the test site I registered on. Everything seems to work as it should.

Is it possible to do a clean install from the full version, but backup the local.config file first so it still works with my database. Or will I lose all the users / settings / flights etc…

---

<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:** [April 21, 2010, 8:03pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/17 "2010-04-21T20:03:12Z")

</div>

> I haven’t experienced any of the errors so far on the test site I registered on. Everything seems to work as it should.
> 
> Is it possible to do a clean install from the full version, but backup the local.config file first so it still works with my database. Or will I lose all the users / settings / flights etc…

Yes, save your local.config.php file, and make a backup of your database (just in case). Then delete all the files, and reupload everything. Then you can either reinstall, or restore your local.config.php. The installer won’t overwrite anything in the database, but to be sure, just run the first step (you don’t have to do the user setup)

---

<div class="post-metadata">

**Author:** ![jamlava](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jamlava](https://forum.phpvms.net/u/jamlava)\
**Post date:** [April 21, 2010, 8:05pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/18 "2010-04-21T20:05:26Z")

</div>

> Yes, save your local.config.php file, and make a backup of your database (just in case). Then delete all the files, and reupload everything. Then you can either reinstall, or restore your local.config.php. The installer won’t overwrite anything in the database, but to be sure, just run the first step (you don’t have to do the user setup)

Ok, I will download the latest full version and try this, I will let you know how I get on.

---

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [April 21, 2010, 8:07pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/19 "2010-04-21T20:07:57Z")

</div>

i also get the “no routes” error. I’m running .928 on firefox and ie8. i did the install/checkinstall

```
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
[OK] No errors found!

-- Checked 182 files, found 0 errors

```

no errors? also no routemap shows up when viewing past pireps.

---

<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:** [April 21, 2010, 8:09pm UTC](https://forum.phpvms.net/t/no-route-passed/2475/20 "2010-04-21T20:09:38Z")

</div>

> i also get the “no routes” error. I’m running .928 on firefox and ie8. i did the install/checkinstall
> 
> 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  
> [OK] No errors found!
> 
> – Checked 182 files, found 0 errors
> 
> no errors? also no routemap shows up when viewing past pireps.

Strange, which Firefox version? Also, goto Tools -\> Error Console, any errors show up in there? Same for IE 8 - any errors?

[Next page](https://forum.phpvms.net/t/no-route-passed/2475.md?page=2)
