I'm using Eclipse as my editor. I was able to fix all but 3 of the errors it reported. If someone could give me a hand, I'd appreciate it.
#1: Start tag <a> not closed
in admin/stats_monthly_sales.php line 244:
#2: syntax error, unexpected '(', expecting ',' or ';'PHP Code:<td class="smallText"><a href="<?php
echo $_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_STRING'] . "&print=yes";
?>" target="print" title="<?php echo TEXT_BUTTON_REPORT_PRINT_DESC . "">" . TEXT_BUTTON_REPORT_PRINT; ?></a>
</td>
<td class="smallText"><a href='<?php echo $_SERVER['PHP_SELF'] . "?" . ereg_replace('&invert=yes','',$_SERVER['QUERY_STRING']);
if (!$invert) echo "&invert=yes";
echo "' title= '" . TEXT_BUTTON_REPORT_INVERT_DESC . "'>" . TEXT_BUTTON_REPORT_INVERT; ?></a>
</td>
<td class="smallText"><a href="#" onClick="window.open('<?php
echo $_SERVER['PHP_SELF'] . "?&help=yes"; ?>','help',config='height=400,width=600,scrollbars=1, resizable=1')" title="<?php echo TEXT_BUTTON_REPORT_HELP_DESC . "">" . TEXT_BUTTON_REPORT_HELP; ?></a>
</td>
in admin/includes/classes/sessions.php line 33:
The opening parenthesis after substr is highlighted as the error.PHP Code:var $cookie_path = substr(DIR_WS_ADMIN, 0, -1);
#3: syntax error, unexpected "EOF"
in catalog/affiliate_password_forgotten.php
It doesn't point to any line, just puts the cursor at the top of the file.
I'm using v2.0.25 with the Compromise template and I have not edited the above 3 files in anyway.
Thanks for any help with this!





LinkBack URL
About LinkBacks









Bookmarks