-
Posts
335 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Ariel
-
-
Would this be your first time running a VA?
-
On 12/21/2019 at 9:17 PM, Haru said:
This looks like a bug.
When a new pilot joins they cant see the dash or flights unless they are assigned the admin role.
He is right. There is no dashboard access unless you are assigned admin!
-
-
Hey guys,
So yesterday i decided to try a fresh install of the beta 7. version 7.0.0 (build 191119.a335ed) to be exact. Everything went well actually. Installation and all. Up until today. Yesterday i added some airports just to test everything out and today when i tried adding more it no longer looks up airports. Not sure if its my hosting, internet, or the website itself that maybe causing this. Since i was playing around with a few things yesterday and changed a few files i did a fresh install today with a whole new database and still...no airport lookup
Any input is gladly appreciated.
NOTE... i only did the install for testing purposes i know that phpVMS 7 is not released yet and is still in beta phase
-
weren't you just selling this va like a few months ago?😒
-
To this day ...this still works...thank you so much!!!
-
On 1/26/2017 at 7:18 AM, servetas said:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBorb_ELH8kXiXxDGpfbz1dgyQk5Gmo7NE&libraries=weather&sensor=true"> </script>
For future references this seemed to have worked for me. I dont know why the key google was giving was just not working. Thanks Servetas
-
3 hours ago, StratusGroup said:
stratusgroup.co.uk
Your website takes us now to GoogleUK. Personally it looks like you will be only focusing on UK VAs which would kind of limit you to the possible and potential VAs wanting to join your alliance. Your branding itself tells me all this and that is how i came to that conclusion. I could be wrong and that might not be what you guys are going for but thats what i get from your website address. I did put some thought into maybe presenting my project to you and maybe somewhere down the near future join the alliance but my project and where its based from will not be a fit. This could be something to look at and if your guyses focus is not on a particular region then changes might be needed. Again thats just my take on all this. The branding thus far looks great. We have yet to know exactly what was discussed with the 8 VAs and what this 'unique" service(in detail) you will be offering to the community but everything else you mentioned sounds really great and wish you guys the best.
-
What ever happened to this va?
-
your airlines web address would be very much appreciated!!
-
No worries, feel free to use my code on your side, I purely gave it to you as an example
As per your issue above, this should solve the error
<?php $pirep = PIREPData::getRecentReportsByCount(1); if(!$pirep) { echo 'THERE IS NO FLIGHTS'; } else { foreach($pirep as $p) { echo ' '.$p->depicao.' <img src="/lib/skins/vdelta3/img/airplaneicon.png" alt=""> '.$p->arricao.' FLIGHT: '.$p->code . $p->flightnum.' AIRCRAFT: '.$p->aircraft.' SUBMITTED: '.date(DATE_FORMAT, $p->submitdate).' '; } } ?>
web541,
Worked like a charm. Thank you again...i really appreciate it!!
- 1
-
Now i did try adding an ELSE section to the code so when a pilot doesnt have any flights (ex. new pilot) it will display something saying that there is no flights but i keep getting a syntax error.
Parse error: syntax error, unexpected 'else' (T_ELSE)
Does the code not allow an else to it?
<?php $pirep = PIREPData::getRecentReportsByCount(1); foreach($pirep as $p) { echo ' '.$p->depicao.' <img src="/lib/skins/vdelta3/img/airplaneicon.png" alt=""> '.$p->arricao.' FLIGHT: '.$p->code . $p->flightnum.' AIRCRAFT: '.$p->aircraft.' SUBMITTED: '.date(DATE_FORMAT, $p->submitdate).' '; } else { echo 'THERE IS NO FLIGHTS'; } ?>
-
can't remember what type of field the "submitdate" is, but you could try
<?php echo $report->depicao; ?> <img src="/airplaneicon.png" alt=""> <?php echo $report->arricao; ?> FLIGHT: <?php echo $report->code . $report->flightnum; ?> AIRCRAFT: <?php echo $report->aircraft; ?> DATE SUBMITTED: <?php echo date(DATE_FORMAT, strtotime($report->submitdate)); ?>
or if that doesn't work, do a
<?php echo print_r($report); ?>
And post what you have for the field
[submitdate] =>
What I use
<?php $pirep = PIREPData::getRecentReportsByCount(1); foreach($pirep as $p) { echo $p->depicao.' - '.$p->arricao; echo '<br />'; echo $p->code.$p->flightnum; echo '<br />'; echo $p->aircraft; echo '<br />'; echo date(DATE_FORMAT, $p->submitdate); echo '<br />'; } ?>
Hey web541,
Thanks a bunch for responding. I did end up changing the submit date with the first edit you suggested and that did correct the issue regarding the submitdate.
Now for the life of me i couldnt get the aircraft name to appear and though you did post what you use on your site i didnt want to use it with out giving it a few tries with other codes and such...but that was to no avail.
I did, on a side note, used your "spoiler" code and that did the trick and want to thank you for showing your code. I did tweak it alittle just to not have too many echos and but either one works just fine...
<?php $pirep = PIREPData::getRecentReportsByCount(1); foreach($pirep as $p) { echo ' '.$p->depicao.' <img src="/airplaneicon.png" alt=""> '.$p->arricao.' FLIGHT: '.$p->code . $p->flightnum.' AIRCRAFT: '.$p->aircraft.' SUBMITTED: '.date(DATE_FORMAT, $p->submitdate).' '; } ?>
All in all thank you for the help. I really appreciate it!! #lifesaver
-
Im trying to display the latest flight details of a pilots last flown flight.
Using this code
<?php echo $report->depicao; ?> <img src="/airplaneicon.png" alt=""> <?php echo $report->arricao; ?> FLIGHT: <?php echo $report->code . $report->flightnum; ?> AIRCRAFT: <?php echo $report->aircraft; ?> DATE SUBMITTED: <?php echo date(DATE_FORMAT, $report->submitdate); ?>
but what i get is this
The airport ICAOs are correct and so is the flight number but the aircraft and date are either not what i want it to show or wrong. The aircraft assigned to that flight is the second aircraft on the database but i want it to display the aircraft name. As for the date I cant seem to understand where its getting it from if not from the last submitted PIREP.
Can anyone please let me know what im doing wrong!
Very much appreciated and thank you in advance!
-
Looked too good to be true!!! Website is down!!
- 1
-
So am i missing something here...you have two VAs...SAS and Monarch?
- 1
-
looking at their website it looks like they are still under development...i would say they will open late 2016 instead of late 2015
- 1
-
That fixed the same error I had - http://www.flyaka.com/test/index.php/SimpleNews/item/1
try installing with a clean copy, without the tweaks except the last edit.
AHH...that fixed it...thank you very VERY much!!
- 1
-
Open core/classes/CodonModule.class.php
Right after <?php on a new line add
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
that doesnt do anything
i still get this error when accessing /index.php/SimpleNews/item/1
Fatal error: Using $this when not in object context in /home3/vdelta/public_html/beta/core/modules/SimpleNews/SimpleNews.php on line 39
i get this error when accessing /index.php/SimpleNews
Fatal error: Using $this when not in object context in /home3/vdelta/public_html/beta/core/modules/SimpleNews/SimpleNews.php on line 17
-
I dont use that mod, I will install it and see if I can get the errors to go away and than zip it to you.
I'd really appreciate that. What mod do you use for news?
-
You on phpvms 5.5.2?
Yes sir!!
-
Okay so i was able to get it to work with your modification of the NewsData.class
but i also found that in order to use the code
<?php SimpleNews::NewsList(); ?>
you must also change the "public function" to "public static function" in the core/modules/SimpleNews/SimpleNews.php i believe there is 4 lines to edit
but when i click on the news to read it it takes me to the news page and gives me this
Fatal error: Using $this when not in object context in public_html/core/modules/SimpleNews/SimpleNews.php on line 39
-
This is how I fixed my strict standard errors when converting to 5.5
Open core/common/NewsData.class
Find public function and replace it with public static function. Most cases there are several lines that need to be replaced.
but did you change the .tpl files to .php?
-
What errors?
I get strict standards errors when i change the .tpl files to .php
Strict Standards: Non-static method NewsData::GetNews() should not be called statically, assuming $this from incompatible context in public_html/core/modules/SimpleNews/SimpleNews.php
Strict Standards: Non-static method NewsData::Truncate() should not be called statically, assuming $this from incompatible context in public_html/core/templates/simplenews_page.php
Strict Standards: Non-static method NewsData::IsNextPage() should not be called statically, assuming $this from incompatible context in public_html/core/templates/simplenews_page.php
Strict Standards: Non-static method NewsData::CountPages() should not be called statically, assuming $this from incompatible context in public_html/core/common/NewsData.class.php
when not changed i get this
Strict Standards: Non-static method NewsData::GetNews() should not be called statically, assuming $this from incompatible context in public_html/core/modules/SimpleNews/SimpleNews.php on line 18
Notice: The template file "public_html/core/templates/simplenews_page.php" doesn't exist in public_html/core/classes/TemplateSet.class.php on line 231
Pan American Virtual
in Virtual Airlines Discussion
Posted
I get the same thing. I can actually see the root files of your website