FsPassengers Forums
[SOLVED] Error with VA script - Printable Version

+- FsPassengers Forums (http://www.fspassengers.com/forum)
+-- Forum: FsPassengers (http://www.fspassengers.com/forum/forumdisplay.php?fid=3)
+--- Forum: FsPassengers Support (http://www.fspassengers.com/forum/forumdisplay.php?fid=5)
+--- Thread: [SOLVED] Error with VA script (/showthread.php?tid=7303)



[SOLVED] Error with VA script - Baloo - 11-02-2008

I'm sure this in on "my side" but I've added uploading flight info to my website - everything shows up fine except Cargo
Weight. It's always 0.

I've looked at earlier ones I've upload here (like yesterday) and they show the weight properly.

I've checked the SQL code, and it's looks correct too. The only thing I don't know (and I'll check tonight) is that I
uploaded these flights here,
and then "flagged them" for upload again at my website. So I don't know if that's it or not... I'll take a flight tonight
and check.

In the mean time, does anyone else know anything about this? Wonder


Re: Error with VA script - Drew - 11-02-2008

Its a bug Big Grin

http://www.fspassengers.com/forum/showthread.php?tid=6890&pid=67251#pid67251




Re: Error with VA script - eazy - 11-02-2008

Unfortunately there's a "little" bug in FsP: if your company does not operate in "economic mode" the cargo weights are still written in the local
database but will not be exported by the VA module. In economic mode this works fine.




Re: Error with VA script - eazy - 11-02-2008

Drew!! shouldn't you be installing wamps and ... stuff, instead of answering posts that I'm about to answer without knowing that you are already
answering them ............ Wonder Wink




Re: Error with VA script - Drew - 11-02-2008

Shouldnt you be writing a website and leaving posts for me to answer Smile

WAMP wont work, ive given up on it, tried the old and new version, and both do same, and it says nothing in the help or FAQ Rant




Re: Error with VA script - xhado13 - 11-02-2008

I thought Drew was talking to himself.
Until I saw the forum names Smile




Re: Error with VA script - Baloo - 12-02-2008

Awww... Hunappy

No no! See, since there's no economics, the cargo doesn't count. Yeah... Wink

Anywho, thanks for the quick help guys. Beer




Re: Error with VA script - dubai - 14-02-2008

I get this on my page on the FSlistflight.php

Fatal error: Cannot redeclare getweight() (previously declared in /home/invictaj/public_html/FsPVa/FsPlistflight.php:545)
in /home/invictaj/public_html/FsPVa/FsPlistflight.php on line 563

How do i cure it cos i can't seem to work out what you lot are on about! lol

Please help!


Re: Error with VA script - eazy - 14-02-2008

Dubai, which version of FsPlistflight.php do you use? I ask because all of the versions I know about have less than 545 lines of code Wink
The error says that a function has been declared twice, that's mostly just a typo somewhere. Can you post lines 540 to 570 of the php code? Maybe
we'll find the problem.




Re: Error with VA script - dubai - 18-02-2008

yes, you were right mate, it had been done twice, i deleted it and all is well again!

THX !!!!!!!!!!!!!!!!!!