Jump to content

fs flight keeper


bravo27

Recommended Posts

  • Administrators

A link to an image is coming as:

http://www.airindiavirtual.net/vms/http://deepanmehta.net/public_html/airindiavirtual/vms/lib/fsfk//AI0061-2010_01_18_181800-IC164.jpg

What's your setting for:

FSFK_IMAGE_PATH

It should just be:

Config::Set('FSFK_IMAGE_PATH', '/lib/fsfk'); // web path from SITE_ROOT

Link to comment
Share on other sites

here is my local config  can verify I did it correct please?

/* FSFK Settings

Your FTP Server, and path to the lib/images folder (from where the FTP connects from), IE

ftp://phpvms.net/phpvms/lib/fsfk or ftp://phpvms.net/public_html/phpvms/lib/fsfk

You want the path from when you connect to the FTP down to where the /lib/fsfk folder is

*/

Config::Set('FSFK_FTP_SERVER', 'ftp://mweva.com/www/thunderva/lib/fsfk');

Config::Set('FSFK_FTP_PORT', '21');

Config::Set('FSFK_FTP_USER', 'xxxxxxxx');

Config::Set('FSFK_FTP_PASS', 'xxxxxxxxx');

Config::Set('FSFK_FTP_PASSIVE_MODE', 'TRUE');

Config::Set('FSFK_IMAGE_PATH', '/lib/fsfk'); // web path from SITE_ROOT

Obviously I changed my username and password for this post.

Link to comment
Share on other sites

This is mine....

Config::Set('FSFK_FTP_SERVER', 'ftp://canadianclassicairlines.com');

Config::Set('FSFK_FTP_PORT', '21');

Config::Set('FSFK_FTP_USER', 'xxxxxxxx');

Config::Set('FSFK_FTP_PASS', 'xxxxxxxxx');

Config::Set('FSFK_FTP_PASSIVE_MODE', 'TRUE');

Config::Set('FSFK_IMAGE_PATH', 'EPA/lib/fsfk'); // web path from SITE_ROOT

Link to comment
Share on other sites

  • Administrators

Yep, it has to be writeable.

Bruce, this should be:

Config::Set('FSFK_IMAGE_PATH', 'EPA/lib/fsfk'); // web path from SITE_ROOT

Yoursite.com/EPA/lib/fsfk

That's where it will look for the images. So if that's not right, then it won't look in the right place

Link to comment
Share on other sites

But that is what I have?!  The images are there, it just isn't accessing them?!

See an example of a pic here:

http://www.canadianclassicairlines.com/EPA/lib/fsfk/EPA0001-2010_01_21_091500-EPA101d-TaxiIn.jpg

So, the pics get uploaded to the site in the correct directory, but not show via the viewing of the pirep?!  What am I missing?

Link to comment
Share on other sites

  • Administrators

But that is what I have?!  The images are there, it just isn't accessing them?!

See an example of a pic here:

http://www.canadianclassicairlines.com/EPA/lib/fsfk/EPA0001-2010_01_21_091500-EPA101d-TaxiIn.jpg

So, the pics get uploaded to the site in the correct directory, but not show via the viewing of the pirep?!  What am I missing?

Config::Set('FSFK_IMAGE_PATH', '/EPA/lib/fsfk');

You're missing a forward slash before the EPA, try that out

Link to comment
Share on other sites

  • Administrators

http://www.airindiavirtual.net/vms/index.php/pireps/view/589

Any idea why the airport layout doesnt show in the above log ? for taxi out/in

and weather also doesnt seem to be rendered on the weather map image

maybe since the trial version was used above ?

Maybe, or your settings within FSFK itself. There might also not be weather information for that area

Link to comment
Share on other sites

Nabeel, you are probably tired of hearing this, but..........I am STUPID!!  ;D ;D

It is fixed.  I guess I couldn't see the that I needed to have just lib/fsfk as the directory.  I had in my mind Site Root as www.canadianclassicairlines.com and the fsfk directory to point to EPA/lib/fsfk.

But of course the site root is where the install lies for phpvms, which is IN the EPA directory.  I can get fixated on this crap sometimes and can't think straight.  :P

Link to comment
Share on other sites

  • Administrators

Nabeel, you are probably tired of hearing this, but..........I am STUPID!!  ;D ;D

It is fixed.  I guess I couldn't see the that I needed to have just lib/fsfk as the directory.  I had in my mind Site Root as www.canadianclassicairlines.com and the fsfk directory to point to EPA/lib/fsfk.

But of course the site root is where the install lies for phpvms, which is IN the EPA directory.  I can get fixated on this crap sometimes and can't think straight.  :P

Yup, I said from SITE_ROOT, which is where phpvms is installed. Perhaps I could have worded it better.

Link to comment
Share on other sites

  • 8 months later...

Hello,

I have tested Flightkeeper and it won´t show the pictures. My images are being uploaded

to a different server then where VMS is running.

My code as I have it now

/* FSFK Settings

Your FTP Server, and path to the lib/images folder (from where the FTP connects from), IE

ftp://phpvms.net/phpvms/lib/fsfk or ftp://phpvms.net/public_html/phpvms/lib/fsfk

You want the path from when you connect to the FTP down to where the /lib/fsfk folder is

*/

Config::Set('FSFK_FTP_SERVER', 'ftp://vbird-va.nl');

Config::Set('FSFK_FTP_PORT', '21');

Config::Set('FSFK_FTP_USER', 'XXX');

Config::Set('FSFK_FTP_PASS', 'XXX');

Config::Set('FSFK_FTP_PASSIVE_MODE', 'TRUE');

Config::Set('FSFK_IMAGE_PATH', 'http://www.vbird-va.nl/FSFK/Images/PIREP/'); // web path from SITE_ROOT

Pictures are being uploaded but you won´t see them in a pirep

Hope somebody can help

Regards,

Cor

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...