Airline Mogul Forum

Airline Mogul => Bugs => Topic started by: Baz on May 14, 2007, 09:26:58 pm

Title: [FIXED] Can't create new route
Post by: Baz on May 14, 2007, 09:26:58 pm
I bought some new 757 (with cost P/H=0) and I can't create new route with them.
I'm getting this messege
Warning: Division by zero in /home/airlinem/public_html/airlinemogul/create_route.php on line 291
after I enter the price of the ticket.
Title: [FIXED] Can't create new route
Post by: StephenM on May 15, 2007, 05:30:11 pm
Has the problem persisted?
Title: [FIXED] Can't create new route
Post by: Baz on May 15, 2007, 06:20:02 pm
Yes
I bought 8/9 aircraft and I can't use anyone of them
Title: [FIXED] Can't create new route
Post by: StephenM on May 15, 2007, 06:57:17 pm
Quote from: "Baz"
Yes
I bought 8/9 aircraft and I can't use anyone of them


Airline ID?

Going to check the script for that line and see if I can spot what it is.
Title: [FIXED] Can't create new route
Post by: Baz on May 15, 2007, 07:38:19 pm
491
514
In both Id there is a problem
Title: [FIXED] Can't create new route
Post by: StephenM on May 15, 2007, 07:42:45 pm
Ok, I see what the problem is. For some reason it says the aircraft have no seats. Will look into it now.
Title: [FIXED] Can't create new route
Post by: StephenM on May 15, 2007, 07:49:16 pm
Problem fixed I hope.
Title: [FIXED] Can't create new route
Post by: Baz on May 15, 2007, 07:58:25 pm
10X
Works fine now