rubensc79 Posted September 20, 2010 Posted September 20, 2010 Best to all, I am installing an Oscommerce contribution, namely the Live_Support 1.5.1 I have everything installed but I have a problem adding a line of code in / admin / includes / header.php It turns out that the contribution reads Find Online (DIR_WS_IMAGES . 'header_administration.gif', HEADER_TITLE_ADMINISTRATION) . '</a>'; ?> </td> Replace (DIR_WS_IMAGES . 'header_administration.gif', HEADER_TITLE_ADMINISTRATION) . '</a> <a href="' . tep_catalog_href_link('live_support/staff.php') . '">' . tep_image(DIR_WS_IMAGES . 'header_livesupport.gif', STORE_NAME . ' Live Support ') . '</a> '; ?></td> It is more like what you find I have the line <td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a> | <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="http://www.oscommerce.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a>'; ?></td> After analyzing the code decided to add part of code to add because I think that it is for links just underneath the logo in the administration and what they decide is appended to display as new features by placing the following code <td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a> | <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="http://www.oscommerce.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a> <a href="' . tep_catalog_href_link('live_support/staff.php') . '">' . tep_image(DIR_WS_IMAGES . 'header_livesupport.gif', STORE_NAME . ' Live Support ') . </a>'; ?></td> Upload changes to the server and it will not load the login page to access the administration is blank page but back to the original version if you load the url. This happened to me more times and always end quotation mark or label any extra or missing but more that I look I see where is the problem. See if anyone can help me ... Thanks in advance ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.