Jump to content

Revision 879: fixed #203, fixed #207


Recommended Posts

  • Administrators
Posted

fixed <a class="closed ticket" href="http://bugs.phpvms.net/ticket/203" title="request: Better Captcha (closed: fixed)">#203</a>, fixed <a class="closed ticket" href="http://bugs.phpvms.net/ticket/207" title="enhancement: Change pilot id (closed: fixed)">#207</a>

View more details, download from here

The registration form template has changed, to accomodate reCaptcha integration. There's also now the ability to change a pilot's ID. That's under the pilot options. There's some caveats which are listed there.

Posted

EDIT:

Ok, I tried one last ditch effort, and it seems if I remove a route that I input when I create/edit a schedule, I'm able to see the red line connecting arrival/departure. However, now I'm unable to provide a route to my pilots w/o the map not providing me a line.

post-464-12677729781281_thumb.jpg

Suggestions?

R/

pollixx

---------------

Hello Nabeel!

I've been a member for a couple of weeks now after discovering your airline administration. Since I always like to have the latest and greatest on everything, I've installed the latest beta (rev 879) on my website of phpvms. I have only come across one issue when viewing the route map from any flight. I do not get a line which connects Departure icon and Arrival icon like I have in the past. This is a fresh install with a new db. It does this with the default skin as well as the other one I use. I have also updated my db with the navdata.sql.gz file in the install directory.

REF:

index.php/schedules/details/1

post-464-12677725314236_thumb.jpg

  • Moderators
Posted

fixed <a class="closed ticket" href="http://bugs.phpvms.net/ticket/203" title="request: Better Captcha (closed: fixed)">#203</a>, fixed <a class="closed ticket" href="http://bugs.phpvms.net/ticket/207" title="enhancement: Change pilot id (closed: fixed)">#207</a>

View more details, download from here

The registration form template has changed, to accomodate reCaptcha integration. There's also now the ability to change a pilot's ID. That's under the pilot options. There's some caveats which are listed there.

How To Install?

Posted
Install Check

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

-- Checked 167 files, found 0 errors

Posted

phpVMS Install Checker[b]Install Check[/b] 

[b]Checking PHP version[/b]
[OK] PHP version is 5.2.x

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

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

[b]Checking file hashes for corrupt or mismatched files[/b]

[b]-- Checked 167 files, found 0 errors[/b]

phpVMS Install Checker[b]Checking phpvms_acarsdata...[/b]OK
[b]Checking phpvms_adminlog...[/b]OK
[b]Checking phpvms_aircraft...[/b]OK
[b]Checking phpvms_airlines...[/b]OK
[b]Checking phpvms_airports...[/b]OK
[b]Checking phpvms_awards...[/b]OK
[b]Checking phpvms_awardsgranted...[/b]OK
[b]Checking phpvms_bids...[/b]OK
[b]Checking phpvms_customfields...[/b]OK
[b]Checking phpvms_downloads...[/b]OK
[b]Checking phpvms_expenselog...[/b]OK
[b]Checking phpvms_expenses...[/b]OK
[b]Checking phpvms_fieldvalues...[/b]OK
[b]Checking phpvms_financedata...[/b]OK
[b]Checking phpvms_fuelprices...[/b]OK
[b]Checking phpvms_groupmembers...[/b]OK
[b]Checking phpvms_groups...[/b]OK
[b]Checking phpvms_navdata...[/b]OK
[b]Checking phpvms_news...[/b]OK
[b]Checking phpvms_pages...[/b]OK
[b]Checking phpvms_pilots...[/b]OK
[b]Checking phpvms_pirepcomments...[/b]OK
[b]Checking phpvms_pirepfields...[/b]OK
[b]Checking phpvms_pireps...[/b]OK
[b]Checking phpvms_pirepvalues...[/b]OK
[b]Checking phpvms_ranks...[/b]OK
[b]Checking phpvms_schedules...[/b]OK
[b]Checking phpvms_sessions...[/b]OK
[b]Checking phpvms_settings...[/b]OK
[b]Checking phpvms_updates...[/b]OK

  • Administrators
Posted

EDIT:

Ok, I tried one last ditch effort, and it seems if I remove a route that I input when I create/edit a schedule, I'm able to see the red line connecting arrival/departure. However, now I'm unable to provide a route to my pilots w/o the map not providing me a line.

post-464-12677729781281_thumb.jpg

Suggestions?

R/

pollixx

---------------

Hello Nabeel!

I've been a member for a couple of weeks now after discovering your airline administration. Since I always like to have the latest and greatest on everything, I've installed the latest beta (rev 879) on my website of phpvms. I have only come across one issue when viewing the route map from any flight. I do not get a line which connects Departure icon and Arrival icon like I have in the past. This is a fresh install with a new db. It does this with the default skin as well as the other one I use. I have also updated my db with the navdata.sql.gz file in the install directory.

REF:

index.php/schedules/details/1

post-464-12677725314236_thumb.jpg

What's the route you're using, with the arrival/departure.

And what are you using to create the route?

Posted

What's the route you're using, with the arrival/departure.

And what are you using to create the route?

Route: AVE SADDE6

I usually get my route information from: http://simroutes.com

Then in the routes block of the flight, I just input the route. Is there a different way to do it? I don't see another page/link to input a route.

Cheers,

Pollixx

  • Moderators
Posted

Hi guys,

On the update i put on my dev site All OK no problems, transferred to the live site and i get the following,

Fatal error: Call to undefined function recaptcha_get_html() in /srv/www/easyjetva.com/public_html/lib/skins/ObsessBlue/registration_mainform.tpl on line 95

Which is this line for the recaptcha.

echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error);

My keys are in the config files ok so any help would be appreciated.

  • Administrators
Posted

Hi guys,

On the update i put on my dev site All OK no problems, transferred to the live site and i get the following,

Fatal error: Call to undefined function recaptcha_get_html() in /srv/www/easyjetva.com/public_html/lib/skins/ObsessBlue/registration_mainform.tpl on line 95

Which is this line for the recaptcha.

echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error);

My keys are in the config files ok so any help would be appreciated.

Did you update the registration template? And did you copy the core/lib folder? You don't have to replace the keys which are included, those are global keys and will work anywhere. Seems to me you're missing the files in core/lib/recaptcha

  • Administrators
Posted

Route: AVE SADDE6

I usually get my route information from: http://simroutes.com

Then in the routes block of the flight, I just input the route. Is there a different way to do it? I don't see another page/link to input a route.

Cheers,

Pollixx

Which airports?

simroutes is a really old database - the one included with phpVMS is the latest ATM. I'm showing the AVE navpoint somewhere over the Pacific.

I'd try a route from: http://rfinder.asalink.net/free/

Which is the latest database and should work.

Posted

EDIT:

Ok just to appease my sanity, I went into my db (phpvms_navdata) and looked up CZQ. All of the points listed for CZQ are coming up with a latitude of 0.000000 and longitude of -119.815102. This would explain why it's pointing down toward the equator.

phpvms_navdata.jpg

Which airports?

simroutes is a really old database - the one included with phpVMS is the latest ATM. I'm showing the AVE navpoint somewhere over the Pacific.

I'd try a route from: http://rfinder.asalink.net/free/

Which is the latest database and should work.

I switched to http://rfinder.asalink.net/free/ and updated my routes accordingly.

-The red line is removed between departures and arrivals: http://www.lunickair.com/index.php/schedules/details/8

-Flight LUN1031 (KSFO-KFAT) ROUTE: KSFO SID CZQ V165 TTE STAR KFAT

-When I review the map of a submitted pirep: http://www.lunickair.com/index.php/pireps/view/4 The waypoints are down at the bottom of the pacific.

I'll keep looking, but I've done 2 fresh installs of the files thinking maybe something was missed, but nothing.

Thanks for the help, and I'll update if I find anything.

R/

Pollixx

  • Administrators
Posted

Thanks, I'll check that, looks like an error on my generation of the navdata. Edit: yep, seems like there was an error on importing on my end

But, you have to remove any SID/STARS from the route (the points should be ok, but the SID/STAR text should be removed). I'll code it to re move those in the route generation code

  • Moderators
Posted

Thanks, I'll check that, looks like an error on my generation of the navdata. Edit: yep, seems like there was an error on importing on my end

But, you have to remove any SID/STARS from the route (the points should be ok, but the SID/STAR text should be removed). I'll code it to re move those in the route generation code

quick question Nabeel in the routing do i also need to enter the dep and arriving airport same as pollixx did

gr joeri

Posted

BTW, this PIREP looks okay:

http://www.lunickair.com/index.php/pireps/view/4

Though one point is out of place

It should be good now. I had to go into the db and update the lat/long.

I've noticed that the lines show up after PIREPs are submitted, but for initial "schedule details" page, the map still doesn't show a line between departure and arrival for the route. I'll dig deeper and see if something is missing between the two.

  • Administrators
Posted

quick question Nabeel in the routing do i also need to enter the dep and arriving airport same as pollixx did

gr joeri

Nope, only the route. But now that you've mentioned it, I added checks for that so I filter it out, incase it's included

It should be good now. I had to go into the db and update the lat/long.

I've noticed that the lines show up after PIREPs are submitted, but for initial "schedule details" page, the map still doesn't show a line between departure and arrival for the route. I'll dig deeper and see if something is missing between the two.

Can you give me the route for that, as well as the dep/arrival airports. I'm going to look into the import problem tonight, it seems there's about 5000 points with missing latitude, they seem to all be the lower airways. Thanks

Posted

Nope, only the route. But now that you've mentioned it, I added checks for that so I filter it out, incase it's included

Can you give me the route for that, as well as the dep/arrival airports. I'm going to look into the import problem tonight, it seems there's about 5000 points with missing latitude, they seem to all be the lower airways. Thanks

Here is my latest flight.

KFAT-KLAX

ROUTE: AVE SADDE6

SCHED: http://www.lunickair.com/index.php/schedules/details/1

PIREP: http://www.lunickair.com/index.php/pireps/view/5

As you can see, on the schedule, the map doesn't display the route. It only shows the icons for Departure and Arrival. On the PIREP, it shows the route flown including NAV markers.

R/

Pollixx

P.S. I'd link the route from http://rfinder.asalink.net/free/ but someone broke it. :blink:

  • Moderators
Posted

my server is so so so slow! becasue of the NAV sql. What was that sql datbase thing for?

nevermind! ITs good now!

  • Moderators
Posted

Pollixx,

If you look at your page with IE you get the same error as me,

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Tablet PC 2.0)

Timestamp: Sat, 6 Mar 2010 10:59:25 UTC

Message: Unspecified error.

Line: 13

Char: 458

Code: 0

URI: http://maps.gstatic.com/intl/en_gb/mapfiles/api-3/0/1/main.js

Message: Unspecified error.

Line: 32

Char: 37

Code: 0

URI: http://maps.gstatic.com/intl/en_gb/mapfiles/api-3/0/1/main.js

Mine does display in chrome and ff,

http://www.easyjetva.com/index.php/schedules/details/2003

  • Administrators
Posted

Can you do complete refresh with contrl f5, clear your cache and all. That error seems to be with the google maps api which seems a bit odd

  • Administrators
Posted

Is there a way to import the nav table without having to go trought PHPMYADMIN or the installer ?

Cheers !

The installer doesn't load it. There's the command line:

mysqlimport -uYOUR_DB_USERNAME -pYOUR_DB_PASSWORD DB_NAME navdata.sql

Table Prefix

If your table prefix differs from the default "phpvms_", import the navdata.sql file, then change the name of the table to "YOURPREFIXnavdata". For example, if your table prefix is "vms_", run the following on the MySQL command line:

RENAME phpvms_navdata TO vms_navdata

Alternatively, you can use phpMyAdmin (select the table, then "Operations" -> "Rename Table")

  • Administrators
Posted

I'm looking at it, I'm filing a bug report with Google. Though I do see the map, just not the polyline which connects all the points.

  • Moderators
Posted

It must be something in my skin folder as i went back to the crystal skin and the error went away, i then copied over the acarsmap.tpl from the core to replace the one in my skins folder but still the same, is there any other files that would effect the map that i have in my skin folder, its easier to post a pic of all the files i have modified than try to list,( Sorry about the size)

files.jpg

×
×
  • Create New...