Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick Orders.php help


jay@campwow.com

Recommended Posts

Posted

I am having trouble with recieveing emails and tried a script, it didnt work so then I changed it back. When I went to view orders in my Admin sectionI get this error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in C:\Accounts\campwowc\wwwRoot\shop\admin\orders.php on line 371

I did not change anything anywhere near line 371 but I am not sure what this is supposed to look like so if anyone could help that would be great.

Thanks

Posted

sorry I forgot to put what my code looks like, here it is-

echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . ''">' . "n";

 

thanks again

Posted

how are you editing the php files? There was a problem with the older file manager of osc. If you did that probably stripped the escape characters and so the files can be basically corrupted. You should use either an external editor or upgrade to the latest osc.

http://www.oscommerce.com/solutions/downloads

Archived

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

×
×
  • Create New...