OmerAslan Posted March 10, 2016 Report Share Posted March 10, 2016 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 More sharing options...
Moderators servetas Posted March 10, 2016 Moderators Report Share Posted March 10, 2016 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 More sharing options...
OmerAslan Posted March 11, 2016 Author Report Share Posted March 11, 2016 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 More sharing options...
Moderators servetas Posted March 11, 2016 Moderators Report Share Posted March 11, 2016 Which phpVMS version are you using? Where did you download it from? Link to comment Share on other sites More sharing options...
OmerAslan Posted March 11, 2016 Author Report Share Posted March 11, 2016 I think Version 2.1.936 from http://www.phpvms.net/downloads/ Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 11, 2016 Moderators Report Share Posted March 11, 2016 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 More sharing options...
OmerAslan Posted March 11, 2016 Author Report Share Posted March 11, 2016 Ok. Is there anyway i may download this new version without loosing any data? Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 11, 2016 Moderators Report Share Posted March 11, 2016 I do not think so. What is the installed php version on your server? Link to comment Share on other sites More sharing options...
OmerAslan Posted March 11, 2016 Author Report Share Posted March 11, 2016 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 More sharing options...
OmerAslan Posted March 11, 2016 Author Report Share Posted March 11, 2016 I fixed the problem. I am sorry. It was my foult. I was trying to upload pic with .bmp Sorry again my friend. Link to comment Share on other sites More sharing options...
OmerAslan Posted March 12, 2016 Author Report Share Posted March 12, 2016 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 More sharing options...
Moderators servetas Posted March 12, 2016 Moderators Report Share Posted March 12, 2016 Have you updated the php version too? The latest version of phpVMS works with php 5.5. Link to comment Share on other sites More sharing options...
OmerAslan Posted March 12, 2016 Author Report Share Posted March 12, 2016 5.4 recommended on godaddy server. But i changed now and it works good now. Thanks again my friend. Link to comment Share on other sites More sharing options...
OmerAslan Posted March 12, 2016 Author Report Share Posted March 12, 2016 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 More sharing options...
OmerAslan Posted March 12, 2016 Author Report Share Posted March 12, 2016 Bigger problem is register page i have this error: reCaptcha ERROR for site owner: Invalid domain for site key noone can register Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 12, 2016 Moderators Report Share Posted March 12, 2016 Regarding the captcha check this out: http://forum.phpvms.net/topic/23412-website-recapcha/ Link to comment Share on other sites More sharing options...
OmerAslan Posted March 12, 2016 Author Report Share Posted March 12, 2016 ok i fixed the problem my friend. thanks a lot. Link to comment Share on other sites More sharing options...
OmerAslan Posted March 15, 2016 Author Report Share Posted March 15, 2016 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 More sharing options...
Moderators servetas Posted March 15, 2016 Moderators Report Share Posted March 15, 2016 For each issue you have to open a new thread in order to keep the questions categorized and grouped. Post your question in a new thread and describe the problem more giving examples too. Link to comment Share on other sites More sharing options...
Recommended Posts