garysgal Posted November 17, 2006 Posted November 17, 2006 Why is this happening all of the sudden? Here's my header.php code... please help! Thank you! // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr align="right" valign="bottom" class="header"> <td width="25%" height="50" background="images/fmmcartlogosliver.jpg" background-repeat: repeat-x><div align="right"></div></td> <td width="75%" height="50" background="images/fmmcartlogosliver.jpg" background-repeat: repeat-x> <a href="index.php"><img src="includes/languages/english/images/buttons/button_home.gif" border="0"></a> <?php if (tep_session_is_registered('customer_id')) { ?> <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><img src="includes/languages/english/images/buttons/logoff.gif" border="0"></a> <?php } ?> <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><img src="includes/languages/english/images/buttons/myaccount.gif" border="0"></a> <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><img src="includes/languages/english/images/buttons/checkout.gif" border="0"></a> </td> </tr> <tr align="left" valign="top" class="header"> <td colspan="2" background="images/fmmcartlogosliver.jpg" background-repeat: repeat-x><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'fmmcartlogo.jpg', 'Family Memories and More') . '</a>'; ?> <div align="left"></div> <div align="right"> </div></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0"> <tr class="headerNavigation"> <td align="center" valign="middle" class="headerNavigation"><div align="center"></div></td> </tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php }
garysgal Posted November 17, 2006 Author Posted November 17, 2006 Oh hey... is it because of the PHP code end right above "a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'"??? Should I move the ?> after the account?
bill110 Posted November 17, 2006 Posted November 17, 2006 Oh hey... is it because of the PHP code end right above "a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'"??? Should I move the ?> after the account? I think its in the correct place. Try looking in catelog/includes/filenames and be sure define('FILENAME_ACCOUNT', 'account.php'); is correct. My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
garysgal Posted November 18, 2006 Author Posted November 18, 2006 Okay, I'm lost on how to fix this - my PHP is not very good... where should I move the ?> code to? Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.