[SOLVED] FSPassengers couldn't export to phpVMS

One of our pilots got this:

Attempt To connect to website…Connection etablished - OK.

phpVMS/FSPAX ACARS

Omega-Air Virtual Airlines/******* selected

8 total flight, 1 flights marked as not exported. Ready to export…

-Exporting of 1 Flights started:

-Error, unable to export flight number 8 ->Error - The web site didn’t replied

1 flights could not be exported.

Any thoughts on what this is likely to be?  Let me know if more info is needed TIA.

Is your website URL correct in the config file?

There was an extra “/” after the domain name, and before phpvms

EDIT:  No difference with a single or double slash.

I’ve been looking for somethig to figure out why the double slash.

I found this in local.config.php

define(‘SITE_URL’, 'http://www.fspirep.us//phpvms’);

Is it possible that when I installed it, I entered a typo?  I’ve never seen a double slash like that after the domain name anywhere else that I recall.

I’m sorry to say that when it comes to php, I’m pretty clueless. :cry:

The double slash wouldn’t matter. Does the VA show up in the fspax?

Yes it does.  It isn’t a major headache because we’v had no trouble with FSACARS, but several of our members really like FSPAX and I try to keep them happy. ;D

Interesting. I wonder if the config file format is screwey.

I don’t have FSPAX installed atm, I should do that…

The only thing that struck me as unusual is that the password is set at none.  Is that correct?

It doesn’t check the password, so it shouldn’t.

Did it export any? Or did it stop after a few?

It’s interesting the message is “the website didn’t reply”. Is there a firewall or something maybe?

I only had one exportable flight.  Also, it can export to the FSPAX site, so I don’t think it is a firewall issue.  I will try another flight with it, today.

BTW, if I throw too many things at you, too quickly, let me know.  I’m trying to switch my site from VAFS to phpVMS as quickly as possible.  We had some ugly experiences there.  (Most of our data disappeared, and the only guy who could fix it was on vacation for 3 weeks.)

Here, it is on my server, so I naturally figure, it’s my fault and can’t yell at anyone. ;D ;D ;D ;D ;D

I didn’t notice any documentation for FSPAX to phpVMS.  Are there any caveats or known issues I should be aware of?

Guys, we had this problem with some of our guys and when I looked at the FS Pax config file compared to other VAs I’ve flown for, it’s not generated the same. Every field needs to be on its own line or it might not read it correctly. The auto-generator is generating them all on one line and it works for Acars but not Pax. Maybe a possible fix for that in an upcoming update?

Here’s how it generates them:

menu_name=TexAir Virtual Airlines; base_url=http://www.texairvirtual.com; path_stats=index.php/acars; path_export=action.php/acars/fspax; username=TXA100; password=none;

Here’s what I told my pilots to do:

menu_name=TexAir Virtual Airlines;

base_url=http://www.texairvirtual.com;

path_stats=index.php/acars;

path_export=action.php/acars/fspax;

username=TXA100;

password=none;

It’s worked for everyone using it so far…

Yeah, I was about to suggest was Darryl said.

It seems on linux servers, it inserts an “n” instead of the Windows required “rn” (or it could be the other way around). But, perhaps FSPAX is tripping on that (which would be weird, but not unexpected)

Tried all of that.  No joy.

But I did notice something odd.

FSPAX is reporting this path:

phpVMS/FSPAX ACARS

Where is the “/” between FSPAX and ACARS?

EDIT:  I also not that in the sample config in the FSPAX VA folder, that // is used as a comment.  Does that have to have a leading space to be a coment, because if not, how does it parse the // in the base URL?

I’ve tried everything I could think of.  Is it possible this is due to the fact that my site doesn’t run phpvms in the root html directory?

Where is that path being reported?

Being in root shouldn’t matter, as long as the URL is correct

Another member of our VA encountered the same problem.  I’m going to compare the directory structure on the server to the config file and see if I can find anything, but that will have to wait till tomorrow.  I added over 400 airports today and can’t see straight, at this point. ;D

so crash, what did you do? i’m with the same problem. Everything runs right, but this!!! =/

UPTADE

I filed pirep manually, and when I tried to export from FSp, what happened? Guess what? I still didn’t work, but just for those flights that wasn’t the same I filed manually. This one, it exported with success. But why It could export a flight that was already on the database and couldn’t export the others?!?!?!?

I’m working the problem backwards.  I’m trying to ascertain from the FSPAX folks what would generate that “the web site did not replied” text.

In my case it looks like FSPAX can connect to the server, but something fails after that point.  If I can find out something that would provide a clue where things go awry.

I was trying to duplicate this last night, but seemed to be going fine.

Can you attach your config file? Or PM it to me?