Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Jun 2014
    Location
    Switzerland
    Posts
    11
    Plugin Contributions
    0

    Default Re: Transfer to new server

    I've see, but I don't know it's false...


    PHP Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.8
     * @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
     */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

    // 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://37.187.147.47');
      
    define('HTTPS_SERVER''https://37.187.147.47');

      
    // 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''/~digiscr2/shop/');
      
    define('DIR_WS_HTTPS_CATALOG''/~digiscr2/shop/');

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

      
    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');
      
    define('DB_SERVER_USERNAME''digiscr2_shop');
      
    define('DB_SERVER_PASSWORD''PASSWORD');
      
    define('DB_DATABASE''digiscr2_shop');
      
    define('USE_PCONNECT''false');
      
    define('STORE_SESSIONS''db');
      
    // for STORE_SESSIONS, 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''file'); 
      
    define('DIR_FS_SQL_CACHE''/~digiscr2/shop/cache');

    // EOF

  2. #22
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Transfer to new server

    Quote Originally Posted by lat9 View Post
    From the message that you posted:
    Code:
    Your file / includes / configure.php and / or / admin / includes / configure.php contains configuration information invalid path and / or a misconfiguration of the database.
    If you recently edit your configure.php files, or perhaps moved your site to a different directory or server, then you need to review and update your configuration.
    Read the FAQ and online tutorials on the site Zen Cart ™ for assistance.
    Additional Information: includes / configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set
    I've highlighted the "Additional information" section, which says that your DIR_FS_CATALOG value needs 'adjustment'.
    Actually my bad - looking at what I earlier posted above (...under time pressure...)

  3. #23
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Transfer to new server

    The correct procedure for moving a site to another server:

    http://www.zen-cart.com/content.php?...fferent-server

  4. #24
    Join Date
    Jun 2014
    Location
    Switzerland
    Posts
    11
    Plugin Contributions
    0

    Default Re: Transfer to new server

    It's not possible to make only a backup and restore of entire account on Cpanel?

  5. #25
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Transfer to new server

    Quote Originally Posted by gmonnet View Post
    I've see, but I don't know it's false...


    PHP Code:
    // * 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''/~digiscr2/shop/');

      
    define('DIR_FS_SQL_CACHE''/~digiscr2/shop/cache');

    // EOF 
    Maybe I just need some sleep, but these two lines seem bad to me... That's not a valid path...

    Try changing those lines to:
    PHP Code:
    define('DIR_FS_CATALOG''/home/digiscr2/public_html/'); 
    PHP Code:
    define('DIR_FS_SQL_CACHE''/home/digiscr2/public_html/'); 
    Also, check and make sure your database is named the same way (in your NEW cPanel, go to MySQL Databases and see if you have a database named digiscr2_shop). It should be there, but check anyway.

    Regards,
    Leonard
    Last edited by balihr; 17 Jun 2014 at 03:41 PM. Reason: bad formatting

  6. #26
    Join Date
    Jun 2014
    Location
    Switzerland
    Posts
    11
    Plugin Contributions
    0

    Default Re: Transfer to new server

    If I make that, I have a blank page...

    Yes the database is correct...

    :-(

  7. #27
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Transfer to new server

    Quote Originally Posted by gmonnet View Post
    It's not possible to make only a backup and restore of entire account on Cpanel?
    Yes, as long as your domain-name is already pointed to the new cPanel server AND your PHP/MySQL/Apache versions are compatible.


    You can build the correct configure.php files for your new site by running zc_install and choosing "Install". This will create new configure.php files which will work on your server ... and will wipe out the database. Then restore the database from backup again.
    .

    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.

  8. #28
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Transfer to new server

    OK, so, just to make things clear for everyone else... In the spirit of ZC community, I've offered the OP to take a quick look at his files since stuff like this are usually incredibly simple to fix.

    OP's site is using some commercial modules (ionCube encrypted) and are probably locked to a domain which in this case was changed. No error logs were created, just a blank page. After completely removing the encrypted modules from the system, site is working just fine.
    The issue has nothing to do with Zen Cart or with changing servers, but instead with using encrypted modules and changing domain name.

    So, a word of advice for anyone else out there wanting to use encrypted commercial modules: first of all, be prepared for issues. And second - in case of any issues, you're limited to support from the company you've purchased your modules from...

    A word of advice for me: next time you offer free help, try not spending 5 hours on it...

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Admin half loading after site transfer to new server
    By dj_chillerz in forum General Questions
    Replies: 11
    Last Post: 5 Nov 2011, 03:11 PM
  2. Transfer installation to a new domain but same server
    By gyro123 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 7 Nov 2010, 07:22 PM
  3. How do you transfer from a dev WAMP server to a LAMP server?
    By diannev in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 29 Feb 2008, 09:02 AM
  4. Error after a transfer to new server
    By patj in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Mar 2007, 12:50 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