Looking for a little STS Direction here. Posted the following and was sent here...
Here are lines 67 to 79 from "general.php" mentioned in the error report.
67 $sts->template['checkout'] = '<a href=' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . ' class="headerNavigation">' . HEADER_TITLE_CHECKOUT . '</a>';
68 $sts->template['urlcheckout'] = tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL');
69 $sts->template['headertags']= "<title>" . TITLE ."</title>";
70
71// Next tags added in v4.3 to display an image according to language and linking to the contact us page.
72 $sts->template['contactlogo'] = '<a href=' . tep_href_link(FILENAME_CONTACT_US) . ' class="headerNavigation">' . tep_image(STS_TEMPLATE_DIR.'images/'.$language . 73'/header_contact_us.gif', BOX_INFORMATION_CONTACT) . '</a>';
73
74// Tags generally displayed in the footer. =============================================
75 // Get the number of requests
76 require(DIR_WS_INCLUDES . 'counter.php');
77 $sts->template['numrequests'] = $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted;
78
79 $sts->template['footer_text']= FOOTER_TEXT_BODY;
Here is the code from lines 60 to 68 from from "sts.php" mentioned in the error report.
60 // Now lets remove the </td></tr> at the end of the tableBox output
61 // strrpos only works for chars, not strings, so we'll cheat and reverse the string and then use strpos
62 $tmpstr = strrev($tmpstr);
63
64 if ($formfirst == true) {
65 $tableend = strpos($tmpstr, strrev("</form>"), 1);
66 } else {
67 $tableend = strpos($tmpstr, strrev("</table>"), 1);
68 }
anybody see anything that could be causing these errors?