Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Family Products v. 3.4


Guest

Recommended Posts

Posted

I just installed Family Products v. 3.4, install went ok in sql when I go to admin page and try to assign familys I get this:

 

Parse error: syntax error, unexpected ';' in C:\Program Files\xampp\htdocs\catalog\admin\assign_families.php on line 97

 

What did i do wrong?

 

George

Posted
I just installed Family Products v. 3.4, install went ok in sql when I go to admin page and try to assign familys I get this:

 

Parse error: syntax error, unexpected ';' in C:\Program Files\xampp\htdocs\catalog\admin\assign_families.php on line 97

 

What did i do wrong?

 

probably a pre-existing error in the script.

post lines 80 - 120 from catalog\admin\assign_families.php

Posted

<?php } ?>

<tr class="dataTableRow">

<td class="dataTableContent">

<?php

echo tep_draw_form('update_family', FILENAME_ASSIGN_FAMILIES, 'post', 'enctype="multipart/form-data"') . tep_draw_hidden_field('action', 'update_family');

echo tep_get_family_list('family_id') . '<br>';

echo "     " . tep_get_product_list('prod_selected1') . '<br>';

echo "     " . tep_get_product_list('prod_selected2') . '<br>';

echo "     " . tep_get_product_list('prod_selected3') . '<br>';

echo "     " . tep_get_product_list('prod_selected4') . '<br>';

echo "     " . tep_get_product_list('prod_selected5') . '<br>';

echo "     " . tep_get_product_list('prod_selected6') . '<br>';

echo "     " . tep_get_product_list('prod_selected7') . '<br>';

echo "     " . tep_get_product_list('prod_selected8') . '<br>';

echo "     " . tep_get_product_list('prod_selected9') . '<br>';

echo "     " . tep_get_product_list('prod_selected10') . '<br>';

echo

?></td></tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td align="right"><?php echo tep_image_submit('button_confirm.gif', 'Confirm'); ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

</table></form></td>

<?php echo $test; ?>

</tr>

</table></td>

</tr>

</table></td>

<!-- body_text_eof //-->

</tr>

</table>

<!-- body_eof //-->

 

 

Thanks for looking at this.

 

George

Posted
Thanks for looking at this.

George

 

lol- Ok - tell us which line is Line 97 ?

If you don't know - just post the whole darn thing.

Posted

I'm using PSpad and it shows line 97 as

 

?></td></tr>

 

george

Posted
I'm using PSpad and it shows line 97 as

 

?></td></tr>

 

george

 

 

Yes.

You have an extra echo on Line 96

 

echo

?></td></tr>

 

Just delete this.

Posted
Yes.

You have an extra echo on Line 96

 

echo

?></td></tr>

 

Just delete this.

 

Problem solved

 

Thank you :) Great help here.

 

George

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...