Forums / Basic Configuration / Can't bring up Admin page - Go Daddy migration

Can't bring up Admin page - Go Daddy migration

Started by retailproductsgroup on 12 Oct 2011, 3:31 PM · Views: 1,066

Results 1 to 6 of 6
12 Oct 2011, 3:31 PM
#1
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Can't bring up Admin page - Go Daddy migration

Hi everyone,

Just recently I was able to convince go daddy there was a problem with my site here:

http://northwindgreetingcards.com/

It was installed on a windows server and they just recently migrated it to a Linux server.

The site http://northwindgreetingcards.com/ responds MUCH better now since the move.

Problem now is I cannot get into the admin portion of ZC.

This link appears to be working for me:

http://northwindgreetingcards.com/adminurrhtcqq/login.php

But when I enter the current USER & PW it brings me to a blank page as shown in this image.

Go daddy did help me with two different "configure.php" files.

Inclusive of the admin folder.

Any help would be greatly appreciated...:smile:

http://northwindgreetingcards.com/public_html/images/zc_admin.jpg
12 Oct 2011, 7:37 PM
#3
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Re: Can't bring up Admin page - Go Daddy migration

stevesh:

Any error log files in your /cache folder ?

https://www.zen-cart.com/tutorials/index.php?article=82

sadly stevesh....my expertise goes only so far.

here is the configure.php located at adminurrhtcqq/includes/configure.php

<?php /** * dist-configure.php * * @package Configuration Settings * @package Admin * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $ * @private */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com /* * URL's for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://northwindgreetingcards.com'); define('HTTPS_SERVER', 'https://northwindgreetingcards.com'); define('HTTP_CATALOG_SERVER', 'http://northwindgreetingcards.com'); define('HTTPS_CATALOG_SERVER', 'https://northwindgreetingcards.com'); // secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/adminurrhtcqq/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/adminurrhtcqq/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/content/54/6684354/html/adminurrhtcqq/'); define('DIR_FS_CATALOG', '/home/content/54/6684354/html/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'nor1112506301484.db.6684354.hostedresource.com'); define('DB_SERVER_USERNAME', 'nor1112506301484'); define('DB_SERVER_PASSWORD', 'XXXXXXXX'); define('DB_DATABASE', 'nor1112506301484'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/content/54/6684354/html/cache'); ?>
12 Oct 2011, 8:07 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Can't bring up Admin page - Go Daddy migration

When you FTP to your files and look in the /cache folder, are there any files in there ?

13 Oct 2011, 12:44 PM
#5
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Re: Can't bring up Admin page - Go Daddy migration

stevesh:

When you FTP to your files and look in the /cache folder, are there any files in there ?

Stevesh,

folder here but the FTP aborts after a minute or so and nothing shows up:

northwindgreetingcards.com/cache

3 files located here:

northwindgreetingcards.com/public_html/cache which are below:

.htaccess

@copyright Copyright 2003-2010 Zen Cart Development Team

@license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

This is used with Apache WebServers

The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions

It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Will also prevent people from seeing what is in the dir. and any sub-directories

For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit Indexes

#</Directory>
###############################

<Limit GET POST PUT> Order Allow,Deny Deny from All </Limit>

#NOBODY SHOULD BE SNOOPING HERE

deny everything

<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>

IndexIgnore /

index.php

<?php /** * @package admin * @copyright Copyright 2003-2009 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: index.php 14970 2009-11-29 00:56:42Z drbyte $ */ $version_check_index=true; require('includes/application_top.php'); $languages = zen_get_languages(); $languages_array = array(); $languages_selected = DEFAULT_LANGUAGE; for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { $languages_array[] = array('id' => $languages[$i]['code'], 'text' => $languages[$i]['name']); if ($languages[$i]['directory'] == $_SESSION['language']) { $languages_selected = $languages[$i]['code']; } } ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <meta name="robot" content="noindex, nofollow" /> <script language="JavaScript" src="includes/menu.js" type="text/JavaScript"></script> <link href="includes/stylesheet.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS" /> <script type="text/javascript"> <!-- function init() { cssjsmenu('navbar'); if (document.getElementById) { var kill = document.getElementById('hoverJS'); kill.disabled = true; } } // --> </script> </head> <body onLoad="init()"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <?php

$customers = $db->Execute("select count(*) as count from " . TABLE_CUSTOMERS);

$products = $db->Execute("select count(*) as count from " . TABLE_PRODUCTS . " where products_status = '1'");

$products_off = $db->Execute("select count(*) as count from " . TABLE_PRODUCTS . " where products_status = '0'");

$reviews = $db->Execute("select count() as count from " . TABLE_REVIEWS);
$reviews_pending = $db->Execute("select count(
) as count from " . TABLE_REVIEWS . " where status='0'");

$newsletters = $db->Execute("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'");

$counter_query = "select startdate, counter from " . TABLE_COUNTER;
$counter = $db->Execute($counter_query);
$counter_startdate = $counter->fields['startdate'];
// $counter_startdate_formatted = strftime(DATE_FORMAT_LONG, mktime(0, 0, 0, substr($counter_startdate, 4, 2), substr($counter_startdate, -2), substr($counter_startdate, 0, 4)));
$counter_startdate_formatted = strftime(DATE_FORMAT_SHORT, mktime(0, 0, 0, substr($counter_startdate, 4, 2), substr($counter_startdate, -2), substr($counter_startdate, 0, 4)));

$specials = $db->Execute("select count() as count from " . TABLE_SPECIALS . " where status= '0'");
$specials_act = $db->Execute("select count(
) as count from " . TABLE_SPECIALS . " where status= '1'");
$featured = $db->Execute("select count() as count from " . TABLE_FEATURED . " where status= '0'");
$featured_act = $db->Execute("select count(
) as count from " . TABLE_FEATURED . " where status= '1'");
$salemaker = $db->Execute("select count() as count from " . TABLE_SALEMAKER_SALES . " where sale_status = '0'");
$salemaker_act = $db->Execute("select count(
) as count from " . TABLE_SALEMAKER_SALES . " where sale_status = '1'");

?>

<div id="colone"> <div class="reportBox"> <div class="header"><?php echo BOX_TITLE_STATISTICS; ?> </div> <?php echo '<div class="row"><span class="left">' . BOX_ENTRY_COUNTER_DATE . '</span><span class="rigth"> ' . $counter_startdate_formatted . '</span></div>'; echo '<div class="row"><span class="left">' . BOX_ENTRY_COUNTER . '</span><span class="rigth"> ' . $counter->fields['counter'] . '</span></div>'; echo '<div class="row"><span class="left">' . BOX_ENTRY_CUSTOMERS . '</span><span class="rigth"> ' . $customers->fields['count'] . '</span></div>'; echo '<div class="row"><span class="left">' . BOX_ENTRY_PRODUCTS . ' </span><span class="rigth">' . $products->fields['count'] . '</span></div>'; echo '<div class="row"><span class="left">' . BOX_ENTRY_PRODUCTS_OFF . ' </span><span class="rigth">' . $products_off->fields['count'] . '</span></div>'; echo '<div class="row"><span class="left">' . BOX_ENTRY_REVIEWS . '</span><span class="rigth">' . $reviews->fields['count']. '</span></div>'; if (REVIEWS_APPROVAL=='1') { echo '<div class="row"><span class="left"><a href="' . zen_href_link(FILENAME_REVIEWS, 'status=1', 'NONSSL') . '">' . BOX_ENTRY_REVIEWS_PENDING . '</a></span><span class="rigth">' . $reviews_pending->fields['count']. '</span></div>'; } echo '<div class="row"><span class="left">' . BOX_ENTRY_NEWSLETTERS . '</span><span class="rigth"> ' . $newsletters->fields['count']. '</span></div>';

echo '<br /><div class="row"><span class="left">' . BOX_ENTRY_SPECIALS_EXPIRED . '</span><span class="rigth"> ' . $specials->fields['count']. '</span></div>';
echo '<div class="row"><span class="left">' . BOX_ENTRY_SPECIALS_ACTIVE . '</span><span class="rigth"> ' . $specials_act->fields['count']. '</span></div>';
echo '<div class="row"><span class="left">' . BOX_ENTRY_FEATURED_EXPIRED . '</span><span class="rigth"> ' . $featured->fields['count']. '</span></div>';
echo '<div class="row"><span class="left">' . BOX_ENTRY_FEATURED_ACTIVE . '</span><span class="rigth"> ' . $featured_act->fields['count']. '</span></div>';
echo '<div class="row"><span class="left">' . BOX_ENTRY_SALEMAKER_EXPIRED . '</span><span class="rigth"> ' . $salemaker->fields['count']. '</span></div>';
echo '<div class="row"><span class="left">' . BOX_ENTRY_SALEMAKER_ACTIVE . '</span><span class="rigth"> ' . $salemaker_act->fields['count']. '</span></div>';

?>

</div> <div class="reportBox"> <div class="header"><?php echo BOX_TITLE_ORDERS; ?> </div> <?php $orders_contents = ''; $orders_status = $db->Execute("select orders_status_name, orders_status_id from " . TABLE_ORDERS_STATUS . " where language_id = '" . $_SESSION['languages_id'] . "'");

while (!$orders_status->EOF) {
$orders_pending = $db->Execute("select count(*) as count from " . TABLE_ORDERS . " where orders_status = '" . $orders_status->fields['orders_status_id'] . "'");

$orders_contents .= '<div class="row"><span class="left"><a href="' . zen_href_link(FILENAME_ORDERS, 'selected_box=customers&status=' . $orders_status->fields['orders_status_id'], 'NONSSL') . '">' . $orders_status->fields['orders_status_name'] . '</a>:</span><span class="rigth"> ' . $orders_pending->fields['count'] . '</span>   </div>';
$orders_status->MoveNext();

}

echo $orders_contents;
?>

</div> </div> <div id="coltwo"> <div class="reportBox"> <div class="header"><?php echo BOX_ENTRY_NEW_CUSTOMERS; ?> </div> <?php $customers = $db->Execute("select c.customers_id as customers_id, c.customers_firstname as customers_firstname, c.customers_lastname as customers_lastname, a.customers_info_date_account_created as customers_info_date_account_created, a.customers_info_id from " . TABLE_CUSTOMERS . " c left join " . TABLE_CUSTOMERS_INFO . " a on c.customers_id = a.customers_info_id order by a.customers_info_date_account_created DESC limit 5");

while (!$customers->EOF) {
$customers->fields['customers_firstname'] = zen_output_string_protected($customers->fields['customers_firstname']);
$customers->fields['customers_lastname'] = zen_output_string_protected($customers->fields['customers_lastname']);
echo ' <div class="row"><span class="left"><a href="' . zen_href_link(FILENAME_CUSTOMERS, 'search=' . $customers->fields['customers_lastname'] . '&origin=' . FILENAME_DEFAULT, 'NONSSL') . '" class="contentlink">'. $customers->fields['customers_firstname'] . ' ' . $customers->fields['customers_lastname'] . '</a></span><span class="rigth">' . "\n";
echo zen_date_short($customers->fields['customers_info_date_account_created']);
echo ' </span></div>' . "\n";
$customers->MoveNext();
}
?>

</div> <div class="reportBox"> <?php $counter_query = "select startdate, counter, session_counter from " . TABLE_COUNTER_HISTORY . " order by startdate DESC limit 10"; $counter = $db->Execute($counter_query); ?> <div class="header"><?php echo sprintf(LAST_10_DAYS, $counter->RecordCount()); ?><?php echo '<span class="rigth">    ' . SESSION . ' - ' . TOTAL . '</span>'; ?></div> <?php

while (!$counter->EOF) {
$counter_startdate = $counter->fields['startdate'];
$counter_startdate_formatted = strftime(DATE_FORMAT_SHORT, mktime(0, 0, 0, substr($counter_startdate, 4, 2), substr($counter_startdate, -2), substr($counter_startdate, 0, 4)));
echo ' <div class="row"><span class="left">' . $counter_startdate_formatted . '</span><span class="rigth"> ' . $counter->fields['session_counter'] . ' - ' . $counter->fields['counter'] . '</span> </div>' . "\n";
$counter->MoveNext();
}
?>

</div> </div> <div id="colthree"> <div class="reportBox"> <div class="header"><?php echo BOX_ENTRY_NEW_ORDERS; ?> </div> <?php $orders = $db->Execute("select o.orders_id as orders_id, o.customers_name as customers_name, o.customers_id, o.date_purchased as date_purchased, o.currency, o.currency_value, ot.class, ot.text as order_total from " . TABLE_ORDERS . " o left join " . TABLE_ORDERS_TOTAL . " ot on (o.orders_id = ot.orders_id and class = 'ot_total') order by orders_id DESC limit 5");

while (!$orders->EOF) {
echo ' <div class="row"><span class="left"><a href="' . zen_href_link(FILENAME_ORDERS, 'oID=' . $orders->fields['orders_id'] . '&origin=' . FILENAME_DEFAULT, 'NONSSL') . '" class="contentlink"> ' . $orders->fields['customers_name'] . '</a></span><span class="center">' . $orders->fields['order_total'] . '</span><span class="rigth">' . "\n";
echo zen_date_short($orders->fields['date_purchased']);
echo ' </span></div>' . "\n";
$orders->MoveNext();
}
?>

</div> </div> <!-- The following copyright announcement is in compliance to section 2c of the GNU General Public License, and thus can not be removed, or can only be modified appropriately.

Please leave this comment intact together with the
following copyright announcement. //-->

<div class="copyrightrow"><a href="http://www.zen-cart.com" target="_blank"><img src="images/small_zen_logo.gif" alt="Zen Cart:: the art of e-commerce" border="0" /></a><br /><br />E-Commerce Engine Copyright © 2003-<?php echo date('Y'); ?> <a href="http://www.zen-cart.com" target="_blank">Zen Cart™</a></div><div class="warrantyrow"><br /><br />Zen Cart is derived from: Copyright © 2003 osCommerce<br />This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;<br />without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE<br />and is redistributable under the <a href="http://www.zen-cart.com/license/2_0.txt" target="_blank">GNU General Public License</a><br /> </div> </body> </html> <?php require('includes/application_bottom.php'); ?>

sess_rtq5i6dl43c0hsn46dq7aa2vn0

installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Jan-26-2011_05-07-20-E2WWkZ";installerConfigInfo|a:0:{}

15 Oct 2011, 8:16 PM
#6
retailproductsgroup avatar

retailproductsgroup

New Zenner

Join Date:
Apr 2008
Location:
NJ
Posts:
29
Plugin Contributions:
0

Re: Can't bring up Admin page - Go Daddy migration

anyone?..........:unsure: