sn_tobin Posted April 8, 2008 Posted April 8, 2008 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 Quote
sn_tobin Posted April 8, 2008 Author Posted April 8, 2008 when the instructions say to add the script at the end do I place it before the ?> or after Quote
sn_tobin Posted April 8, 2008 Author Posted April 8, 2008 I have went back and triple checked everything all files are included and I'm still getting the error message Quote
sn_tobin Posted April 8, 2008 Author Posted April 8, 2008 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; Quote
Guest Posted April 9, 2008 Posted April 9, 2008 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 Quote
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.
Note: Your post will require moderator approval before it will be visible.