smurphy Posted February 6, 2016 Report Posted February 6, 2016 having trouble with Schedules have clicking on add bid i get error was encountered and idea to solve this Quote
flyalaska Posted February 6, 2016 Report Posted February 6, 2016 Just what it says. The modules doesn't exist. You dont have it uploaded to your server. Quote
smurphy Posted February 6, 2016 Author Report Posted February 6, 2016 ok any idea where i can find the module please and help where to put it please Quote
Virtualei Posted February 6, 2016 Report Posted February 6, 2016 What is the name of the schedule search module you are using. I cant ever remember seeing anything called scheduleaction Quote
web541 Posted February 6, 2016 Report Posted February 6, 2016 Either do that ^^ or paste here the contents of your schedule_results.tpl/.php file You might have this line copied wrong <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a> Quote
smurphy Posted February 7, 2016 Author Report Posted February 7, 2016 What is the name of the schedule search module you are using. I cant ever remember seeing anything called scheduleaction i not using any module for the schedule Quote
smurphy Posted February 7, 2016 Author Report Posted February 7, 2016 schedule_results.tpl/.php file <?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> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.