Administrators Nabeel Posted January 21, 2010 Administrators Report Share Posted January 21, 2010 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 Quote Link to comment Share on other sites More sharing options...
CPC900 Posted January 21, 2010 Report Share Posted January 21, 2010 Nabeel, here is a link to a pirep: http://www.canadianclassicairlines.com/EPA/index.php/pireps/view/70 It shows the pics listed, but no pics. They upload to the server to my /lib/fsfk/ folder fine. Obviously, there is something simple I missed. Whatever it is....Me and DEE have the same issue. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 21, 2010 Administrators Report Share Posted January 21, 2010 In my post above I asked for what that value is in your config file Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 21, 2010 Report Share Posted January 21, 2010 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. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 21, 2010 Report Share Posted January 21, 2010 WOO HOO! I'm on my live map finally. Now to do the flight and see if I can file and all works accordingly after that. Thanks for the screenies guys! Ray Quote Link to comment Share on other sites More sharing options...
CPC900 Posted January 21, 2010 Report Share Posted January 21, 2010 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 Quote Link to comment Share on other sites More sharing options...
CPC900 Posted January 21, 2010 Report Share Posted January 21, 2010 I can't check right now(I am at work), but I wonder if I neglected the EPA/ part in the .tpl file to show the fsfk pirep?! Will let you know. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 21, 2010 Report Share Posted January 21, 2010 Oh I forgot to ask if we need to set the permissions on the folder in lib that we created to anything special like 777 or anything like that. Right now mine is at 755 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 21, 2010 Report Share Posted January 21, 2010 well fellers, I think I got it now. http://thunderva.mweva.com//index.php/pireps/view/74 Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted January 21, 2010 Moderators Report Share Posted January 21, 2010 that it good job Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 21, 2010 Administrators Report Share Posted January 21, 2010 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 Quote Link to comment Share on other sites More sharing options...
CPC900 Posted January 22, 2010 Report Share Posted January 22, 2010 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? Quote Link to comment Share on other sites More sharing options...
Dee Posted January 22, 2010 Report Share Posted January 22, 2010 What's your setting for: FSFK_IMAGE_PATH It should just be: Config::Set('FSFK_IMAGE_PATH', '/lib/fsfk'); // web path from SITE_ROOT yup that did the trick Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 22, 2010 Administrators Report Share Posted January 22, 2010 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 Quote Link to comment Share on other sites More sharing options...
Dee Posted January 22, 2010 Report Share Posted January 22, 2010 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 ? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 22, 2010 Administrators Report Share Posted January 22, 2010 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 Quote Link to comment Share on other sites More sharing options...
CPC900 Posted January 22, 2010 Report Share Posted January 22, 2010 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. Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted January 22, 2010 Report Share Posted January 22, 2010 You aren't alone. I also couldn't point to the right place on my server. I'm getting too old for ths. : At least that's done. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 22, 2010 Administrators Report Share Posted January 22, 2010 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. Yup, I said from SITE_ROOT, which is where phpvms is installed. Perhaps I could have worded it better. Quote Link to comment Share on other sites More sharing options...
Cor Posted October 17, 2010 Report Share Posted October 17, 2010 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 18, 2010 Administrators Report Share Posted October 18, 2010 That's the path from site root, so it won't show it properly You have to modify the FSFK images template to put the proper base URL in Quote Link to comment Share on other sites More sharing options...
Cor Posted October 18, 2010 Report Share Posted October 18, 2010 Works great now. Thanks Nabeel Regards, Cor 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.