Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /misc/20/334/450/285/9/user/web/simairline.net/messageboards/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3760: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3762: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
SimAirline.net - Message Boards • View topic - SimAirline.net Roster System 1.1.0

It is currently 17 Jul 2018, 03:05

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: SimAirline.net Roster System 1.1.0
PostPosted: 12 Mar 2009, 00:55 
Offline
Administrator
User avatar

Joined: 07 Jan 2005, 17:29
Posts: 1739
Location: Cairo, Egypt
While mainly not directly affecting our pilots.

The newest version of our Roster System v1.1.0 has some major bug fixes in the core code of the program which will further help reduce the time taken to overhaul the roster each month and manage PIREPs.

Changes in this version date back to April 2007, but I never had enough time to actually do it, since it required a major change to all the files in our system.

One major difference you will notice is the new "Error Reporting" system. Previously when an error is detected, you get a message to either contact me or Aaron Robinson. Now, the system generates an error ticket ID and logs it in the database. You will get information about the ticket ID and what status it is going through as we diagnose the problem. Aaron and I also get a detailed error report from the database saying what exactly went wrong. This will help reduce email traffic as we try to diagnose the problem with each pilot, and also significantly reduce time, since we can actually read what went wrong instead of just having someone email us saying "I got an error, and it said to contact you."

In order to achieve this, I have altered the database, and changed many lines in our core program. That's one of the main reasons it was not uploaded and in effect earlier, because it needed a lot of attention so as nothing would go wrong.

Other bug fixes include the duplicate PIDs fix, and pilots who have left and returning only by submitting a PIREP.

In total 19 files have been modified and 3 new files added to the program.

The system is made up of 7876 lines of code in 64 different modules.

The largest module has 896 lines of code which is the module that calculates and verifies a submitted PIREP.

The smallest module has 18 lines of code which is the one used to log you out of the system.

Sorry for the delay!

Here is the list, enjoy :)

Problem in black and how it was resolved in red.
  • When a pilot that's no longer on the roster files a PIREP and is added back, he's added back with the same ID number and becomes status 0. He doesn't appear on the roster unless I manually change his status away from 0. However, he does receive an email with subject "Pilot ID Number" and the text is just a three-digit number. However, this number is never actually changed in the system.
  • There was an error in this part. The query that sets the status back to 2, was mistyped and produced that the query actually runs but not affecting any rows resulting in the status being 0. The text part is fixed as well, it was also a mistyped variable name. The reason the number being not changed in the database is the same reason for the mistyped query. Also, I discovered that the code to delete the available PID from the table was only executed when the pilots old PID is available again for this pilot. But if the old PID is not available and the pilot needs to be assigned a new PID the code wouldn't execute keeping the available PID in the table for re-usage which (I believe) resulted in the duplicate PIDs problem.
  • As part of the monthly overhaul, it sets everyone with that pilot ID number to idle, not just the one person who was inactive.
  • Modified the query in line 139, instead of one whole query with multiple "OR" it is now delimited and one query is executed for each match where status=3 and the PID matches one that returns from leave in the current month.

_________________
Image
What centreline???


Top
 Profile  
 
 Post subject: Re: SimAirline.net Roster System 1.1.0
PostPosted: 12 Mar 2009, 02:09 
Offline
Management
User avatar

Joined: 05 Oct 2008, 05:26
Posts: 1403
Location: Long Island, New York
Thanks Ali and Aaron!

_________________
Image
Thanks Fraser Jeffery for the beautiful avatar!
Check out the latest SimAirline.net news in Viewpoint


Top
 Profile  
 
 Post subject: Re: SimAirline.net Roster System 1.1.0
PostPosted: 12 Mar 2009, 03:45 
Offline
Management/Moderator
User avatar

Joined: 05 Feb 2007, 23:44
Posts: 2415
Location: Christchurch New Zealand
Great Work Ali!
I don't know what we'd do without you keep the system standing!

_________________
Image
Enigma Simulations | Texture Artist and Aircraft Designer
Click my banner to see my paints via Avsim.


Top
 Profile  
 
 Post subject: Re: SimAirline.net Roster System 1.1.0
PostPosted: 12 Mar 2009, 21:15 
Offline
Management/Moderator
User avatar

Joined: 10 Jan 2005, 03:32
Posts: 9866
Location: Iowa City, IA
Thanks Ali, updates are always appreciated!

_________________
Image
Aviation Research Engineer - University of Iowa


Top
 Profile  
 
 Post subject: Re: SimAirline.net Roster System 1.1.0
PostPosted: 15 Mar 2009, 18:01 
Offline
Pilot

Joined: 15 Jan 2009, 07:14
Posts: 24
I'd never have the patience (or smart-ness) to do all that! Thanks a bunch!

_________________
--
Image

Las Vegas Tower: "Mooney 33W, confirm that you have information Hotel."
Mooney 33W: "We are a Mooney Bravo and we don't have a hotel yet."


Top
 Profile  
 
 Post subject: Re: SimAirline.net Roster System 1.1.0
PostPosted: 17 Mar 2009, 01:49 
Offline
Pilot
User avatar

Joined: 11 Feb 2007, 16:04
Posts: 456
Location: Atlanta, GA
Thanks for the time and effort you invest in keeping this place ticking over, nice job! :D

_________________
Flights: 700 Hours: 3401:52 Miles: 1,468,840
* Read the latest SimAirline.net news and updates at Viewpoint *


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group