Jump to content

HELP SITE NOT LOADING


Guest

Recommended Posts

no i didnt touch anything

i was working on updateding the site

i was done around 7 pm

then at about 8 pm i get a email from a friend saying the website doesnt load

is it a hosting problem? my host is unavailble and i cant contact them

can i fix the path problem?

my webmail works

my admin doesnt

my homepage/site doesnt

my ftp works

???

??

??

?

Link to comment
Share on other sites

<?php

/*

+--------------------------------------------------------------------------

| CubeCart v3.0.6

| ========================================

| by Alistair Brookbanks

| CubeCart is a Trade Mark of Devellion Limited

| © 2005 Devellion Limited

| Devellion Limited,

| Westfield Lodge,

| Westland Green,

| Little Hadham,

| Nr Ware, HERTS.

| SG11 2AL

| UNITED KINGDOM

| http://www.devellion.com

| UK Private Limited Company No. 5323904

| ========================================

| Web: http://www.cubecart.com

| Date: Wednesday, 9th October 2005

| Email: info (at) cubecart (dot) com

| License Type: CubeCart is NOT Open Source Software and Limitations Apply

| Licence Info: http://www.cubecart.com/site/faq/license.php

+--------------------------------------------------------------------------

| index.php

| ========================================

| Main pages of the store

+--------------------------------------------------------------------------

*/

include_once("includes/ini.inc.php");

// INCLUDE CORE VARIABLES & FUNCTIONS

include_once("includes/global.inc.php");

// check if installed

if($glob['installed']==0){

header("location: install/index.php");

exit;

} elseif((file_exists($glob['rootDir']."/install/index.php") || file_exists($glob['rootDir']."/upgrade.php") && $glob['installed']==1)){

echo "<strong>WARNING</strong> - Your store will not function until the install directory and/or upgrade.php is deleted from the server.";

exit;

}

// initiate db class

include_once("classes/db.inc.php");

$db = new db();

include_once("includes/functions.inc.php");

$config = fetchDbConfig("config");

include_once("includes/sessionStart.inc.php");

/* <rf> search engine friendly url mod */

include_once("includes/sef_urls.inc.php");

$sefroot = sef_script_name();

if($config['sef'] == 0 && preg_match('#'.$glob['rootRel'].$sefroot.'#i', $_SERVER['PHP_SELF'])) {

// if this script got called my the shop script and we aren't using sef urls then redirect to index.php

Header("Location: ".$glob['rootRel']."index.php");

}

/* <rf> end of mod */

include_once("includes/sslSwitch.inc.php");

// get session data

include_once("includes/session.inc.php");

// get exchange rates etc

include_once("includes/currencyVars.inc.php");

$lang_folder = "";

if(empty($ccUserData[0]['lang'])){

$lang_folder = $config['defaultLang'];

} else {

$lang_folder = $ccUserData[0]['lang'];

}

include_once("language/".$lang_folder."/lang.inc.php");

// require template class

include_once("classes/xtpl.php");

$body = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/global/index.tpl");

if(isset($_GET['searchStr'])){

$body->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 ($_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)){

/* <rf> search engine friendly url mod */

$body->assign("META_TITLE", sefMetaTitle());

$body->assign("META_DESC", sefMetaDesc());

$body->assign("META_KEYWORDS", sefMetaKeywords());

/* <rf> end mod */

} else {

$body->assign("META_TITLE",$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");

?>

echo "<strong>WARNING</strong> - Your store will not function until the install directory and/or upgrade.php is deleted from the server.";

exit;

Hi Sysadmin!

Hi sysadmin, h2o has hacked your system...

Sorry for my bad English but I'm Italian

Ciao ciao ci vediamo

Ciao e grazie anche a Gaara per il logo :D bye bye

Remember: H2o and Italian Mafia Owned You!

any one know how or what to do ? i was hacked

this guy has been hacking lots of paintballwebsites he hit www.PBstar.com about 1 x per week for 3 months

what an a

Link to comment
Share on other sites

Im afraid 3.0.6 had issues and you should of updated your site to at least 3.0.7pl1 we are currently on 3.0.8

there is nothing you can do im afraid as they are on your server and could re boot the infected files.

Im sorry but you will have to delete and re install cubecart from your server or take the risk of simply updating the files.

I know of no other solution so unless someone can help its your only option.

Link to comment
Share on other sites

sorry pb and all i am having alot of internet problems at the moment and am currently Very busy expanding the business i fixed your site and am currently restoring the style you had created...

If you have any further problems post on the board as you are more likely to get a responce from someone else if im not around...

Aikdo - Cezz

Link to comment
Share on other sites

thanks aikdo i knew youd pull threw for me

was just geting nervous of having no responce

i guess now ur geting www.pbmansion.com up

www.pbmansion.com/index.php works

i believe the site was hacked by h2o or something

did you see any of that?

Link to comment
Share on other sites

yea you wernt the only one on the server that was which makes me think they targeted the server you are upgraded to the more secure 3.0.8 now atleast so sould be a hell of a lot more secure.

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.

×
×
  • Create New...