Guest Posted March 1, 2007 Posted March 1, 2007 I've managed to screw up monumentally: when clicking "configuration" in the admin area i get this: Fatal error: Call to undefined function: size() in /data/members/paid/v/i/vintagemaniac.net/htdocs/www/admin/includes/header.php on line 51 In admin/configuration/images header width and height is set to blank and this is what I suppose I need to change, but I cant do it since I'm getting the fatal error when trying to reach it... How do I change it manually? In header.php the code looks like this: The underlined parts are where I suspect I need to apply the changes? What does it need to look like? if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> Pleeeease help me!!
Guest Posted March 1, 2007 Posted March 1, 2007 Hmm. I've managed to figure out how to change the heading/logo size manually and it works fine although I'm still not able to reach the conficuartion area in admin. Yikes. Please help...
Guest Posted March 1, 2007 Posted March 1, 2007 Hmm.I've managed to figure out how to change the heading/logo size manually and it works fine although I'm still not able to reach the conficuartion area in admin. Yikes. Please help... Woho, I solved it! :P I'd gotten the header.php in catalog/includes mixed up with the header.php in catalog/admin/includes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.