-
Posts
1646 -
Joined
-
Last visited
-
Days Won
71
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by ProAvia
-
-
What skin are you attempting to use?
Version 2.x uses .tpl files in the skins folder. Version 5.5.2 uses .php files in the skins folder. If using a skin for a version you aren't using, you may have to convert the file content and file name to refer to the correct file extension (for instance - change all references of tpl to php). A few of the "crew center" type skins contain files for either version.
If you have it installed and working with the default skin, you're half way there. Don't forget, any files in /core/templates that you modify should be placed in the .../skins/<name of skin>/ folder - but check to make sure there isn't a file of that name there already (if there is, use that file to modify for your needs instead of the one in the /core/templates folder.
EDIT - I see you posted in the iCrew Lite thread. If that's the skin you want to use, best to contact the developer directly through that thread.
-
Here's a link to version 5.5.2 that I have installed
https://github.com/DavidJClark/phpvms_5.5.x
The version that I linked to previously should work in php 5.6 also.
-
Try this download of phpVMS. It's supposed to work with newer versions of php. It says phpVMS 5.0 Classic, but the download is an updated version 2.
phpVMS 5.5.2 works with some versions of php 5. My site is presently using this version of phpVMS and php 5.6.18
What versions of php will your Wordpress work with?
-
phpVMS version 7 is still in development and probably shouldn't be used for a live site. I'd recommend you use version 2.x or version 5.5.2 for now. Using version 7 on a live site is just asking for trouble - wait to upgrade until after it's released.
-
Did any of the tables in the database populate?
/home/anthroai/public_html/Crew/phpvms/core/classes/ezdb/ezdb_mysql.class.php on line 98
Here's my line 98
$this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword, true);
The function is trying to connect to MySQL - but not a database. It's possible that it's not able to access your MySQL - maybe something to due with your hosting settings??
-
Free or paid hosting?
Did you set up the database first?
-
Glad you got it working
-
With my host, there is a menu item in CPanel under Advanced called Cron jobs. This is where you would set up the cron job. The command to enter there is the one in your first post --- php -f /home/canadaai/public_html/admin/maintenance.php
In local.config.php you have to have Config::Set('USE_CRON', true);
That should work - but you will have to find how to enter the cron job with your host if you don't have CPanel access
-
If all times are already in UTC, there is no need to change the times. UTC stays the same year round and is not predicated on summer/winter time changes.
-
You probably haven't received a response because VA owners are using customized skins for their phpVMS install - and each skin would likely include different options. So having a basic video to help your pilots navigate your site would be something you would need to put together yourself - and be based on the skin you are using.
Are you using an automated ACARS system to allow your pilots to log their flights?
Site navigation should be pretty easy and most members will figure it out quickly.
-
VACentral - where the look up data was located - has been down for quite some time. No telling when it will be back. My guess is it won't be available until sometime after phpVMS 7 is released. As I mentioned, Skyvector or maybe one of the other aviation sites is the easiest place to look up lat/long for now.
The geonames.org server is still available, but now you have to pay to access the data there.
-
The airport look up server is unavailable at this time. You can look up the lat/long at sites like Skyvector and enter them manually.
-
On 9/7/2018 at 12:56 PM, Heritage1 said:
Following Nabeel's instructions way back, I did manage to get the phpvms default acars map switched over to Leaflet, and it works Great, thanks again Nabeel !
Here's the link to view; http://seairtransport.net/crewcenter/index.php/acars
Looks great in Chrome - doesn't show map in IE11
-
File/folder read/write permissions?
-
File permissions issue?
Host settings issue? - I'm leaning to your host. It worked on old host and now doesn't on new host. I have no idea what to search for or what to ask them though.
-
Have you tried installing a fresh copy along side your existing one? Maybe make a copy of the DB and tie that copy to the new install - after making sure the new install works with a fresh DB.
-
phpVMS version? SimPilot 5.5.2 or something else?
I'm not sure why it is submitting the PIREP (email of submittal being received) and not showing in the DB.
I'm using 5.5.2, kACARSII custom, php 5.6.18 and haven't had any issues. Maybe something with the DB or possibly one of the associated files.
-
I'm guessing you fixed the first error by changing CodonEvent.class.php line 104 (for version 5.5.2) from public function to public static function....
What version of phpVMS are you using?
Have you tried using kACARS_Free to see if the same issue occurs?
Anything in the error log on the Admin side?
-
Glad you got it working!
-
Sorry, I messed up the copy/paste in my previous response. Here's the correct one....
href="<?php echo url('/schedules/addbid/?id='.$schedule->id);?>">Add to Bid</a>
Notice the "id" after ".$schedule->"
Hopefully that works for you
-
I believe we are using an addon module for schedule search. And that is why my schedule_results.php file has more lines.
In any case, in both your code snippets, make the href= line after "if (Auth: :LoggedIn( ) )" the same as my last code snippet - and see if that fixes the issue.
From
if(Auth::LoggedIn()) { ?> <a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> <?php }
To
if (Auth::LoggedIn()) { ?><a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid/?id='.$schedule->);?>">Add to Bid</a> <?php }
EDIT - see 2 posts down for correct code
-
This worked for me - but YMMV.....
Look in schedule_results.php on about line 103. Edit the file in your chosen skin folder - if it's not in your chosen skin folder, use the file in core/templates and place in your chosen skin folder.
If yours is
href="<?php echo url('/schedules/addbid');?>">Add to Bid</a>
Change it to
href="<?php echo url('/schedules/addbid/?id='.$schedule->id);?>">Add to Bid</a>
Back up your original file first......
-
What does line 3 in 'frontpage_recentpilots.php' say?
-
If you access the database, phpvms_settings table (default table name) - you should be able to change the skin name there. Installed skin names are in lib/skins.
All Acars Not Working
in Support Forum
Posted · Edited by ProAvia
Yes, something is wrong with your install and/or website.
What are the specific errors for each of the ACARS programs you tried? Be specific and list the errors here.
Are you on paid or free hosting?