Alright so here is my website www.genxgsm.com still working on it a few problems still, so the problem right now im solving is the error on the website
which internet explorer displays:
Line: 2
Char: 1
error: Invalid Character
Code: 0
so i know where the glitch is happening its happening in the header anyone nice enough to find the problem, will give 10$ via IKOBO
which internet explorer displays:
Line: 2
Char: 1
error: Invalid Character
Code: 0
so i know where the glitch is happening its happening in the header anyone nice enough to find the problem, will give 10$ via IKOBO
Code said:<?php
/*
$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
// check if the 'install' directory exists, and warn of its existence
if (WARN_INSTALL_EXISTENCE == 'true') {
if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
}
}
// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');
}
}
// check if the session folder is writeable
if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
if (STORE_SESSIONS == '') {
if (!is_dir(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');
} elseif (!is_writeable(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');
}
}
}
// 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');
}
?>
<div class="fixcenter">
<body bgcolor="#333333">
<?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
}
if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td>
</tr>
</table>
<?php
}
?>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/animate.js">
</script>
<table border="0" cellpadding="0" cellspacing="0" width="780">
<!-- fwtable fwsrc="GENXGSM.png" fwbase="Main.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="spacer.gif" width="58" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="77" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="113" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="102" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="85" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="170" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="63" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="112" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="8"><img name="Main_r1_c1" src="images/Main_r1_c1.jpg" width="780" height="127" border="0" usemap="#m_Main_r1_c1" alt=""></td>
<td><img src="spacer.gif" width="1" height="127" border="0" alt=""></td>
<tr>
<td> <a onmouseover="document['fpAnimswapImgFP1'].imgRolln=document['fpAnimswapImgFP1'].src;document['fpAnimswapImgFP1'].src=document['fpAnimswapImgFP1'].lowsrc;" onmouseout="document['fpAnimswapImgFP1'].src=document['fpAnimswapImgFP1'].imgRolln" href="#">
<img name="fpAnimswapImgFP1" src="images/Main_r2_c1.gif" width="58" height="28" border="0" alt="" id="fpAnimswapImgFP1" dynamicanimation="fpAnimswapImgFP1" lowsrc="images/mouse_r2_c1.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP2'].imgRolln=document['fpAnimswapImgFP2'].src;document['fpAnimswapImgFP2'].src=document['fpAnimswapImgFP2'].lowsrc;" onmouseout="document['fpAnimswapImgFP2'].src=document['fpAnimswapImgFP2'].imgRolln" href="http://www.genxgsm.com/index.php?cPath=21">
<img name="fpAnimswapImgFP2" src="images/Main_r2_c2.gif" width="77" height="28" border="0" alt="" id="fpAnimswapImgFP2" dynamicanimation="fpAnimswapImgFP2" lowsrc="images/mouse_r2_c2.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP3'].imgRolln=document['fpAnimswapImgFP3'].src;document['fpAnimswapImgFP3'].src=document['fpAnimswapImgFP3'].lowsrc;" onmouseout="document['fpAnimswapImgFP3'].src=document['fpAnimswapImgFP3'].imgRolln" href="http://www.genxgsm.com/index.php?cPath=23">
<img name="fpAnimswapImgFP3" src="images/Main_r2_c3.gif" width="113" height="28" border="0" alt="" id="fpAnimswapImgFP3" dynamicanimation="fpAnimswapImgFP3" lowsrc="images/mouse_r2_c3.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP4'].imgRolln=document['fpAnimswapImgFP4'].src;document['fpAnimswapImgFP4'].src=document['fpAnimswapImgFP4'].lowsrc;" onmouseout="document['fpAnimswapImgFP4'].src=document['fpAnimswapImgFP4'].imgRolln" href="http://www.genxgsm.com/index.php?cPath=22">
<img name="fpAnimswapImgFP4" src="images/Main_r2_c4.gif" width="102" height="28" border="0" alt="" id="fpAnimswapImgFP4" dynamicanimation="fpAnimswapImgFP4" lowsrc="images/mouse_r2_c4.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP5'].imgRolln=document['fpAnimswapImgFP5'].src;document['fpAnimswapImgFP5'].src=document['fpAnimswapImgFP5'].lowsrc;" onmouseout="document['fpAnimswapImgFP5'].src=document['fpAnimswapImgFP5'].imgRolln" href="http://www.genxgsm.com/index.php?cPath=24&osCsid=bb2b0d9f49ed7ba1a937a0966387af84">
<img name="fpAnimswapImgFP5" src="images/Main_r2_c5.gif" width="85" height="28" border="0" alt="" id="fpAnimswapImgFP5" dynamicanimation="fpAnimswapImgFP5" lowsrc="images/mouse_r2_c5.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP6'].imgRolln=document['fpAnimswapImgFP6'].src;document['fpAnimswapImgFP6'].src=document['fpAnimswapImgFP6'].lowsrc;" onmouseout="document['fpAnimswapImgFP6'].src=document['fpAnimswapImgFP6'].imgRolln" href="http://www.genxgsm.com/index.php?cPath=50">
<img name="fpAnimswapImgFP6" src="images/Main_r2_c6.gif" width="170" height="28" border="0" alt="" id="fpAnimswapImgFP6" dynamicanimation="fpAnimswapImgFP6" lowsrc="images/mouse_r2_c6.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP7'].imgRolln=document['fpAnimswapImgFP7'].src;document['fpAnimswapImgFP7'].src=document['fpAnimswapImgFP7'].lowsrc;" onmouseout="document['fpAnimswapImgFP7'].src=document['fpAnimswapImgFP7'].imgRolln" href="#">
<img name="fpAnimswapImgFP7" src="images/Main_r2_c7.gif" width="63" height="28" border="0" alt="" id="fpAnimswapImgFP7" dynamicanimation="fpAnimswapImgFP7" lowsrc="images/mouse_r2_c7.gif"></a></td>
<td> <a onmouseover="document['fpAnimswapImgFP8'].imgRolln=document['fpAnimswapImgFP8'].src;document['fpAnimswapImgFP8'].src=document['fpAnimswapImgFP8'].lowsrc;" onmouseout="document['fpAnimswapImgFP8'].src=document['fpAnimswapImgFP8'].imgRolln" href="contact_us.php">
<img name="fpAnimswapImgFP8" src="images/Main_r2_c8.gif" width="112" height="28" border="0" alt="" id="fpAnimswapImgFP8" dynamicanimation="fpAnimswapImgFP8" lowsrc="images/mouse_r2_c8.gif"></a></td>
<td><img src="spacer.gif" width="1" height="28" border="0" alt=""></td>
</tr>
<map name="m_Main_r1_c1">
<area shape="rect" coords="703,0,780,22" href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" alt="" >
<area shape="rect" coords="614,0,703,22" href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" alt="" >
<area shape="rect" coords="525,0,614,22" href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" alt="" >
<area shape="rect" coords="445,0,526,22" href="#" alt="" >
</map>
</table>
<div align="center"> </div>
<div align="center">






