Jump to content

ProAvia

Administrators
  • Posts

    1646
  • Joined

  • Last visited

  • Days Won

    71

Posts posted by ProAvia

  1. 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.

  2. 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?

  3. 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.

  4. 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??

  5. 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

  6. 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.

     

  7. 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.

  8. 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.

  9. 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?

  10. 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

  11. 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......

×
×
  • Create New...