Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Can someone help me understand why the x-sell 1.1 won't work on my cart. I am getting this error;

Parse error: parse error in /web/superstore/product_info.php on line 184

I have narrowed it down to this line of code in product_info.php;

 

<?php

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_also_purchased(3600);

} else {

include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS);

}

include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

}

}

?>

 

I assume that a parse error is a syntax problem so I looked at the code above and though maybe there is one too many brackets. I take one out and I get this error:

 

Warning: Failed opening 'includes/modules/FILENAME_XSELL_PRODUCTS' for inclusion (include_path='.:/php/includes:/usr/share/php') in /web/superstore/product_info.php on line 180

 

 

I am fairly proficient at Perl but PHP is new to me right now. Can someone help me with this simple problem?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...