Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Commit 4d7c66b

Browse files
author
nshahzad
committed
post-release cleanup
git-svn-id: file:///var/svn/phpvms/trunk@927 e188d3d8-5a48-0410-b2de-ed2772025908
1 parent 0af0abe commit 4d7c66b

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

core/logs/log.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
=====
2+
Time:
3+
=====
4+
Time: 04.19.10 14:03:35
5+
Backtrace: DB::write_debug > DB::get_results > StatsData::TotalFlightsToday > include > TemplateSet->getTemplate > TemplateSet->showTemplate > Template::show > CodonModule->render > Dashboard->index > call_user_func_array > MainController::RunAllActions
6+
Query: SELECT COUNT(*) AS `total` FROM phpvms_pirepsDATE(`submitdate`) = CURDATE()
7+
Error: (1064) - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(`submitdate`) = CURDATE()' at line 1
8+
=====
9+
10+
11+
=====
12+

install/install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
$revision = file_get_contents(dirname(dirname(__FILE__)).'/core/version');
2424

2525
define('ADMIN_PANEL', true);
26-
define('INSTALLER_VERSION', '2.0.'.$revision);
26+
define('INSTALLER_VERSION', '2.1.'.$revision);
2727

2828
include dirname(__FILE__).'/loader.inc.php';
2929

install/update.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
# phpVMS Updater
2727
$revision = file_get_contents(dirname(dirname(__FILE__)).'/core/version');
28-
define('INSTALLER_VERSION', '2.0.'.$revision);
29-
define('UPDATE_VERSION', '2.0.'.$revision);
28+
define('INSTALLER_VERSION', '2.1.'.$revision);
29+
define('UPDATE_VERSION', '2.1.'.$revision);
3030
define('REVISION', $revision);
3131

3232
Template::SetTemplatePath(SITE_ROOT.'/install/templates');

install/update.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ALTER TABLE `phpvms_schedules` ADD `route_details` TEXT NOT NULL AFTER `route`;
3838

3939
-- Aircraft account for ranks;
4040
ALTER TABLE `phpvms_aircraft` ADD `minrank` INT NOT NULL DEFAULT '0' AFTER `maxcargo`;
41-
ALTER TABLE `phpvms_aircraft` ADD `ranklevel` INT NOT NULL DEFAULT '0' AFTER `minrank`
41+
ALTER TABLE `phpvms_aircraft` ADD `ranklevel` INT NOT NULL DEFAULT '0' AFTER `minrank` ;
4242

4343
-- Remove deprecated settings;
4444
DELETE FROM `phpvms_settings` WHERE `name='PHPVMS_VERSION';

0 commit comments

Comments
 (0)