ayhan041
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by ayhan041
-
-
5 hours ago, servetas said:
You have included the google maps with the following code:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&sensor&callback=true"></script>
This is wrong. Replace it with this:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&sensor=true"></script>
Let me know if it works.
thank you sir i change api key and replace resource and now map work . but i got new problem with that
-
hello i finish my flight and accept 2x flight but still one flight tracked under map and map dose not work please help me
what i can do ? we have no flight right know but my flight tracked under map what i must do ?
-
5 minutes ago, servetas said:
I do not understand your question but you will have to remove this:
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&callback=initMap" type="text/javascript"></script>
and use only this:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&sensor=true"></script>
Check your page source that includes two different calls for the google maps api.
aha find that line sir and change it now my source changed to this
<link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&sensor=true"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script>
i think my key has problem cuz still not work i do what google say step by step something goes wrong
anyway let it go
thanks for your help sir ♥
-
8 minutes ago, servetas said:
Check the source of your website using your browser. It seems that you include the google maps twice in your website (lines 21 and 24-25). I do not know what can cause this but you should only have line 21 from your website's page source.
your mean this section?
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&callback=initMap" type="text/javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&callback=initMap" type="text/javascript"></script>
-
5 minutes ago, servetas said:
Remove the "async defer" tags from the google maps script.
removed still nothing
i get code from google that's not work
i dont know what i must do
lol i pres ctrl+f5 and it work when i reload page again gone and error
my site fu... up
-
25 minutes ago, servetas said:
As I can see, you are using a different template from the default phpVMS template. This means that you will have to update the core_htmlhead.php of the template that you are currently using. This can be found in your_phpvms_directory/lib/skins/ocean_blue/core_htmlhead.php. Update it and let us know if that solves the issues.
<?php /** * STOP! HAMMER TIME! * * ====> READ THIS !!!!! * * I really really, REALLY suggest you don't edit this file. * Why? This is the "main header" file where I put changes for updates. * And you don't want to have to manually go through and figure those out. * * That equals headache for you, and headache for me to figure out what went wrong. * * BUT BUT WAIT, you say... I want to include more javascript, css, etc...! * Well - in your skin's header.tpl file, this file is included as: * * Template::Show('core_htmlhead.tpl'); * * Just add your stuff under that line there. That way, it's in the proper * spot, and this file stays intact for the system (and me) to be able to * make clean updates whenever needed. Less bugs = happy users (and happy me) * * THANKS! */ ?> <script type="text/javascript"> var baseurl = "<?php echo SITE_URL;?>"; var geourl = "<?php echo GEONAME_URL; ?>"; </script> <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&callback=initMap" type="text/javascript"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> <?php echo $MODULE_HEAD_INC;
now i change the Skin (Ocean Blue) file still not work
-
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <?php /** * STOP! HAMMER TIME! * * ====> READ THIS !!!!! * * I really really, REALLY suggest you don't edit this file. * Why? This is the "main header" file where I put changes for updates. * And you don't want to have to manually go through and figure those out. * * That equals headache for you, and headache for me to figure out what went wrong. * * BUT BUT WAIT, you say... I want to include more javascript, css, etc...! * Well - in your skin's header.tpl file, this file is included as: * * Template::Show('core_htmlhead.tpl'); * * Just add your stuff under that line there. That way, it's in the proper * spot, and this file stays intact for the system (and me) to be able to * make clean updates whenever needed. Less bugs = happy users (and happy me) * * THANKS! */ ?> <script type="text/javascript"> var baseurl = "<?php echo SITE_URL;?>"; </script> <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBTq3EcPWYUMAJ27n-IzcnQMKBGIWlxjsE&callback=initMap" type="text/javascript"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> <?php echo $MODULE_HEAD_INC;
I make change in /home/vapersia/ms.virtual-flights.ir/core/templates/core_htmlhead.php and still map not work what i must do ?
-
3 minutes ago, shakamonkey88 said:
You're not using the correct phpVMS version I think
i use this V 2.1.9
witch one i must use?
-
2 minutes ago, shakamonkey88 said:
You're not using the correct phpVMS version I think
then what i must do ??
-
hello
i want change my VA skin but i get this massage
Notice: The template file "/home/vapersia/irf.virtual-flights.ir//lib/skins/skyBlue/header.tpl" doesn't exist in /home/vapersia/irf.virtual-flights.ir/core/classes/TemplateSet.class.php on line 248
and
Notice: The template file "/home/vapersia/irf.virtual-flights.ir//lib/skins/skyBlue/footer.tpl" doesn't exist in /home/vapersia/irf.virtual-flights.ir/core/classes/TemplateSet.class.php on line 248
what i must do ?
this is Templateset.class.php line 248 ( trigger_error('The template file "'.$tpl_path.'" doesn\'t exist'); )
please help
My Routes Map
in Support Forum
Posted
any one know about this problem ?