Jump to content

KenG

Members
  • Content Count

    57
  • Joined

  • Last visited

Community Reputation

1 Neutral

About KenG

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    USA

Recent Profile Visitors

1071 profile views
  1. Thank you for your help. I am still reeling about the css was looking to find the code inside a table to work correctly. Just when I think I have my head wrapped around the logic something like this happens. 😊 I really appreciate the community of experts that help us neophytes muggle along bending phpvms into individual experiences. -Ken
  2. Thank you, while this gets rid of the error I am back to square one in that while it shows "Add to Bid" and it shows like it is a hyperlink, however, the hyperlink is not active. The schedule results page works just fine. I have compared the code on both .php files and cannot find anything different enough to make the links active on one page and not active on the other. I pulled the $schedule id and had it showed it separately and the id is properly shown. The only thing I can think of is how is the class addbid called? Is it required to be inside a table in order to fire? EDIT: Bingo! addbid requires a table. Once I made it a table it worked fine.
  3. Thank you, when I make the change I get the following error: Parse error: syntax error, unexpected ')', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/flyelite/public_html/lib/skins/crazyskin01/schedule_details.php on line 16 Line 16 is: href="<?php echo url('/schedules/addbid/?id='.$schedule->);?>">Add to Bid</a>
  4. Thank you, I looked at schedule_results.php and it does not have 103 lines, only 67. At line 39 to 59 it has the following: <td nowrap> <a href="<?php echo url('/schedules/details/'.$schedule->id);?>">View Details</a><br /> <a href="<?php echo url('/schedules/brief/'.$schedule->id);?>">Pilot Brief</a><br /> <?php # Don't allow overlapping bids and a bid exists if(Config::Get('DISABLE_SCHED_ON_BID') == true && $schedule->bidid != 0) { ?> <a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid/?id='.$schedule->id);?>">Add to Bid</a> <?php } else { if(Auth::LoggedIn()) { ?> <a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> <?php } } ?> </td> The file I am trying to add bid capability to is schedule_detail.php, I am trying to add the capability right at the top. <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <h3>Flight Details</h3> <p> <?php # Don't allow overlapping bids and a bid exists if(Config::Get('DISABLE_SCHED_ON_BID') == true && $schedule->bidid != 0) { ?> <a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a> <? } else { if (Auth::LoggedIn()) { ?><a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> <?php } } ?> </p> I get the blue Add to Bid, but it is not a live link. I cannot click it as if the action is broken somehow. Thank you, -Ken
  5. I added the code from this thread https://forum.phpvms.net/topic/2125-add-bid-from-pilot-brief/ and it seems to work, but when I try to click add it does nothing. Is there something else I need to do? Running phpvms 5.5 on php 5.6. Thank you, -Ken
  6. KenG

    Property System v1

    It takes a while for him to respond. Send him a PM through the forums asking for help and provide your ticket number. This module installs a little different than others and must be run server side to properly install.
  7. KenG

    Property System v1

    Thank you, done and got it working. -Ken
  8. KenG

    Property System v1

    OK, so this module is also causing problems with SmartCARs. Since installing I am getting double PIREPs. Anyone get this thing installed and working right on phpvms 5.5 on php 5.6 with SmartCARs?
  9. KenG

    Property System v1

    Purchased this on 14 April 2018. Manual was not part of purchase (took awhile to figure out how to properly install.) Why is the manual not available on php-mods site? Financial system does not work. Pilots are not charged for property on the purchase, funds after the flight are not being transferred. Went to look at the Propertydata.class.php and it looks like it is encrypted. Left a ticket on the website, but looking for user help as well. Thanks. -Ken
  10. KenG

    xAcars problems

    Thanks, I find it interesting that no one has claimed problems with XACARS from a windows machine.
  11. KenG

    xAcars problems

    Following. I have a Xplane user using XACARS on Linux and he is also not showing up on the map and having other issues. I was wondering if this is a client-side or a server-side issue.
  12. I have never been able to fix this. Every day I have to run the maintenance tasks manually.
  13. Thank you, Yes, I can run it from a web browser as long as I am logged in to the site. If I am not logged into the site it fails with an admin error. I changed the permissions to maintenance to 755 and I still get the same admin error. -Ken
  14. Thank you, I looked at the error log and there is nothing regarding maintenance.php. All of my phpvms cron jobs are failing on trying to authenticate as user 0. Is there a simple test cronjob I can run that would not try to authenticate with phpvms? OK, I found a simple cronjob to test (checks if the website is up or down) and it worked fine. It seems phpvms that is throwing the errors, i.e. no user 0 and not my host. Could my .htaccess file be causing problems with cron? I can get back with my host. They are a VA based hosting so they generally understand phpvms, but I don't think they realize that simpilot's 5.5.2 is coded for php 5.6. Thank you, -Ken
  15. phpvms 5.5.2 on php 5.5: I am getting the following errors trying to run maintenance.php as a cronjob. Warning: Creating default object from empty value in /home/flyelite/public_html/admin/maintenance.php on line 26 Unauthorized access - Invalid Permissions. Return to Homepage Line 26 is: Auth::$userinfo->pilotid = 0; When I run maintenance.php while logged on from my admin user account, it runs without problems. When I ask my host provider about it, they say phpvms is not compatible with php 5.5 and to downgrade to php 5.3. However, this makes no difference yet frags my forums. Is there a way I can tell cron to log on as my admin account or another way to make maintenance.php compatible with php 5.5? Thank you, -Ken
×