Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

a little bit problems


hijjaz kasturi

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>

Link to comment
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 >

Link to comment
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 >

Link to comment
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..

Link to comment
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 >

Link to comment
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..

Link to comment
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 >

Link to comment
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');

 

?>

Link to comment
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 >

Link to comment
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 >

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...