Jump to content

Recommended Posts

Posted

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.

Posted

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

  • Administrators
Posted

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

Posted

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 

  • Administrators
Posted

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

Posted

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

  • Administrators
Posted

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.

  • 8 months later...
Posted

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

  • Administrators
Posted

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

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...