Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pilot signatures on pirep tab
#1
Hi Jeff, 

My host has done an update a week ago and since then the pilot image is no longer being displayed in the program, what does this depend on and i can get them to switch it back on as i have tried a couple of things but i cant get it to display either.

thanks,
Mark.
Reply
#2
Does the badge/signature display correctly via phpVMS at .../index.php/profile/badge ?
Gene

[Image: FAW_small.jpg]
Reply
#3
The signature url is created in the kACARSII module

about line 602

PHP Code:
$params->signature fileurl(SIGNATURE_PATH '/' $params->pilotcode '.png'); 
[Image: fsproducts_xsmall.png]
Reply
#4
Yes it displays correctly when called with the url. Ill dig further, thanks Jeff.

Everything is in order as it should be but it just stopped displaying after a server update by the host so its something their end but im not sure what yet.
Reply
#5
Perhaps it is the fileurl? Or the signature path?

fileurl set in core/bootstrap.inc.php
PHP Code:
function fileurl($path) {
 
   $url SITE_URL

SIGNATURE_PATH set in core/app.config.php or core/local.config.php
PHP Code:
define('SIGNATURE_PATH''/lib/signatures'); 


PHP Code:
$pilotcode 'AAA0001'// Change to an actual ID
echo fileurl(SIGNATURE_PATH '/' $pilotcode '.png'); 


Can you echo out that line on your server and see what you get?
[Image: fsproducts_xsmall.png]
Reply
#6
Have done that and get the following,

https://www.tuivirtual.com/lib/signatures/TUI0001.png

So it is working as it should, because that url is valid, could it be because of https?

Yes it was, i changed the url in the local config for testing back to http and its working.
Reply
#7
My next release will have a better connection with a https site. It has been tested for a couple of weeks and I have not heard of any issues so far with a https site. Sometime after the new year.
[Image: fsproducts_xsmall.png]
Reply
#8
Thats great thanks Jeff.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)