parkho / TopPilots_V1.0

A module for phpVMS system to show top pilots in virtual airlines.
0 stars 1 forks source link

Invalid Argument For Each #1

Open MWE001 opened 7 years ago

MWE001 commented 7 years ago

Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/xxxxx/core/templates/toppilot/bestrevenue.php on line 4

Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/xxxxxx/core/templates/toppilot/bestdistance.php on line 4

Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/xxxxx/core/templates/toppilot/bestflighttime.php on line 4

Parse error: syntax error, unexpected '=' in /home/xxxxxx/public_html/xxxxxx/core/common/TopPilots.class.php on line 27

I have some fixes in place I will post here in a minute after I check my edits.

MWE001 commented 7 years ago

The pull requests I posted fixes all the posted errors.

However, i can not get any info to get put in the tables. I have many pireps filed and recalculated everything in the system and no info. It is late tonight. I will do a flight tomorrow using acars and see if a new acars pirep will cause it to update.

By the way, this is TAV1702 Ray for phpVMS ;-)

MWE001 commented 7 years ago

Ok Fresh Pirep filed with kACARs and no information is being displayed. However, I still have 0 errors which is a bonus.

parkho commented 7 years ago

Hi Ray,

Actually, I re-wrote Toppilots with some new features and haven't had a chance to upload it to Github. Would you like to use the new version instead? You can see the demo at my website if you're interested.

Regards

Parkho

From: Ray [mailto:notifications@github.com] Sent: Friday, November 11, 2016 9:39 AM To: parkho/TopPilots_V1.0 Subject: Re: [parkho/TopPilots_V1.0] Invalid Argument For Each (#1)

Ok Fresh Pirep filed with kACARs and no information is being displayed. However, I still have 0 errors which is a bonus.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/parkho/TopPilots_V1.0/issues/1#issuecomment-259888457 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABcageFeHe1X3bxWcHsXHh7sS0GkheGqks5q9AZqgaJpZM4KvbwN .

MWE001 commented 7 years ago

Oh ok. lol Well I enjoyed what few minutes I did spend working on it even if it is deprecated lol I would love to take a look at the new one if it is available. I don't want to step on any toes though if it is not released yet.

I'll head over to your site and see if i can find it.

Thanks for the reply. I appreciate it.

Ray

On Sat, Nov 12, 2016 at 3:24 AM, Parviz Khorrami notifications@github.com wrote:

Hi Ray,

Actually, I re-wrote Toppilots with some new features and haven't had a chance to upload it to Github. Would you like to use the new version instead? You can see the demo at my website if you're interested.

Regards

Parkho

From: Ray [mailto:notifications@github.com] Sent: Friday, November 11, 2016 9:39 AM To: parkho/TopPilots_V1.0 Subject: Re: [parkho/TopPilots_V1.0] Invalid Argument For Each (#1)

Ok Fresh Pirep filed with kACARs and no information is being displayed. However, I still have 0 errors which is a bonus.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/parkho/TopPilots_V1.0/issues/1#issuecomment-259888457> , or mute the thread https://github.com/notifications/unsubscribe-auth/ ABcageFeHe1X3bxWcHsXHh7sS0GkheGqks5q9AZqgaJpZM4KvbwN .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/parkho/TopPilots_V1.0/issues/1#issuecomment-260111548, or mute the thread https://github.com/notifications/unsubscribe-auth/ACcpXfNT7m3QNtuqUKumM4xA3LG8FJnrks5q9YXEgaJpZM4KvbwN .

parkho commented 7 years ago

Lol, It's available now. Just hit "Login" and choose "TOPPILOT"

From: Ray [mailto:notifications@github.com] Sent: Saturday, November 12, 2016 8:53 PM To: parkho/TopPilots_V1.0 Cc: Parviz Khorrami; Comment Subject: Re: [parkho/TopPilots_V1.0] Invalid Argument For Each (#1)

Oh ok. lol Well I enjoyed what few minutes I did spend working on it even if it is deprecated lol I would love to take a look at the new one if it is available. I don't want to step on any toes though if it is not released yet.

I'll head over to your site and see if i can find it.

Thanks for the reply. I appreciate it.

Ray

On Sat, Nov 12, 2016 at 3:24 AM, Parviz Khorrami notifications@github.com wrote:

Hi Ray,

Actually, I re-wrote Toppilots with some new features and haven't had a chance to upload it to Github. Would you like to use the new version instead? You can see the demo at my website if you're interested.

Regards

Parkho

From: Ray [mailto:notifications@github.com] Sent: Friday, November 11, 2016 9:39 AM To: parkho/TopPilots_V1.0 Subject: Re: [parkho/TopPilots_V1.0] Invalid Argument For Each (#1)

Ok Fresh Pirep filed with kACARs and no information is being displayed. However, I still have 0 errors which is a bonus.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/parkho/TopPilots_V1.0/issues/1#issuecomment-259888457> , or mute the thread https://github.com/notifications/unsubscribe-auth/ ABcageFeHe1X3bxWcHsXHh7sS0GkheGqks5q9AZqgaJpZM4KvbwN .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/parkho/TopPilots_V1.0/issues/1#issuecomment-260111548, or mute the thread https://github.com/notifications/unsubscribe-auth/ACcpXfNT7m3QNtuqUKumM4xA3LG8FJnrks5q9YXEgaJpZM4KvbwN .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/parkho/TopPilots_V1.0/issues/1#issuecomment-260135289 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABcagaVPj9XVJh1VZpXzGh-TtnPuz329ks5q9fXygaJpZM4KvbwN .