Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Blank page after moving to GoDaddy

    I had this website hosted with godaddy. About a year ago I moved it to bluehost.com and now I am moving it back to godaddy.com (linux)

    I did everything by the instructions and for some reason when I go to main page and admin area I get a blank page.

    Website is www.luckyeyeusa.com

    and I am following these instructions;

    https://www.zen-cart.com/tutorials/i...hp?article=100

    also I had this site with Zen Cart 1.3.8a and I install the same version first and upload all the existing site files.

    when I install 1.3.8a everything works fine but once I upload the files from old server both admiin and main page goes blank.

    I did delete and install/upload files numerous times. Also I downloaded the old files from the server couple of times just to make sure there are no broken files.

    I spent well over a week to solve it and here I am...

    Thank you in advance.

  2. #2
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Blank page after moving to another host.

    here is what I have in error.log ;

    [Tue Sep 7 09:16:36 2010] [error] [client 76.29.141.32] File does not exist: /var/chroot/home/content/e/y/e/eyelucky/html/index.html

    [Tue Sep 7 09:16:36 2010] [error] [client 76.29.141.32] File does not exist: /var/chroot/home/content/e/y/e/eyelucky/html/missing.html


    I am suspecting a sql problem, but I am not sure and dont know how to fix it if its the problem.

    I also tried "fix_cache_key"

  3. #3
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Blank page after moving to another host.

    when I try to go to admin
    (www.luckyeyeusa.com/admin) it opens the php file, which is
    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                                       |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2006 The zen-cart developers                           |
    // |                                                                      |
    // | http://www.zen-cart.com/index.php                                    |
    // |                                                                      |
    // | Portions Copyright (c) 2003 osCommerce                               |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,       |
    // | that is bundled with this package in the file LICENSE, and is        |
    // | available through the world-wide-web at the following url:           |
    // | http://www.zen-cart.com/license/2_0.txt.                             |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to       |
    // | [email protected] so we can mail you a copy immediately.          |
    // +----------------------------------------------------------------------+
    //  $Id: index.php 5454 2006-12-29 20:10:17Z 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'] == $language) {
          $languages_selected = $languages[$i]['code'];
        }
      }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <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'");
    
    // BEGIN newsletter_subscribe mod 1/1
      if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
         (NEWSONLY_SUBSCRIPTION_ENABLED=='true')) {
        $newsletters = $db->Execute("select count(*) as count from " . TABLE_SUBSCRIBERS . " where confirmed= '1' or customers_id >= '1'");
      } else {
        $newsletters = $db->Execute("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'");
      }
    // END newsletter_subscribe mod 1/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) {
        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"> &nbsp;&nbsp;&nbsp;' . 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) where 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 &copy; 2003-<?php echo date('Y'); ?> <a href="http://www.zen-cart.com" target="_blank">Zen Cart&trade;</a></div><div class="warrantyrow"><br /><br />Zen Cart is derived from: Copyright &copy; 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'); ?>

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank page after moving to another host.

    Quote Originally Posted by runoka View Post
    I had this website hosted with godaddy. About a year ago I moved it to bluehost.com and now I am moving it back to godaddy.com (linux)
    How on earth did they bribe you to go back?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank page after moving to another host.

    Quote Originally Posted by runoka View Post
    when I try to go to admin
    (www.luckyeyeusa.com/admin) it opens the php file
    That's because the server isn't set up to handle PHP.

    Not a good place to try and run a PHP-driven website.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Apr 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Blank page after moving to another host.

    Hi,

    First, I'd suggest to rename the admin folder to another one, for some security reason.
    Next, are you sure that your server allow you to run some php stuff ?
    Is it your own server ?

    HTH
    Pascal

  7. #7
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Blank page after moving to another host.

    Well I already know about godaddy but its for a friend of mine and he wants to use godaddy for some reason!

    Anyways, it is a Godaddy Hosting - Shared - Deluxe - Linux hosting account.

    You said server isn't set up to handle PHP, but it was working on the same hosting right before I uploaded the files from the old server and import the sql through myadminphp.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank page after moving to another host.

    Maybe you deleted something you shouldn't have, like a custom php.ini or .htaccess file.

    Log a ticket with their support department to fix the PHP configuration problem on the account. Make them work for their money.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Blank page after moving to another host.

    Ok, I am calling them as I type. I spent well over 20 hours for it and I am just frustrated...

  10. #10
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Blank page after moving to another host.

    first they asked
    what is the indication that makes you believe its a php configuration...

    now they will upload a test php script to check if it is the problem or not...

    it will take 5 to 10 minutes...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Blank page after moving to new server
    By rxalex in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 25 Dec 2012, 08:57 PM
  2. blank page + error in admin after moving
    By bartslegers in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 6 Feb 2010, 10:03 PM
  3. Blank Admin Page After Installation - Hosted on Godaddy
    By hikenny in forum Installing on a Linux/Unix Server
    Replies: 22
    Last Post: 25 Jan 2010, 08:02 AM
  4. Index page is blank after moving from subfolder to root
    By joe051864 in forum General Questions
    Replies: 5
    Last Post: 15 Dec 2009, 09:45 PM
  5. Default page blank after moving to new server
    By Dale Thomas in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 22 Apr 2007, 05:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR