Bids page

Hi,

On my bids page im getting the following, rather than my list of bids:

$bid->flightnum; ?> depicao; ?> to arricao; ?> aircraft; ?> (registration?>) deptime;?> arrtime;?> distance;?>

Is there any known fix for this? (Using latest beta)

On the profile page?

no on index.php/Schedules/bids

I don’t see anything wrong on the default templates page, are you using the default template?

It’s a modified template, but i didn’t edit anything to do with that, and it was working before.. it’s just suddenly not working now.

It seems like you’re using short php tags (<? instead of <?php), and maybe they got turned off on your server or a configuration setting changed

Is that “short_open_tag” in the php.ini config? because that’s set to on..

Yeah. Can you paste in the template? To pastebin or paste2

http://pastebin.com/m573fd5e5

The only edit I made was adding a div tag at the top, and my own template at the bottom for the sidebar.

line 29

<td><?php echo $bid->code . $bid->flightnum; ?></td>

change to:

<td><?php echo $bid->code .' '. $bid->flightnum; ?></td>

Think that should fix you up

No, still the same problem.

line 26 as well

<tr id="bid<?php echo $bid->bidid ?>">

add semi colon

<tr id="bid<?php echo $bid->bidid; ?>">

also eariler post should have reffered to line 27 not 29 - sry

also

also on line 29

<tr id="bid<?php echo $bid->bidid ?>">

add semicolon

<tr id="bid<?php echo $bid->bidid; ?>">

Still nope.

Do you have a screenshot as to what it does? That’s really weird

OK - The issue is at the start of the file - the echo never gets closed and you reopen php again without closing it. Hang on  and I will pastebin a new one.

Take a look at line 42 to 44.

Seem like a php tag is missing

<hr>';
}
?>

Should be

<hr>
<?php
}
?>

http://pastebin.com/d523acb47

try this

Ah yes, at the top of the file as well

<?php
if(!$bids)
{
  echo '<p align="center">You have not bid on any flights</p>';
} else { 
echo '

Should be

<?php
if(!$bids)
{
  echo '<p align="center">You have not bid on any flights</p>';
}
?>

http://pastebin.com/m4151bb09

Or this one (took the table header out of php tags)

http://pastebin.com/m4a9e552