hijjaz kasturi Posted February 21, 2008 Share Posted February 21, 2008 this is my problems..i cannot open my website n i am blur with this dam coding... Parse error: syntax error, unexpected '<' in /home/batincom/public_html/ujihamil.com/includes/column_left.php on line 13 <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */// {{ buySAFE Module if (MODULE_BUYSAFE_BUYSAFE_STATUS == 'True' && tep_not_null(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) && MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA != '-- none --' && $buysafe_result['IsBuySafeEnabled'] != 'false' && !$buysafe_result['faultstring']) echo "<!-- buySAFE //-->\n<tr><td align=\"center\"><script src=\"" . MODULE_BUYSAFE_BUYSAFE_ROLLOVER_URL . "\"></script><span id=\"BuySafeSealSpan\"><script type=\"text/javascript\">WriteBuySafeSeal('BuySafeSealSpan', '" . MODULE_BUYSAFE_BUYSAFE_SEAL_TYPE . "', 'HASH=" . urlencode(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) . "');</script> </span></td></tr>\n<!-- buySAFE_eof //-->\n";// }} if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> <tr><td> <img src="http://zamped.info/google.gif"> </td></tr> Quote Link to comment Share on other sites More sharing options...
germ Posted February 21, 2008 Share Posted February 21, 2008 This code needs repaired: */// {{ buySAFE Module if (MODULE_BUYSAFE_BUYSAFE_STATUS == 'True' && tep_not_null(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) && MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA != '-- none --' && $buysafe_result['IsBuySafeEnabled'] != 'false' && !$buysafe_result['faultstring']) echo "<!-- buySAFE //-->\n<tr><td align=\"center\"><script src=\"" . MODULE_BUYSAFE_BUYSAFE_ROLLOVER_URL . "\"></script><span id=\"BuySafeSealSpan\"><script type=\"text/javascript\">WriteBuySafeSeal('BuySafeSealSpan', '" . MODULE_BUYSAFE_BUYSAFE_SEAL_TYPE . "', 'HASH=" . urlencode(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) . "');</script> </span></td></tr>\n<!-- buySAFE_eof //-->\n";// }} What exactly are you trying to accomplish there? I see the "//", are you trying to "comment out" a portion of the code? :unsure: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
kewldude_3001 Posted February 21, 2008 Share Posted February 21, 2008 if your trying to add a seal, trying adding a new infobox and then adding the code there Quote Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 i post here ..fisrtly because i try to make some link of banner to my boarder on left, mybe i had make some mistake, so can anyone help me to solve my problem ...to forward back my column_left.php back to normal.. :'( Quote Link to comment Share on other sites More sharing options...
germ Posted February 22, 2008 Share Posted February 22, 2008 If you post the code you were given (by BuySafe?) I think I could help you insert it. Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 If you post the code you were given (by BuySafe?) I think I could help you insert it. erm..where i can get this (by Buysafe?)...from column_left.php at the domain/includes...? Quote Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 erm..where i can get this (by Buysafe?)...from column_left.php at the domain/includes...? <?php/* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */// {{ buySAFE Module if (MODULE_BUYSAFE_BUYSAFE_STATUS == 'True' && tep_not_null(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DA TA) && MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA != '-- none --' && $buysafe_result['IsBuySafeEnabled'] != 'false' && !$buysafe_result['faultstring']) echo "<!-- buySAFE //-->\n<tr><td align=\"center\"><script src=\"" . MODULE_BUYSAFE_BUYSAFE_ROLLOVER_URL . "\"> </script><span id=\"BuySafeSealSpan\"><script type=\"text/javascript\">WriteBuySafeSeal('BuySafeSealSpan ', '" . MODULE_BUYSAFE_BUYSAFE_SEAL_TYPE . "', 'HASH=" . urlencode(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) . "');</script> </span></td></tr>\n<!-- buySAFE_eof //-->\n";// }} if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> my website is www.ujihamil.com your see here...the problems.. Quote Link to comment Share on other sites More sharing options...
germ Posted February 22, 2008 Share Posted February 22, 2008 That code I already have. Where are you getting the BuySafe code you're trying to insert? :unsure: The BuySafe code you've posted is incorrect at the beginning... :blush: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 That code I already have. Where are you getting the BuySafe code you're trying to insert? :unsure: The BuySafe code you've posted is incorrect at the beginning... :blush: \n"; }} if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> ------------>this come out in my page website at the colomn_left i don know how to solve it.. Quote Link to comment Share on other sites More sharing options...
germ Posted February 22, 2008 Share Posted February 22, 2008 Post the current contents of your column_left.php I'm working on deciphering the BuySafe code you want to insert. Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 Post the current contents of your column_left.php I'm working on deciphering the BuySafe code you want to insert. this is my real column_left.php <?php/* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */// {{ buySAFE Module if (MODULE_BUYSAFE_BUYSAFE_STATUS == 'True' && tep_not_null(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DA TA) && MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA != '-- none --' && $buysafe_result['IsBuySafeEnabled'] != 'false' && !$buysafe_result['faultstring']) echo "<!-- buySAFE //-->\n<tr><td align=\"center\"><script src=\"" . MODULE_BUYSAFE_BUYSAFE_ROLLOVER_URL . "\"> </script><span id=\"BuySafeSealSpan\"><script type=\"text/javascript\">WriteBuySafeSeal('BuySafeSealSpan ', '" . MODULE_BUYSAFE_BUYSAFE_SEAL_TYPE . "', 'HASH=" . urlencode(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) . "');</script> </span></td></tr>\n<!-- buySAFE_eof //-->\n";// }} if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> Quote Link to comment Share on other sites More sharing options...
germ Posted February 22, 2008 Share Posted February 22, 2008 <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // // BuySafe code added 02/21/08 // if ( (MODULE_BUYSAFE_BUYSAFE_STATUS == 'True') && (tep_not_null(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA)) && (MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA != '-- none --') && ($buysafe_result['IsBuySafeEnabled'] != 'false') && (!$buysafe_result['faultstring']) ) { echo "<!-- buySAFE //-->\n<tr><td align=\"center\"><script src=\"" . MODULE_BUYSAFE_BUYSAFE_ROLLOVER_URL . "\"></script><span id=\"BuySafeSealSpan\"><script type=\"text/javascript\">WriteBuySafeSeal('BuySafeSealSpan', '" . MODULE_BUYSAFE_BUYSAFE_SEAL_TYPE . "', 'HASH=" . urlencode(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) . "');\n</script></span></td></tr>\n<!-- buySAFE_eof //-->\n"; } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 I had Made IT!!!!!!!!!!!!!!!!!!! :lol: :lol: :lol: Thanks Bro!!!... I love this form!!!! :thumbsup: :thumbsup: :thumbsup: Quote Link to comment Share on other sites More sharing options...
hijjaz kasturi Posted February 22, 2008 Author Share Posted February 22, 2008 I had Made IT!!!!!!!!!!!!!!!!!!! :lol: :lol: :lol: Thanks Bro!!!... I love this forum!!!! :thumbsup: :thumbsup: :thumbsup: Quote Link to comment Share on other sites More sharing options...
germ Posted February 22, 2008 Share Posted February 22, 2008 Great! Because the left column has those rounded corners at the top, when you get the BuySafe items to show up, you might have to move the code for it to the bottom to make the column look right. If that becomes necessary, move the BuySafe code AFTER this line: require(DIR_WS_BOXES . 'information.php'); But BEFORE this line: ?> Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.