Jump to content
Sign in to follow this  
hijjaz kasturi

a little bit problems

Recommended Posts

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>

Share this post


Link to post
Share on other sites

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:


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 >

Share this post


Link to post
Share on other sites

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.. :'(

Share this post


Link to post
Share on other sites

If you post the code you were given (by BuySafe?) I think I could help you insert it.


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 >

Share this post


Link to post
Share on other sites
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...?

Share this post


Link to post
Share on other sites
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..

Share this post


Link to post
Share on other sites

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:


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 >

Share this post


Link to post
Share on other sites
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..

Share this post


Link to post
Share on other sites

Post the current contents of your column_left.php

 

I'm working on deciphering the BuySafe code you want to insert.


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 >

Share this post


Link to post
Share on other sites
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');

 

?>

Share this post


Link to post
Share on other sites
<?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');
?>


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 >

Share this post


Link to post
Share on other sites

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:

 

?>


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 >

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×