Jump to content

Site Down and I'm clueless


xmasnut
 Share

Recommended Posts

My store CC3 (version 3.0.10) was up and running great last Friday. This morning I went out to the store and instead of seeing my store, all I get is the following:

assign("SEARCHSTR",treatGet($_GET['searchStr'])); } else { $body->assign("SEARCHSTR",""); } $body->assign("CURRENCY_VER",$currencyVer); $body->assign("VAL_ISO",$charsetIso); $body->assign("VAL_SKIN",$config['skinDir']); // START MAIN CONTENT if(isset($_GET['act'])){ switch (treatGet($_GET['act'])) { case "viewDoc": include("includes/content/viewDoc.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "viewCat": include("includes/content/viewCat.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "viewProd": include("includes/content/viewProd.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "unsubscribe": include("includes/content/unsubscribe.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "taf": include("includes/content/tellafriend.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "login": include("includes/content/login.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "logout": include("includes/content/logout.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "forgotPass": include("includes/content/forgotPass.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "account": include("includes/content/account.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "profile": include("includes/content/profile.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "changePass": include("includes/content/changePass.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "newsletter": include("includes/content/newsletter.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; case "dnExpire": include("includes/content/dnExpire.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; default: include("includes/content/index.inc.php"); $body->assign("PAGE_CONTENT",$page_content); break; } } else { include("includes/content/index.inc.php"); $body->assign("PAGE_CONTENT",$page_content); } // END MAIN CONTENT // START META DATA if(isset($meta)){ $body->assign("META_TITLE",htmlspecialchars($meta['siteTitle']).c()); $body->assign("META_DESC",$meta['metaDescription']); $body->assign("META_KEYWORDS",$config['metaKeyWords']); } else { $body->assign("META_TITLE",htmlspecialchars($config['siteTitle']).c()); $body->assign("META_DESC",$config['metaDescription']); $body->assign("META_KEYWORDS",$config['metaKeyWords']); } // START CONTENT BOXES include("includes/boxes/searchForm.inc.php"); $body->assign("SEARCH_FORM",$box_content); include("includes/boxes/session.inc.php"); $body->assign("SESSION",$box_content); include("includes/boxes/categories.inc.php"); $body->assign("CATEGORIES",$box_content); include("includes/boxes/randomProd.inc.php"); $body->assign("RANDOM_PROD",$box_content); include("includes/boxes/info.inc.php"); $body->assign("INFORMATION",$box_content); include("includes/boxes/language.inc.php"); $body->assign("LANGUAGE",$box_content); include("includes/boxes/currency.inc.php"); $body->assign("CURRENCY",$box_content); include("includes/boxes/shoppingCart.inc.php"); $body->assign("SHOPPING_CART",$box_content); include("includes/boxes/popularProducts.inc.php"); $body->assign("POPULAR_PRODUCTS",$box_content); include("includes/boxes/saleItems.inc.php"); $body->assign("SALE_ITEMS",$box_content); include("includes/boxes/mailList.inc.php"); $body->assign("MAIL_LIST",$box_content); include("includes/boxes/siteDocs.inc.php"); $body->assign("SITE_DOCS",$box_content); // END CONTENT BOXES // parse and spit out final document $body->parse("body"); $body->out("body"); ?>

When I try to go in to Admin, I get this:

select($query); // no Categories $query = "SELECT count(cart_order_id) as noOrders FROM ".$glob['dbprefix']."CubeCart_order_sum"; $noOrders = $db->select($query); // no Ccustomers $query = "SELECT count(customer_id) as noCustomers FROM ".$glob['dbprefix']."CubeCart_customer WHERE type = 1"; $noCustomers = $db->select($query); // no Ccustomers $query = "SELECT * FROM ".$glob['dbprefix']."CubeCart_admin_sessions ORDER BY time DESC LIMIT 1, 1"; $lastSession = $db->select($query); ?>

class="infoText">

CubeCart

PHP

MySQL

And a bunch more garbage that won't copy. I have no idea what happened or where to even start trying to fix the problem. Anyone got any ideas?

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

 Share

×
×
  • Create New...