flyalaska Posted April 21, 2010 Report Share Posted April 21, 2010 When I was resetting the finances, I got a Internal Server Error. Is there a permission that needs to be set for that? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Nope... that's a server problem... is it still doing that? I'd notify your host.. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 Nope... that's a server problem... is it still doing that? I'd notify your host.. You are my host! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 You are my host! Oh! Uh oh. Let me look at that then...weird. I didn't get an email notice. Looking at it right now... it's whenever you recalculate expenses? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Give it a shot now Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 Give it a shot now Will resetting the finances set everything to 0.00? The reason I tried, my finances are in the hole big time. http://www.flyaka.com/index.php/Finances/ My default fuel was at 5.10, changed the config to 1.10. So how do I fix the total outcome? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Will resetting the finances set everything to 0.00? The reason I tried, my finances are in the hole big time. http://www.flyaka.co...x.php/Finances/ My default fuel was at 5.10, changed the config to 1.10. So how do I fix the total outcome? It won't reset existing PIREPs. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 Same Error Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Same Error Strange, can you send me a login? I know what the error is, just have to adjust a value Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 PM Sent Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Thanks, it's not a server issue, it's a code problem... infinite loop or race condition. I added a bug: http://bugs.phpvms.net/browse/VMS-273 Sorry for all the problems... Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 It's not a problem. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 I have another update tomorrow, it'll be solved for that one... Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 ok, would that fix my screwed up finances? http://www.flyaka.com/index.php/Finances/ Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Do you have expenses? It seems to me like the cron/scheduled scripts haven't run. Empty the phpvms_updates table, and see if that helps. Are they just screwed up now? Or was it before the update? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 Before the update, just never got around to it. No expenses yet. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 21, 2010 Author Report Share Posted April 21, 2010 I was looking at the finacedata table. ID in the total looks all whacked. along with the other negatives. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 21, 2010 Administrators Report Share Posted April 21, 2010 Before the update, just never got around to it. No expenses yet. Ah ok, then your PIREPs are probably not done correctly (fuel prices off, the pax/costs) Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 22, 2010 Author Report Share Posted April 22, 2010 how do I fix that, do I need to go into each pirep and manually fix it? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 22, 2010 Administrators Report Share Posted April 22, 2010 how do I fix that, do I need to go into each pirep and manually fix it? Since nothing is cached now, you can probalby update all the fuel prices using a sql query, something like update phpvms_pireps set fuelunitcost='1.10'; update phpvms_pireps set fuelprice = fuelunitcost * fuelused; That'll change the fuel price in bulk, and then the complete price. That financedata table isn't used anymore, so I wouldn't worry about it Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 22, 2010 Author Report Share Posted April 22, 2010 That changed all the prices in the database, the total still shows -1,149,305,157.47 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 22, 2010 Administrators Report Share Posted April 22, 2010 That changed all the prices in the database, the total still shows -1,149,305,157.47 Yeah, you gotta go and fix them I guess, the ticket prices, pax counts, they all count yea Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 27, 2010 Author Report Share Posted April 27, 2010 After the update, the reset finance option has disappeared. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 27, 2010 Administrators Report Share Posted April 27, 2010 After the update, the reset finance option has disappeared. Yep, I took it out since it doesn't actually do anything anymore Quote Link to comment Share on other sites More sharing options...
flyalaska Posted April 27, 2010 Author Report Share Posted April 27, 2010 Yep, I took it out since it doesn't actually do anything anymore Okay! I'm trying to figure out how to get my finances back in the black. ANy ideas? Do I need to edit every pirep? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 27, 2010 Administrators Report Share Posted April 27, 2010 Okay! I'm trying to figure out how to get my finances back in the black. ANy ideas? Do I need to edit every pirep? Yeah, I guess it'll come down to that, since they're all done live now and not cached Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.