Jump to content

Couple questions-Need some help please


OmerAslan

Recommended Posts

I am new with all this stuff. I am using smartcars and phpvms defult crystal skin. Everthing seems perfect exepct;

1- My map on Live Map has been gone only grey color stays. And i did my first flight with my tracker, after the flight i can still see it on the list of Live map page. Howlong will stay after the flight?

2- I see my pirep info and i see numbers right like Kg but says lb.(pound) I think my smartcars send data as a kilo which is i like to see as Kilo. How can i fix it?

But please explain easy way because i am new and i don't know much. Thanks,

Omer

Link to comment
Share on other sites

  • Moderators

Hello Omer,

1. Open your core folder. Inside it, you will find the local.config.php file. Copy and paste the following:

Config::Set('ACARS_LIVE_TIME', 15);
Config::Set('ACARS_DEBUG', false);

Check the file if the above two lines are already included. The default value is 720 which means that the flights will remain line for 720 minutes = 12 hours. Update 720 to anything you want.

2. All these settings can be updated from local.config.php file. If you do not find some settings, open app.config.php file. This file includes all the available phpVMS settings. Copy the setting you want to update from the app.config.php file (if it is not already included in the local.config.php file) and paste it into the local.config.php file. Do make any changes into your app.config.php file as this will file is updated whenever you update your phpVMS while the settings set on local.config.php file are not replaced.

George

Link to comment
Share on other sites

Hello Omer,

1. Open your core folder. Inside it, you will find the local.config.php file. Copy and paste the following:

Config::Set('ACARS_LIVE_TIME', 15);
Config::Set('ACARS_DEBUG', false);

Check the file if the above two lines are already included. The default value is 720 which means that the flights will remain line for 720 minutes = 12 hours. Update 720 to anything you want.

2. All these settings can be updated from local.config.php file. If you do not find some settings, open app.config.php file. This file includes all the available phpVMS settings. Copy the setting you want to update from the app.config.php file (if it is not already included in the local.config.php file) and paste it into the local.config.php file. Do make any changes into your app.config.php file as this will file is updated whenever you update your phpVMS while the settings set on local.config.php file are not replaced.

George

Dear George,

Thanks for the answers. About map, i checked and both lines i already have. I even changed the size :) When smartcars flights are gone map becomes ok and i start new flight map is gone again. I send email to TFDI. I think they have to help me about it. But the rest is ok.

I was trying to add picture to my profile i got this error

Warning: imagesy() expects parameter 1 to be resource, null given in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 464

Warning: imagesx() expects parameter 1 to be resource, null given in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 465

Warning: Division by zero in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 468

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 470

Warning: imagecopyresized() expects parameter 1 to be resource, boolean given in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 471

Warning: imagepng() expects parameter 1 to be resource, boolean given in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 475

Warning: imagedestroy() expects parameter 1 to be resource, null given in /home/pilotomeraslan/public_html/aal/core/common/PilotData.class.php on line 476

Can you help me about this?

Thank you so much for your help.

Best Regards,

Omer ASLAN

Link to comment
Share on other sites

  • Moderators

If you are starting now, I would suggest directly installing the latest phpVMS version which is compatible with the latest php versions. You can find it here: https://github.com/D...rk/phpvms_5.5.x

I do not know if the errors are due to the old version but I suggest using the latest version. Give it a try and let us know if the error persist.

Link to comment
Share on other sites

5.3 but i can change it to 5.4 or 5.5 I have this option. Whis option is better for phpvms_5.5.x version?

Well actually i download new version and try to change the avatar again but still gives me this:

Warning: imagesy() expects parameter 1 to be resource, null given in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 452

Warning: imagesx() expects parameter 1 to be resource, null given in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 453

Warning: Division by zero in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 456

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 458

Warning: imagecopyresized() expects parameter 1 to be resource, boolean given in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 461

Warning: imagepng() expects parameter 1 to be resource, boolean given in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 465

Warning: imagedestroy() expects parameter 1 to be resource, null given in /home/pilotomeraslan/public_html/aalv/core/common/PilotData.class.php on line 466

Link to comment
Share on other sites

Hello again,

I have new version og phpvms now. I have one problem so far, which is when submit a pirep it says

Strict Standards: Non-static method CodonEvent::hasStop() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/aal/core/modules/PIREPS/PIREPS.php on line 478

How can i fix it? Thanks.

Link to comment
Share on other sites

My friend sorry to bother you but start to give same sign again. i have php 5.5 version and

Strict Standards: Non-static method CodonEvent::hasStop() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/aal/core/modules/PIREPS/PIREPS.php on line 478

Link to comment
Share on other sites

Hi. It's me again,

I create external page for my virtual airline. How can i insert this page as home page in phpvms? And i want to make current homepage to news page. I need to make some changes in pages on the navbar and navbar menu... How can i do this? Thanks.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...