Hi.
I'm trying to set up the server and client for fsacrs, but I'm not having much luck. I don't quite understand what I need to do to get fsacars up and running.
I set up the database on my website provider. Then set up the connect_db.php like this
$hostName = "localhost";
$userName = "vintagea_ACARS";
$password = "xxxxxxxxx";
$dbName = "vintagea_ACARS";
---------------------------------------------------------------------------------------------------------------------
Next I tried to set up the receive_pirep.php, but I don't think it's right. I created a log folder through the FTP on the web server, in the log folder I created two folders "AAL1142" and an error folder.
Like this
http://www.fsvintageair.com/American-Airways/logs
http://www.fsvintageair.com//America...s/logs/AAL1142
http://www.fsvintageair.com//America...ays/logs/error
---------------------------------------------------------------------------------------------------------------------
Here's how I set up the receive_pirep.php doc matching the pathways for each of the folders I created on my web server.
@define ("MYSQL_CONNECT_INCLUDE", "connect_db.php");// MySQL database connection (a sample file is included)
@define ("REPORT_FILE_URL", "http://www.fsvintageair.com/American-Airways/logs/");// URL where the complete FSAcars reports will be stored
@define ("REPORT_FILE_PATH", "/home/wwwfsvintageair.com/American-Airways/logs/");// Folder where the complete FSAcars reports will be stored
@define ("ERROR_LOG_PATH", "/home/American Airways/http://www.fsvintageair.com/American-Airways/logs/error/"); // Folder and filename where the error log is located
---------------------------------------------------------------------------------------------------------------------
When I try to access the pilot_roster.php on the web I get this message........
Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in /home/vintagea/public_html/fsacars/pilot_roster.php on line 36
What am I doing wrong, what do I need to do to get FSACRS working??