Airline Mogul Forum

[FIXED] Can't create new route

Baz · 8 · 1909

Baz

  • Airline Operative
  • *
    • Posts: 11
    • View Profile
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.


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6039
    • View Profile
Reply #1 on: May 15, 2007, 05:30:11 pm
Has the problem persisted?
Stephen Murphy
Airline Mogul Chief Developer


Baz

  • Airline Operative
  • *
    • Posts: 11
    • View Profile
Reply #2 on: May 15, 2007, 06:20:02 pm
Yes
I bought 8/9 aircraft and I can't use anyone of them


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6039
    • View Profile
Reply #3 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.
Stephen Murphy
Airline Mogul Chief Developer


Baz

  • Airline Operative
  • *
    • Posts: 11
    • View Profile
Reply #4 on: May 15, 2007, 07:38:19 pm
491
514
In both Id there is a problem


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6039
    • View Profile
Reply #5 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.
Stephen Murphy
Airline Mogul Chief Developer


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6039
    • View Profile
Reply #6 on: May 15, 2007, 07:49:16 pm
Problem fixed I hope.
Stephen Murphy
Airline Mogul Chief Developer


Baz

  • Airline Operative
  • *
    • Posts: 11
    • View Profile
Reply #7 on: May 15, 2007, 07:58:25 pm
10X
Works fine now


 

SMF spam blocked by CleanTalk