-
Posts
17 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by mix
-
-
as joeri said you only need to create 360 images, the originals you can find at /lib/images/inair
-
Hi,
I followed all the instructions and doesn't work . when everything done i've got that :
Parse error: syntax error, unexpected T_PUBLIC in /home/skyteama/public_html/core/common/SchedulesData.class.php on line 1076
Why?
I found the problem (I do the same error here kkkk)
Be careful when editing the SchedulesData.class.php on the last line we have a ¨} ¨ place the code before it.
The original:
/** * Search schedules by the equipment type * * @deprecated */ /*public static function getSchedulesByEquip($ac, $onlyenabled = true, $start='', $limit='') { $params = array('a.name' => $ac); if($onlyenabled) $params['s.enabled'] = '1'; return self::findSchedules($params, $limit, $start); }*/ }
The new one will be like this:
/** * Search schedules by the equipment type * * @deprecated */ /*public static function getSchedulesByEquip($ac, $onlyenabled = true, $start='', $limit='') { $params = array('a.name' => $ac); if($onlyenabled) $params['s.enabled'] = '1'; return self::findSchedules($params, $limit, $start); }*/ /** * Get the total number of schedules based on criterea for charters * * @param array $params key => value list * @return int Returns the total number * */ public static function CountCharterSchedules($icao, $price) { //Count schedules $query = "SELECT * FROM ".TABLE_PREFIX."schedules WHERE price = '".$price."' AND code = '".$icao."'"; $results = DB::get_results($query); return DB::num_rows($results); } }
- 1
-
ΚaλησπÎÏa,
Check this.
In this link, we just have old versions, Kyle made ​​many updates that are not present.
-
I get the odd anomaly every now and again about an unformatted character but it never effects anything and at always runs right for me either using the url or as a cron.
After Cron job, my site show MySql errors.
I reinstalled the PHPVMS.
Problem Solved!
-
The maintenance script has damaged most of the tables. so I decided to reinstall the system.
ps. I tried to restore the tables but were not successful.
-
When trying to access my site was receiving this message, I went into my database and noticed that the table was showing phpvm_settings error, I used a backup to restore the table, but keep getting this message:
Notice: The template file "/home/mixavia/public_html//lib/skins/CURRENT_SKIN/header.tpl" doesn't exist in /home/mixavia/public_html/core/classes/TemplateSet.class.php on line 248 Recent Reports No reports have been filed Newest Pilots Warning: Invalid argument supplied for foreach() in /home/mixavia/public_html/core/templates/frontpage_recentpilots.tpl on line 3 Users Online There have been 0 user(s), and 2 guest(s) online in the past 20 minutes. Notice: The template file "/home/mixavia/public_html//lib/skins/CURRENT_SKIN/footer.tpl" doesn't exist in /home/mixavia/public_html/core/classes/TemplateSet.class.php on line 248
Update:this problem occurred after the cron job ( php -f /home/mixavia/public_html/admin/maintenance.php ).
-
Hi Mix. There is a thread in the addons/releases thread for an airport table. It might be in the Simpilot thread too. A quick search will reveal the truth.
Sorry! I searched for "Airports List" and not found something interesting.
-
I need a destinations list. I think is only one code to show all register airports.
Anyone know how?
-
try this
<ul class="login"> <li class="left"> </li> <li><?php if(Auth::LoggedIn() == false){ echo 'Olá Visitante!'; }else{ echo 'Olá '.Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname; } ?>
Perfect!
Thanks!
-
In my site I have this code:
<ul class="login"> <li class="left"> </li> <li><?php if(Auth::LoggedIn() == false){ echo 'Olá Visitante!'; }else{ echo 'Olá ' .PilotData::GetPilotCode(Auth::$userinfo->firstname, Auth::$userinfo->firstname); } ?>
But they show:
What changes should I do to remove the four zeros ?
-
I get:
[{"id":"13","pilotid":"MXN0002","flightnum":"MXN3054","pilotname":"Diogo Ihle","aircraft":"PR-FUM","lat":"-22.33509718118","lng":"-49.06859841701","heading":"317","alt":"2011","gs":"173","depicao":"SBBU","depapt":"Aeroporto de Bauru","arricao":"SBMT","arrapt":"Aeroporto Campo de Marte","deptime":"14:53:00","timeremaining":"0:55","arrtime":"12:54:08","route":"PORTE A304 CPN DCT","route_details":[],"distremain":"159","phasedetail":"Taking Off","online":"","lastupdate":"2010-10-09 12:54:08","client":"kACARS","aircraftname":"EMB-120","code":"MXN","firstname":"Diogo","lastname":"Ihle","depname":"Aeroporto de Bauru","deplat":"-22.345","deplng":"-49.0538","arrname":"Aeroporto Campo de Marte","arrlat":"-23.5091","arrlng":"-46.6378","distremaining":"159"}]
-
>> Always:
Alerta: Erro no processamento do valor de “topâ€. Declaração ignorada. Arquivo-fonte: http://www.mixaviation.tk/lib/css/phpvms.css Linha: 40
Alerta: Erro no processamento do valor de “filterâ€. Declaração ignorada. Arquivo-fonte: http://www.mixaviation.tk/lib/css/phpvms.css Linha: 67
Translate:
Warning: Error in processing the value of "top". Declaration dropped. Source file: http://www.mixaviation.tk/lib/css/phpvms.css Line: 40
Warning: Error in processing the value of "filter". Declaration dropped. Source file: http://www.mixaviation.tk/lib/css/phpvms.css Line: 67
>> Once:
Erro: data is null Arquivo-fonte: http://www.mixaviation.tk/lib/js/acarsmap.js Linha: 70
I repeat the test 5 times.
Thanks for the help so far
-
I changed the map file by the original,
surfing on the PHPMyAdmin I found something interesting,
if I click: 288225 ( Database Name ) > phpvms_acarsdata browse
I see the pilots
but I click: 288225 ( Database Name ) > phpvms_acarsdata structure > online browse
I do not see them :S
-
could you plz look in the database and see iff the info is send to it
-
Checking PHP version [OK] PHP version is 5.2.13.x ASP Tags [OK] ASP-style tags are disabled Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [OK] No errors found! -- Checked 183 files, found 0 errors
-
EN
The planes are not assessed on the map, using Dolomynum, I see the aircraft flying on IVAO.
Anyone have a guess of what might be, because before the planes appeared on the map, not anymore. What files will be responsible for the map which replaced can solve the problem?
PT-BR
Os avioes não estão aprecendo no mapa, usando o Dolomynum, consigo ver as aeronaves voando na IVAO.
Alguem tem um palpite do que possa ser, pois antes os avioes apareciam no mapa, agora não mais. Quais os arquivos responsaveis pelo mapa será que subistituindo possa resolver o problema?
Add Pireps to Pilot Main Profile
in Support Forum
Posted
Here is a start, but we need to improve a bit to get some more information.
/core/modules/Profile/Profile.php