Jump to content

Getting a blank page (solved)


5SA CEO

Recommended Posts

Hi guys,

more issue, today I uploaded some jps of ranks to the lib/ranks file no issue. a while later I need to go and check the site and add the ranks but all I got was a blank page.

http://5starvirtualaviation.com/phpvms/'>http://5starvirtualaviation.com/phpvms/

I have checked with my host provider and there is no issues with the server and php is running ok, but I cannot get to login.

We are also having an issue with a connection error with kACARS which has been happening for a couple of days now.

I hope to get these sorted so we can move forward.

Thanks for your support.

Deano

5SA389

5SA0001

http://5starvirtualaviation.com

5 Star Virtual Avaiation CEO

Link to comment
Share on other sites

Results install checker are

phpVMS Build Number: 934

Checking PHP version

[OK] PHP version is 5.2.16.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

results for db checker are:

another blank page :huh:

Deano

Link to comment
Share on other sites

  • Administrators

DB Check is a blank page? Interesting

Open up checkdb.php, and right before this line:

include '../core/codon.config.php';

Can you add:

error_reporting(E^ALL);
ini_set('display_errors', 'on');

And then open that in your browser - does it say anything?

Link to comment
Share on other sites

HI,

so I did a complete re-install and all was good, so added all the ranks, fleet & schedules all good, however when I went and chenged local.config.php

line 34 Config::Set('PILOTID_LENGTH', 4); changed to 3

line 54 Config::Set('TRANSFER_HOURS_IN_RANKS', false); changed to true

saved the file and then went to the site and guess what = blank page = :(

so I went back in and changed them back to the default and saved the file again. went back to the site and guess what = blank page = :(

So I can only guess that the local.config.php is the issue.??

Link to comment
Share on other sites

<?php

/**

* This is the phpVMS Main Configuration File

*

* This file won't be modified/touched by future versions

* of phpVMS, you can change your settings here

*

* There may also be additional settings in app.config.php

* To change it, copy the line into this file here, for the

* settings to take effect

*

*/

define('DBASE_USER', 'fivstar6_admin1');

define('DBASE_PASS', '*********');

define('DBASE_NAME', 'fivstar6_phpvms');

define('DBASE_SERVER', 'localhost');

define('DBASE_TYPE', 'mysql');

define('TABLE_PREFIX', 'phpvms_');

define('SITE_URL', 'http://5starvirtualaviation.com/phpvms');

# Page encoding options

Config::Set('PAGE_ENCODING', 'ISO-8859-1');

# Maintenance mode - this disables the site to non-admins

Config::Set('MAINTENANCE_MODE', false);

Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');

# See more details about these in the docs

Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP

Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from

Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID

Config::Set('UNITS', 'nm'); # Your units: nm, mi or km

Config::Set('LOAD_FACTOR', '82'); # %age load factor

Config::Set('CARGO_UNITS', 'lbs');

# After how long to mark a pilot inactive, in days

Config::Set('PILOT_AUTO_RETIRE', true);

Config::Set('PILOT_INACTIVE_TIME', 90);

# Automatically confirm pilots?

Config::Set('PILOT_AUTO_CONFIRM', false);

# Automatically calculate ranks?

Config::Set('RANKS_AUTOCALCULATE', true);

# For how many hours a pilot can edit their submitted PIREP (custom fields only)

Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48');

# If someone places a bid, whether to disable that or not

Config::Set('DISABLE_SCHED_ON_BID', true);

Config::Set('DISABLE_BIDS_ON_BID', false);

# If you want to count transfer hours in rank calculations

Config::Set('TRANSFER_HOURS_IN_RANKS', false);

# The StatsData::UserOnline() function - how many minutes to check

Config::Set('USERS_ONLINE_TIME', 20);

# Google Map Options

Config::Set('MAP_WIDTH', '800px');

Config::Set('MAP_HEIGHT', '600px');

# Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP

Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');

Config::Set('MAP_LINE_COLOR', '#ff0000');

Config::Set('MAP_CENTER_LAT', '45.484400');

Config::Set('MAP_CENTER_LNG', '-62.334821');

Config::Set('MAP_ZOOM_LEVEL', 12);

# ACARS options

# Minutes, flights to show on the ACARS

# Default is 720 minutes (12 hours)

Config::Set('ACARS_LIVE_TIME', 720);

Config::Set('ACARS_DEBUG', false);

/*

This is the unit of money. For non-dollars, use :

Dollars ($), enter "$"

Euro (

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...