Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2007
    Posts
    53
    Plugin Contributions
    0

    help question Moved Server, Getting Errors! Please help!! :D

    Hi!!

    Well, I am doing this move for someone else and it has been somewhat smooth until now... The one major hiccup for me has been that she was running an incredibly outdated Version 1.3.0.1... I downloaded this old fileset and went to town. I followed the steps on the Article 100 to the T... And made it all the way to Fix_Cache_Key.php

    It gave me this error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/dreacout/public_html/dreacustomdesigns/cart/fix_cache_key.php:43) in /home/dreacout/public_html/dreacustomdesigns/cart/includes/application_top.php on line 60

    Warning: include(/home/and504/public_html/cart/includes/classes/class.base.php) [function.include]: failed to open stream: No such file or directory in /home/dreacout/public_html/dreacustomdesigns/cart/includes/autoload_func.php on line 59

    Warning: include() [function.include]: Failed opening '/home/and504/public_html/cart/includes/classes/class.base.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dreacout/public_html/dreacustomdesigns/cart/includes/autoload_func.php on line 59

    Warning: include(/home/and504/public_html/cart/includes/classes/class.notifier.php) [function.include]: failed to open stream: No such file or directory in /home/dreacout/public_html/dreacustomdesigns/cart/includes/autoload_func.php on line 59

    Warning: include() [function.include]: Failed opening '/home/and504/public_html/cart/includes/classes/class.notifier.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dreacout/public_html/dreacustomdesigns/cart/includes/autoload_func.php on line 59

    Fatal error: Class 'notifier' not found in /home/dreacout/public_html/dreacustomdesigns/cart/includes/autoload_func.php on line 78



    I did think that perhaps she had corrupted these files and uploaded completely untouched versions over her files to see if it helped, but I got the exact same error again.

    When I go to fix_cache_key.php, it gives me the error... When I go to the cart URL, which is http://www.dreacustomdesigns.com/cart/ it asks me to setup the cart...

    Please help!!

    Thanks so much!! You guys are amazing!!

    ~Sarah~

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

    Default Re: Moved Server, Getting Errors! Please help!! :D

    Don't worry about fix_cache_key until you get the storefront working.
    Your first issue to address is this one:
    Quote Originally Posted by ssdsarah View Post
    When I go to the cart URL, which is http://www.dreacustomdesigns.com/cart/ it asks me to setup the cart...
    This suggests that you have old or invalid configure.php files.

    You said you followed Tutorial 100 "to the T".
    I gather that means you have a copy of the files from step 2(c), right?

    But ... later you probably overwrote them:
    I did think that perhaps she had corrupted these files and uploaded completely untouched versions over her files to see if it helped
    Post the /includes/configure.php file contents from step 2(c) here (without the password).
    And try copying both of your step 2(c) backup files back to the server and try accessing the site again.
    What happens?
    .

    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.

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

    Default Re: Moved Server, Getting Errors! Please help!! :D

    I hope she has patched her 1.3.0.1 site with the security patches released for it.

    ... And I hope you're encouraging her to do a full upgrade sometime soon as well.
    .

    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.

  4. #4
    Join Date
    Jun 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Moved Server, Getting Errors! Please help!! :D

    I did save them... I didn't know that the store front asking me to set things up meant that I wasn't ready for Fix_Cache thingie... I will upload them again and hopefully that will help...

    I am DEFINITELY suggesting she do a major update on this thing as soon as it is ready to go, I already sent her an email about that one for sure...

    Thanks for the help, be back in a few with news on whether it worked or not!

    ~Sarah~

  5. #5
    Join Date
    Jun 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Moved Server, Getting Errors! Please help!! :D

    Here is the untouched codes from the includes/configure.php file... I dug them out as I had saved them in two places and one had gotten corrupted. SO, I uploaded the configure files to admin/includes and includes...

    I am still getting the set up interface when I click on the URL but these files had been overwritten...

    Maybe there is just a delay of some sort... grr...

    The files that I overwrote with untouched ones were application_top.php and autoload_function.php, since it seemed like those were the files that had gone amiss in the error message, I did not knowingly overwrite the Configure files... (but I did overwrite them so I guess it doesn't matter if I did it on purpose, lol.) Meanwhile, I have put the old configure files in and I am still not getting the storefront...

    Anyhow, here is the file content you asked for...
    Thanks again!
    ~Sarah~


    <?php
    //
    // +----------------------------------------------------------------------+
    // |Zen Cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2004 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. |
    // +----------------------------------------------------------------------+
    //

    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    define('HTTP_SERVER', 'http://dreacustomdesign.com');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://cp26.heritagewebdesign.com/~and504');
    // secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // 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', '/cart/');
    define('DIR_WS_HTTPS_CATALOG', '/cart/');

    define('DIR_WS_IMAGES', 'images/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '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/and504/public_html/cart/');

    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/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'and504_zen');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'and504_zen');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // 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/and504/public_html/cart/cache');

    define("BSTONER_START_YEAR", 2006);

    ?>

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

    Default Re: Moved Server, Getting Errors! Please help!! :D

    The configure.php content you posted is from the old server, not from the new one.
    .

    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.

  7. #7
    Join Date
    Jun 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Moved Server, Getting Errors! Please help!! :D

    yes, it seems my brain is failing me since it is late at night... Let me see if I can try this again... *sigh*

    ok... so if one of the configure files I saved was corrupted and 0 bytes... does this mean I have to start over?? Because I would really prefer not to do that if I can help it...

    dang it...
    Still thankful for the help...
    ~sarah~

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

    Default Re: Moved Server, Getting Errors! Please help!! :D

    Well, there are a few problems:
    1. The /admin/includes/configure.php is *not* the same as the /includes/configure.php file. They are similar, but not identical.

    2. Based on the error messages you reported, the following *might* work:
    Code:
    <?php
    // Define the webserver and path parameters
      define('HTTP_SERVER', 'http://dreacustomdesign.com');
      define('HTTPS_SERVER', 'https://www.dreacouture.com/dreacustomdesigns');
      define('ENABLE_SSL', 'true');
    
    // 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', '/cart/');
      define('DIR_WS_HTTPS_CATALOG', '/cart/');
    
      define('DIR_WS_IMAGES', 'images/');
      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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
      define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    
      define('DIR_WS_PHPBB', '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/dreacout/public_html/dreacustomdesigns/cart/');
    
      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/');
    
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', '');
      define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
      define('DB_SERVER_USERNAME', 'and504_zen');
      define('DB_SERVER_PASSWORD', '');
      define('DB_DATABASE', 'and504_zen');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    
      // 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/dreacout/public_html/dreacustomdesigns/cart/cache');
    
      define("BSTONER_START_YEAR", 2006);
    
    ?>
    Then make similar changes to your /admin/includes/configure.php file
    .

    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
    Jun 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Moved Server, Getting Errors! Please help!! :D

    Worth a try!! Thanks so much!
    Be back in a few, again...

    ~Sarah~

  10. #10
    Join Date
    Jun 2007
    Posts
    53
    Plugin Contributions
    0

    Default Re: Moved Server, Getting Errors! Please help!! :D

    OMGosh, it worked!!

    It is complaining about stuff but I can see the content from the database, YAY!!

    SO, now should I run the fix_cache_key thing??

    I can't believe I got it to do that, It seems like a miracle!!

    Thank you so much, Zen God Dr. Byte!!

    ~Sarah~

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139g Moved to new server. Getting error messages.
    By Allaction in forum Basic Configuration
    Replies: 5
    Last Post: 28 Jul 2012, 12:22 AM
  2. v139h Moved to another server; getting 404 for all sub pges
    By esinedc in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 30 Jun 2012, 02:58 PM
  3. Help with server errors - GoDaddy server
    By Johnnycopilot in forum General Questions
    Replies: 8
    Last Post: 19 Apr 2012, 10:39 PM
  4. Moved to new server getting errors help!
    By headyntl in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 28 Jun 2009, 06:46 PM
  5. Moved Server, Strange Admin Errors...
    By ssdsarah in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 7 Jan 2008, 03:40 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