Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2009
    Posts
    102
    Plugin Contributions
    0

    Default Error log when changing server (GoogleBot)

    Hi
    I moved the shop to a new server yesterday. Everything is working fine and the customers are able to shop.

    I build the new shop as a addon domain on /home/accountname/public_html/domainA.com/domainSHOP.com, then moved the DB and images to the new server, and pointed the domain to the new DNS servers. I had to change the configure.php in /includes/ and admin/includes/ to match the "new" domain (/public_html/domain.com/domain.com/ --> /public_html/domain.com/). I don't think that this is relevant to the issues (errors), but that's how it was done.

    However, I'm getting a couple (like 20-30) error messages when looking in the Error log. GoogleBot tries to access domainSHOP.com/domainSHOP.com:
    Code:
    [error] [client 66.249.71.230] File does not exist: /home/accountname/public_html/domainSHOP.com/domainSHOP.com
    How can I figure out what's gone wrong? I'm sure it's quite simple, but cant find a way to figure it out.

    I'm getting a couple of these errors as well (10-15 in a day):
    Code:
    File does not exist:/home/accountname/public_html/domainSHOP.com/401.shtml
    File does not exist:/home/accountname/public_html/domainSHOP.com/403.shtml
    File does not exist:/home/accountname/public_html/domainSHOP.com/404.shtml

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error log when changing server (GoogleBot)

    As an add on it should be for the virtual path

    /home/accountname/public_html/topdomain/addon domain

    and just

    http: //addon domain

    for the server defines in your configure.php files
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: Error log when changing server (GoogleBot)

    Quote Originally Posted by kobra View Post
    As an add on it should be for the virtual path

    /home/accountname/public_html/topdomain/addon domain

    and just

    http: //addon domain

    for the server defines in your configure.php files
    DIR_WS_CATALOG should be /home/accountname/public_html/topdomain/addon domain ? That is not how i've configured it. I've set DIR_FS_CATALOG to /home/accountname/public_html/addon domain and DIR_WS_CATALOG to / and HTTP_SERVER to http://domain.com

    and was the double // intentional?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error log when changing server (GoogleBot)

    was the double // intentional?
    Yes as it was for server define

    Code:
      define('HTTP_SERVER', 'http://addon domain.com');
      define('HTTPS_SERVER', 'https://addon domain.com');
    DIR_WS_CATALOG should be /home/accountname/public_html/topdomain/addon domain ?
    NO
    Read the comment above that entry
    If at the root of the addon
    // these paths are relative to top of your webspace ...
    (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    Your DIR_FS_CATALOG look correct

    Actually re-readin you look good

    But there is still something amis as you posted ths
    /home/accountname/public_html/domainSHOP.com/domainSHOP.com
    You might need to post the actual error message instead of being secretive with it
    You can use the code <> tags
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Mar 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: Error log when changing server (GoogleBot)

    Quote Originally Posted by kobra View Post
    ...
    Thank you. I just reviewed the error log again and GoogleBot seems to have solved itself out. I still want to confirm that the configure.php is correct though. I do not feel comfortable writing out the urls here, but i can disguise it (call it secretive...)

    To clearify (to myself mostly as I'm not 100% sure this is the way to do it)
    domain.com is the actual domain the customers type to get to the shop. All the links (as i write them in relative terms) should be pointed directly to domain.com, e.g. http://domain.com/index.php?main_page=about_us.

    The ftp folder structure is /public_html/domain.com/ in which where admin, includes etc reside. When I build the shop I added domain.com as an addon domain to my top domain (hereby called whatever.com), i.e. (removing language differences) a folder (domain.com) was created by cpanel. In this folder the shop is located. When I build the shop i accessed it through whatever.com/domain.com/index.php?main_page=index. When building was completed I pointed domain.com through my registrar to the new server DNS, thereby accessing the folder /public_html/domain.com by typing domain.com.

    Is this a correct workflow? Everything seems to be working (people are shopping), but I the google errors make me unsure bots are indexing the site properly.

    public_html/domain.com/includes/configure.php prior to pointing domain.com to the server:
    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'http://whatever.com');
      define('HTTPS_SERVER', 'https://whatever.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', '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_CATALOG', '/domain.com/');
      define('DIR_WS_HTTPS_CATALOG', '/domain.com/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_INCLUDES', 'includes/');
      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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
      define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    
      define('DIR_WS_PHPBB', '/');
    
    // * 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_CATALOG', '/home/accountname/public_html/domain.com/');
    
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
      define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
      define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    and after my edit:
    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'http://domain.com');
      define('HTTPS_SERVER', 'https://domain.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', '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_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_INCLUDES', 'includes/');
      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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
      define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    
      define('DIR_WS_PHPBB', '/');
    
    // * 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_CATALOG', '/home/accountname/public_html/domain.se/');
    
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
      define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
      define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    and /admin/includes/configure.php in a similar fashion.

    Google error code
    Code:
    [Thu Dec 09 13:57:43 2010] [error] [client 66.249.71.230] File does not exist: /home/accountname/public_html/domain.com/404.shtml
    [Thu Dec 09 13:57:43 2010] [error] [client 66.249.71.230] File does not exist: /home/accountname/public_html/domain.com/domain.com

    Another question out of the blue regarding this addon domain thing. Where should I put robots.txt? I've put
    Code:
    User-agent: *
    Disallow: /bmz_cache/
    in it, but should it be positioned in public_html/ or public_html/domain.com? Path to the cache folder is public_html/domain.com/bmz_cache

    Thanks a bunch for reading all this, it means the world to me!
    Last edited by scrap; 10 Dec 2010 at 04:20 PM.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error log when changing server (GoogleBot)

    All I can determine is that there is some reason that the bot is directed to
    Code:
    File does not exist: /home/accountname/public_html/domain.com/domain.com
    And because of that - and this does not appear to be trapped by ZenCart, and you do not have a 404.shtml file/page that is also being listed as not found
    Again you will have to decipher what domain.com/domain.com means
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Mar 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: Error log when changing server (GoogleBot)

    Quote Originally Posted by kobra View Post
    All I can determine is that there is some reason that the bot is directed to
    Code:
    File does not exist: /home/accountname/public_html/domain.com/domain.com
    And because of that - and this does not appear to be trapped by ZenCart, and you do not have a 404.shtml file/page that is also being listed as not found
    Again you will have to decipher what domain.com/domain.com means
    Yes, I've created a 404, so that issue is resolved. However, I have no idea how to decipher domain.com/domain.com. I've put on a full access log which I'll eye through daily and closer review when the error occurs again. I haven't gotten any errors this day regarding this issue, so perhaps it was something temporary concerning the bots' interpretation of the server move.

    Perhaps I'll get around the errors with missing bmz_cache files soon (Google Images forwards visitors to images that does not exist, it's a cache after all...); I put the robots.txt file i mentioned above both in /public_html/ and /public_html/domain.com/

    Btw, thank you so much for taking your time!

  8. #8
    Join Date
    Jan 2011
    Posts
    2
    Plugin Contributions
    0

    customer issue Re: Error log when changing server (GoogleBot)

    It is path wrong. Modify your config.php file in includes directory. If you don't know the right director path, you shoud copy this code in a file and visit it to find the correct path.

    PHP Code:
    echo phpinfo(); 

 

 

Similar Threads

  1. v153 When I try to log into the admin I get "Internal Server Error"
    By quest2u in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 23 Dec 2014, 01:26 AM
  2. Replies: 1
    Last Post: 4 Nov 2013, 04:18 AM
  3. v150 googlebot give 500 Internal Server Error
    By chetanthumar in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2013, 04:00 PM
  4. admin_activity_log Error when reseting admin log on IIS Server
    By chadderuski in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 15 Nov 2012, 03:07 AM
  5. 500 Internal Server Error when trying to log into admin
    By kbalona in forum General Questions
    Replies: 3
    Last Post: 3 May 2007, 11:29 PM

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