mitcheinfo
-
Posts
95 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by mitcheinfo
-
-
No longer get the error, but neither mapping information.
In download flight plan goes empty
-
The problem is in the variable string I pass manually and no longer get the error.
any solution
$epoch = (string) $info->times[0]->sched_out;
$epoch = 1344988800;
$dt = new DateTime("@$epoch");
// $dt = new DateTime('@'.$epoch); // convert UNIX timestamp to PHP DateTime
echo $dt->format('H:i'); // output = 2012-08-15 00:00:00
-
$epoch = (string) $info->times[0]->sched_out;
$dt = new DateTime('@'.$epoch); // convert UNIX timestamp to PHP DateTime
echo $dt->format('H:i'); // output = 2012-08-15 00:00:00
-
The error still continues, moved the 3 lines
Lines, 64, 69 and 76
$dt = new DateTime('@'.$epoch); // convert UNIX timestamp to PHP DateTime
-
$dt = new DateTime("@$epoch"); // convert UNIX timestamp to PHP DateTime
-
Hi Vangelis one help please
Version simpilot 5.5.1
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character' in /homepages/10/d328219951/htdocs/core/templates/SimBrief/SimBrief.php:64 Stack trace: #0 /homepages/10/d328219951/htdocs/core/templates/SimBrief/SimBrief.php(64): DateTime->__construct('@') #1 /homepages/10/d328219951/htdocs/core/classes/TemplateSet.class.php(238): include('/homepages/10/d...') #2 /homepages/10/d328219951/htdocs/core/classes/TemplateSet.class.php(181): TemplateSet->getTemplate('SimBrief/SimBri...', false, true, false) #3 /homepages/10/d328219951/htdocs/core/classes/Template.class.php(82): TemplateSet->showTemplate('SimBrief/SimBri...') #4 /homepages/10/d328219951/htdocs/core/classes/CodonModule.class.php(92): Template::show('SimBrief/SimBri...') #5 /homepages/10/d328219951/htdocs/core/modules/SimBrief/SimBrief.php(12): CodonModule->render('SimBrief/SimBri...') #6 [internal function]: SimBrief->index() #7 /homepages/10/d328219951/htdocs/core/classes/M in /homepages/10/d328219951/htdocs/core/templates/SimBrief/SimBrief.php on line 64
-
Clicking save me out :
Strict Standards: Non-static method PirepAcData::editSettings() should not be called statically, assuming $this from incompatible context in /homepages/10/d328219951/htdocs/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 135
I`m sorry forgive, and arrange.
public function editSettings($setting_id,$moduleenabled,$landing_rate, $send_mail_to_admin, $send_mail_to_pilot, $admin_code)
Change
public static function editSettings($setting_id,$moduleenabled,$landing_rate, $send_mail_to_admin, $send_mail_to_pilot, $admin_code)
-
I'm with the PHP version and not the TPL.
With passing Static no longer get the error, thank you very much
Simpilot 5.5.1
mysqlnd 5.0.10
-
Hi Vangelis, one help please
Strict Standards: Non-static method PirepAcData::get_criteria() should not be called statically, assuming $this from incompatible context in/homepages/10/d328219951/htdocs/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 52
and
Strict Standards: Non-static method PirepAcData::get_settings() should not be called statically, assuming $this from incompatible context in/homepages/10/d328219951/htdocs/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 54
Tanks
-
What I have already solved,
PilotData.class
if (Config::Get('TRANSFER_HOURS_IN_RANKS') === true) {
$totalhours = $pilot->totalhours + $pilot->transferhours;
} else {
$totalhours = $pilot->totalhours + $pilot->transferhours;
}
# Configure what we want to show on each line
$output = array();
$output[] = $pilotcode . ' ' . $pilot->firstname . ' ' . $pilot->lastname;
$output[] = $pilot->rank . ', ' . $pilot->hub;
$output[] = 'Total Flights: ' . (floatval($pilot->totalflights) + floatval($pilot->payadjust));
$output[] = 'Total Hours: ' . $totalhours;
-
Sorry but I do not fit, the rank does not update and flight number.
An example is my signature. is the correct:
Total Flight 740
Total Hours 1428.99
-
any suggestions
-
Hi all, I need help.
We've cleaned up the database PIREPs, but now it seems that every time a pilot reports a flight number and time of flight pilot started from scratch.
You know how I can fix to keep adding, and changing table pilot but a new flight report back to the counter.
Thank You
-
change
Config::Set('PAGE_ENCODING', 'ISO-8859-1');
Config::Set('DB_CHARSET_NAME', 'ISO-8859-1');
-
Hello Vangelis
When will approve or edit for PIREP I get this error?
Notice: The template file "/homepages/10/d328219951/htdocs/admin/templates/fsfk_log_flightimages.php" doesn't exist in /homepages/10/d328219951/htdocs/core/classes/TemplateSet.class.php on line 231
if (!file_exists($tpl_path)) {
trigger_error('The template file "' . $tpl_path . '" doesn\'t exist');
return false;
}
-
Thank you very much Vangelis
Now it works correctly.
-
Hi
I recently migrated the database to a new and a fresh installation of phpvms system.
We import all information to the new databases.
When reporting a new flight database drivers do not respect the imported hours.
You know how I can fix it? MySQL5 version
Forgive my English
thank you very much
-
I'm looking for that information, but not to this?
I am not real familiar with FSFK but I did get the images all working in phpvms some time ago and I have never come across this message. I am assuming it shows up in the FSFK client as I do not see where it would come from on the script side after a quick look. I guess I would ask if using or not using the code part of the flight number makes a difference? Is there any error log form the site, either the phpvms error log or the server error log? If it is not finding the flight number I would imagine the error starts around this in the controller for FSFK
??? This part of the code does not match????
$flightinfo = SchedulesData::getProperFlightNum($xml->FlightNumber);
$code = $flightinfo['code'];
$flightnum = $flightinfo['flightnum'];
-
Is using, or not using the code part of the flight number make a difference?
Is there any error log form the site, either the phpvms error log or the server error log?
Thank you
-
Please do not find the information requested by simpilot.
Someone can tell me where to find the information?
-
Where I can look at that code?
So you step all the necessary information.
-
Changed and is still the same error: Schedule does not exist. Please update this manually.
Change
#Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms');
Config::Set('AIRPORT_LOOKUP_SERVER', 'geonames');
-
Code local.config
-
Look at the way you code app.config
Sim Brief for phpvms
in Releases
Posted
Thank you very much
And review all the lines and to correct.