gio1961
-
Posts
252 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by gio1961
-
-
43 minutes ago, COA142 said:
When I type in my database name, usernames and password when i hit next it comes up with this error. I am trying to install PHPVMS v5.5.2.72 my web host is running PHP version: 7.3.6 any ideas
"Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/flyeaste/public_html/core/classes/ezdb/ezdb_mysql.class.php:98 Stack trace: #0 /home/flyeaste/public_html/core/classes/ezdb/ezdb.class.php(196): ezDB_mysql->connect('flyeaste_EAL100...', ')xcKNSGz&nmm', 'localhost', 'utf8') #1 /home/flyeaste/public_html/install/includes/Installer.class.php(148): DB::connect('flyeaste_EAL100...', ')xcKNSGz&nmm', 'flyeaste_phpvms', 'localhost') #2 /home/flyeaste/public_html/install/install.php(49): Installer::AddTables() #3 {main} thrown in /home/flyeaste/public_html/core/classes/ezdb/ezdb_mysql.class.php on line 98"
-
5 minutes ago, RhysHutch said:
What version do i need then, i need it to be compatable with TFDi's smartCARS.
You can install the David version (php compatible up to 5.6) https://github.com/DavidJClark/phpvms_5.5.x
Or the version of ProAvia which is compatible up to version 7.2
https://github.com/ProAviaAZ/phpvms_5.5.2.72
With the version of David TFDi's smartCARS it works perfectly, as already tried in different V.A.
But it should also work with the version of ProAvia
-
43 minutes ago, RhysHutch said:
Hi,
I'm using the download link for phpVMS 5 and the zip is called phpvms-v2-classic
PHP version is PHP 7.3
MySQL versions is MySQL 5.7.
https://forum.phpvms.net/files/file/6-phpvms-50-classic/
This is the phpVMS classic version, compatible with PHP 5.3+ (it was updated to support PHp 5.3/5.6/7.x). This isn't updated anymore.
-
20 hours ago, Doonies said:
Try going to your url, but add index.php/login at the end.
Then do as ProAvia says above. Enter your phpvms_settings database and edit the skin
-
3 hours ago, djtiger76 said:
Cleared everything in the settings. Still blue screen with no login option. Can i delete the skin and it goes back to the Crystal or will I have to install the whole thing (phpvms) again?
Surely you are logged in, so try typing in the address bar: eg: www.test.com/admin/
you should enter the admin panel and in the skin settings assign Crystal -
12 minutes ago, Doonies said:
Thanks for the dasboard tip, it worked.
I already added the API key to local.config.php in the core folder, but it didn't do anything. Is that all I had to do in terms of the crewcenter part? If it is, I'll have to check out my actual key, maybe something is wrong with it.
You also entered the key in the core_htmlhead.php file located in core / templates.
https://forum.phpvms.net/topic/23604-google-maps-api-key/
For the spelling mistake, you need to open the app_top.php and profile_main.php files -
7 hours ago, nicky9499 said:
The bottom right says Version 2.1.936. I'm aware there is a 5.x number as well but this is nowhere to be found in the UI so this is the only concrete answer, especially since there are so many other downloads besides the one here.
php 5.6
icrewlite downloaded from the download repository here too.
the 5.5 version of phpvms that you find here :
https://github.com/DavidJClark/phpvms_5.5.x
or this
https://github.com/ProAviaAZ/phpvms_5.5.2.72 -
2 hours ago, nicky9499 said:
Gday gents,
I'm quite new to skinning so please be patient. Have tried googling for this issue but nothing concrete came up.
Right after install and having setup the config file, this following error is shown at the site's header.
Notice: The template file "/home/singap08/public_html/operations//lib/skins/iCrewLITE/header.tpl" doesn't exist in /home/singap08/public_html/operations/core/classes/TemplateSet.class.php on line 248
operations.singaporevirtualairlines.org
Can someone advise please? Thank you.
Try to see here: https://forum.phpvms.net/topic/26893-about-firecrew3/?tab=comments#comment-136767
-
58 minutes ago, ProAvia said:
What version of phpVMS?
What version of PHP?
Where did you download the skin from ... URL?
Hi, the link is this. http://www.airlinevirtual.com/index.php/ According to the skin it was installed incorrectly, references to css files are missing. I wrote to him privately because he didn't write here, now it works
-
Hi guys, who has a working version in * .tpl format for phpVMS Version 2.1.934 -phpVMS Version 2.1.936
I tried to download this version but it doesn't work
https://github.com/Vansers/phpVMS_vStaff/archive/tpl_version.zip
I tried to insert the data manually in the database but I get error # 1062 - Duplicate entry '1' for key 'PRIMARY'
thanks for those who want to help me -
On 1/25/2017 at 7:35 PM, Kyle said:
Give this a whirl, not tested. Let me know if it's working. 😉
<h3><?php echo $title ;?></h3> <?php # Grab the airlines we have in the system. $airlines = OperationsData::getAllAirlines(true); # Now let's loop the airlines. foreach ($airlines as $airline) { $pilots = PilotData::findPilots(['code' => $airline->code]); if(!$pilots) { echo '<tr><td align="center" colspan="5">There are no pilots!</td></tr>'; return; } else { ?> <h4><?php echo $airline->name;?></h4> <table width="100%"> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <?php foreach($pilots as $pilot) { ?> <tr> <td align="center"><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td width="1%" nowrap> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td align="center"><img src="<?php $rank = PilotListData::rank($pilot->rank); echo $rank->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td align="center"><?php echo $pilot->totalflights?></td> <td align="center"><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <?php } } ?> </table> <?php } ?>
Hello guys, help if possible.
How to display the list of pilots only of a specific company, es code "RAD".$pilots = PilotData::findPilots(['code' => $airline->code]);
Thanks for a possible reply -
19 hours ago, sayedzaafir said:
still the same bro
then try: open the layout.php file, find
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '20%' // optional
});
});
</script>change with
<script>
$(function () {
$('input').iCheck({
labelHover: false,
cursor: true
});
</script> -
On 9/21/2019 at 2:00 PM, sayedzaafir said:
i also have same issue ,,where to put it
hello .. open the layout.php file, find the code there
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '20%' // optional
});
});
</script>do not make any changes
open the file login_form.php find
<input type = "checkbox" name = "remember"> Remember Me
and replace it with<input type="checkbox" name="remember" />
<label>Remember Me?</label>It should work...
-
Hi, try to see if this could interest you
-
What phpvms version do you have installed?
IMPORANT: This skin was made for phpVMS 5.5x.https://forum.phpvms.net/topic/25606-free-elaskin-2018-designed-for-phpvms/
-
12 hours ago, BenjyGamer said:
I went to check one last time before I reinstalled phpVMS and everything worked again. I don't know why but it has saved me a lot of work. Thanks for the help anyway.
Hello. I tried to register with your V.A.
Once all the data has been entered, clicked on Register, the site has returned a blank page. I guess there's something wrong with the registration page. Try it yourself and see if you receive the data by email.
Greetings -
Hello. I'm not 100% sure but it doesn't seem like a CSS problem but a profile_main.php file.I wanted to try to register on the site https://welshairways.com (this should be yours) to see how it looks and resolve, if I could, the error but at the time of registration to the site I received the following error
Error Registering
Cannot add or update a child row: a foreign key constraint fails (`benjygam_pilotcentre`.`phpvms_pilots`, CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE)
I think part of the code below is missing (file registration_mainform.php)
<div class="form-group">
<select name="code" id="code" class="form-control">
<?php
foreach($allairlines as $airline)
{
echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>';
}
?>
</select>
</div>
<div class="form-group">
<select name="hub" id="hub" class="form-control">
<?php
foreach($allhubs as $hub)
{
echo '<option value="'.$hub->icao.'">'.$hub->icao.' - ' . $hub->name .'</option>';
}
?>
</select>
</div>
I think you have to double check the whole site.
Greetings -
Hi guys it's 2-3 days that I have this problem with the google map. It only appears if used as a Firefox browser (I deleted cache and history but the problem persists). On Chrome and IE the map works perfectly.
Thanks for a possible reply. -
thanks to Vangelis resolve:
<?php
$country = OperationsData::getAirportInfo($route->depicao);?>
<img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower ($country->country);?>.png" width="24" />
-
57 minutes ago, LeonardIGO4036 said:
Do you have the country image files located in the lib folder?
Try to test it, open the image on a new tab maybe. If the images don't exist, download the original copy of phpVMS, it'll have the images If the image exists and is not loading, then there is some other issue.
Regards
Thank you for answering .The images are there, otherwise you will not see them on the other pages of my test site.
-
Hi guys, I have this code but the flag is not displayed.
Any help is welcome. Thank you<?php
$country = OperationsData::getAirportInfo($route->depicao);
$imgicao = array_search($country->country, Countries::$countries);
?>
<img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower($imgicao);?>.png" alt="<?php echo strtolower($imgicao);?>" />
<a href="<?php echo SITE_URL?>/index.php/airports/get_airport?icao=<?php echo $route->depicao ?>" target="_blank"><?php echo $route->depicao;?></a> (<?php echo $route->deptime; ?>)
</strong>example image
-
25 minutes ago, FlightDeckPMI said:
Hi, i've been looking for the original download of mark swan's crew center, but the link doesn't seem to work anymore. Does anyone have an original copy to share?
Thanks in advance!
-
I solved Thanks also "Parkho" I found a post on the forum:
I added "OperationsData.class.php":
public static function GetAircraftById($id)
{
$sql="SELECT * FROM phpvms_aircraft WHERE id='$id' ";
return DB::get_row($sql);
}Code:
<?php
$pilotid = Auth::$userinfo->pilotid;
$reports = PIREPData::getLastReports($pilotid, 5,'');?>
*****
<h4>My Latest 5 Flights</h4>
<table id="tabledlist" class="tablesorter table table-hover" ellspacing="0" width="100%">
<tr>
<th>Flight Number</th>
<th>Aircraft</th>
<th>Departure</th>
<th>Arrival</th>
<th>Flight Time</th>
<th>Landing rate</th>
<th>Date</th>
<th>Status</th>
</tr><?php
if($reports)
foreach($reports as $report)
{
?>
<tr>
<td><a href="<?php echo url('/pireps/view/'.$report->pirepid);?>"><?php echo $report->code . $report->flightnum; ?></a></td>
<td><?php
$aircraft = OperationsData::getAircraftById($report->aircraft);
echo $aircraft->fullname;
echo " ( ";
echo $aircraft->registration;
echo " ) ";
?>
</td><td><?php echo $report->depicao;?>
</td>
<td><?php echo $report->arricao;?>
</td>
<td><?php echo $report->flighttime; ?></td>
<td><?php echo $report->landingrate; ?> ft/min</td>
<td><?php echo date(DATE_FORMAT, strtotime($report->submitdate)); ?></td>
<td><?php
if($report->accepted == PIREP_ACCEPTED)
echo '<span class="label label-success"><font color="#fff">Accepted</font></span>';
elseif($report->accepted == PIREP_REJECTED)
echo '<span class="label label-danger"><font color="#fff">Rejected</font></span>';
elseif($report->accepted == PIREP_PENDING)
echo '<span class="label label-warning"><font color="#000">Approval Pending</font></span>';
elseif($report->accepted == PIREP_INPROGRESS)
echo '<span class="label label-warning"><font color="#000">Flight in Progress</font></span>';
}
?>
</td>
</tr>
</table> -
13 hours ago, Mickey said:
Hi,
Please can somebody help? I have searched all over and cant find the answer to resolve my issue.
I have the issue of when I try to book a flight through this, the pop up box to select registration of aircraft quickly flashes and disappears. I have tried various of recommendations on other topics and none help?
Ocean Blue v3.0.1 coding problem w/ php 7.2
in Support Forum
Posted
How to solve the "Warning: count (): Parameter must be ..." problem
I did a google search and many websites have this error. Surely they have installed higher php7.x on their servers
I remember I said making a change