Hi,
I’am use phpcvms Version simpilot 5.5.2
And skin : blueIce v2.0
When i try to book flight and add to bids i have this issue : No route passed
any help to fix it ?
Best Regards,
Hi,
I’am use phpcvms Version simpilot 5.5.2
And skin : blueIce v2.0
When i try to book flight and add to bids i have this issue : No route passed
any help to fix it ?
Best Regards,
What happens if you switch back to the default crystal skin?
When hovering over the add bid button/wording, does the ID also show? …/schedules/addbid/?id=<some number here>
Did you do any edits, besides the css? I tested the hell out of that skin. I never got any no routes passed. Revert back as ProAvia said. See if you get the error still.
3 hours ago, ProAvia said:
What happens if you switch back to the default crystal skin?
When hovering over the add bid button/wording, does the ID also show? …/schedules/addbid/?id=<some number here>
I try to back to a default skin but it’s seem nothing change??
And when i over the bid button this what i get ?
Did you edit any files in the Blue Ice version 2 download?
Look in blueIce skin, schedule_results.php file - post lines 54-73
Looking at the default blueIce skin schedule_results.php file, the Addbid function is correct.
It seems to be jQuery issue. Check the version of the scripts
21 hours ago, ProAvia said:
Did you edit any files in the Blue Ice version 2 download?
Look in blueIce skin, schedule_results.php file - post lines 54-73
Looking at the default blueIce skin schedule_results.php file, the Addbid function is correct.
No only change the skin color ??
This the core/templates/schedule_results.php
\<?php if(!defined('IN\_PHPVMS') && IN\_PHPVMS !== true) { die(); } ?\> \<?php if(!$schedule\_list) { echo '\<p align="center"\>No routes have been found!\</p\>'; return; } ?\> \<table id="tabledlist" class="tablesorter"\> \<thead\> \<tr\> \<th\>Flight Info\</th\> \<th\>Options\</th\> \</tr\> \</thead\> \<tbody\> \<?php foreach($schedule\_list as $schedule) { ?\> \<tr\> \<td\> \<a href="\<?php echo url('/schedules/details/'.$schedule-\>id);?\>"\>\<?php echo $schedule-\>code . $schedule-\>flightnum?\> \<?php echo '('.$schedule-\>depicao.' - '.$schedule-\>arricao.')'?\> \</a\> \<br /\> \<strong\>Departure: \</strong\>\<?php echo $schedule-\>deptime;?\> \<strong\>Arrival: \</strong\>\<?php echo $schedule-\>arrtime;?\>\<br /\> \<strong\>Equipment: \</strong\>\<?php echo $schedule-\>aircraft; ?\> (\<?php echo $schedule-\>registration;?\>) \<strong\>Distance: \</strong\>\<?php echo $schedule-\>distance . Config::Get('UNITS');?\> \<br /\> \<strong\>Days Flown: \</strong\>\<?php echo Util::GetDaysCompact($schedule-\>daysofweek); ?\>\<br /\> \<?php echo ($schedule-\>route=='') ? '' : '\<strong\>Route: \</strong\>'.$schedule-\>route.'\<br /\>' ?\> \<?php echo ($schedule-\>notes=='') ? '' : '\<strong\>Notes: \</strong\>'.html\_entity\_decode($schedule-\>notes).'\<br /\>' ?\> \<?php # Note: this will only show if the above code to # skip the schedule is commented out if($schedule-\>bidid != 0) { echo 'This route has been bid on'; } ?\> \</td\> \<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\> \</tr\> \<?php /\* END OF ONE TABLE ROW \*/ } ?\> \</tbody\> \</table\> \<hr\>
And this the skin /skins/blueIce/schedule_results.php
\<section class="page-contents"\> \<div class="container"\> \<br /\> \<nav aria-label="breadcrumb"\> \<ol class="breadcrumb"\> \<li class="breadcrumb-item"\>\<a href="\<?php echo SITE\_URL ?\>/index.php"\>Home\</a\>\</li\> \<li class="breadcrumb-item active" aria-current="page"\>Crew Center\</li\> \<li class="breadcrumb-item active" aria-current="page"\>Schedules\</li\> \</ol\> \</nav\> \<?php if(!defined('IN\_PHPVMS') && IN\_PHPVMS !== true) { die(); } ?\> \<?php if(!$schedule\_list) { echo '\<p align="center"\>No routes have been found!\</p\>'; return; } ?\> \<script type="text/javascript"\> $(document).ready(function() { $('#schedules').DataTable(); } ); \</script\> \<table id="schedules" width="100%" border="0" cellspacing="0" cellpadding="0" class="blueIce\_table"\> \<thead\> \<tr\> \<th\>Flight Info\</th\> \<th\>Options\</th\> \</tr\> \</thead\> \<tbody\> \<?php foreach($schedule\_list as $schedule) { ?\> \<tr\> \<td\> \<a href="\<?php echo url('/schedules/details/'.$schedule-\>id);?\>"\>\<?php echo $schedule-\>code . $schedule-\>flightnum?\> \<?php echo '('.$schedule-\>depicao.' - '.$schedule-\>arricao.')'?\> \</a\> \<br /\> \<strong\>Departure: \</strong\>\<?php echo $schedule-\>deptime;?\> \<strong\>Arrival: \</strong\>\<?php echo $schedule-\>arrtime;?\>\<br /\> \<strong\>Equipment: \</strong\>\<?php echo $schedule-\>aircraft; ?\> (\<?php echo $schedule-\>registration;?\>) \<strong\>Distance: \</strong\>\<?php echo $schedule-\>distance . Config::Get('UNITS');?\> \<br /\> \<strong\>Days Flown: \</strong\>\<?php echo Util::GetDaysCompact($schedule-\>daysofweek); ?\>\<br /\> \<?php echo ($schedule-\>route=='') ? '' : '\<strong\>Route: \</strong\>'.$schedule-\>route.'\<br /\>' ?\> \<?php echo ($schedule-\>notes=='') ? '' : '\<strong\>Notes: \</strong\>'.html\_entity\_decode($schedule-\>notes).'\<br /\>' ?\> \<?php # Note: this will only show if the above code to # skip the schedule is commented out if($schedule-\>bidid != 0) { echo 'This route has been bid on'; } ?\> \</td\> \<td nowrap\> \<a href="\<?php echo url('/schedules/details/'.$schedule-\>id);?\>"\>\<span class="badge badge-secondary"\>\<i class="fas fa-search"\>\</i\> View Details\</a\>\<br /\> \<a href="\<?php echo url('/schedules/brief/'.$schedule-\>id);?\>"\>\<span class="badge badge-secondary"\>\<i class="fas fa-user-tie"\>\</i\> 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);?\>"\>\<span class="badge badge-secondary"\>\<i class="fas fa-plus-square"\>\</i\> Add to Bid\</a\> \<?php } else { if(Auth::LoggedIn()) { ?\> \<a id="\<?php echo $schedule-\>id; ?\>" class="addbid" href="\<?php echo url('/schedules/addbid');?\>"\>\<span class="badge badge-secondary"\>\<i class="fas fa-plus-square"\>\</i\> Add to Bid\</a\> \<?php } } ?\> \</td\> \</tr\> \<?php /\* END OF ONE TABLE ROW \*/ } ?\> \</tbody\> \</table\> \<hr\> \</div\> \</section\>
What do u think ?
URL please
5 minutes ago, flyalaska said:
URL please