Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

These are the messages I'm getting when I try to get into the admin side of my cart:

 

Warning: main(includes/classes/sts.php) [function.main]: failed to open stream: No such file or directory in /home/nlpoker/public_html/cart1/admin/includes/application_top.php on line 174

 

Warning: main(includes/classes/sts.php) [function.main]: failed to open stream: No such file or directory in /home/nlpoker/public_html/cart1/admin/includes/application_top.php on line 174

 

Warning: main(includes/classes/sts.php) [function.main]: failed to open stream: No such file or directory in /home/nlpoker/public_html/cart1/admin/includes/application_top.php on line 174

 

Fatal error: main() [function.require]: Failed opening required 'includes/classes/sts.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nlpoker/public_html/cart1/admin/includes/application_top.php on line 174

Posted

her is my application_top.php page

 

// add the products model to the breadcrumb trail

if (isset($HTTP_GET_VARS['products_id'])) {

$model_query = tep_db_query("select products_model from " . TABLE_PRODUCTS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");

if (tep_db_num_rows($model_query)) {

$model = tep_db_fetch_array($model_query);

$breadcrumb->add($model['products_model'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id']));

}

}

// START STS 4.5

require (DIR_WS_CLASSES.'sts.php');

$sts= new sts();

$sts->start_capture();

// END STS

 

// initialize the message stack for output messages

require(DIR_WS_CLASSES . 'message_stack.php');

$messageStack = new messageStack;

Posted
when the instructions say to add the script at the end do I place it before the ?> or after

 

if it's PHP code, place it before. ALl PHP code needs to be between <?php and ?> tags.

 

-jared

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