Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    My apologies to you bud, I've been so frustrated with this I failed to mention that. On my original site I had it setup as two separate catalogs which worked fine and still does. Anyway, let me get back to you later tonight after work so I can spend some time sorting this.

  2. #22
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    Ok here it is, if you go here you will see what I have http://act-iv.com/doubledstoreonline . This site was setup so that when you type "www.doubledstoreonline.com" in the address that is where you would be taken but I have changed it to direct to the new site, all that is fine and dandy.
    The http://act-iv.com/doubledstoreonline was designed originally as the act-iv shop instead of doubledstore so I did a clean install then pointed the doubledstore catalog to use the original act-iv shop catalog, this as you can see if you visit the site worked out great.
    Now with that said I don't really care if it still uses the "Shop" catalog because if I can get the darn doubledstore thing to work on the new site I can change that later.
    Last edited by kay6284; 9 Jul 2008 at 12:28 PM.

  3. #23
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    Original config file (this is the functioning site):

    define('HTTP_SERVER', 'http://www.act-iv.com');
    define('HTTPS_SERVER', 'https://www.act-iv.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', '/doubledstoreonline/');
    define('DIR_WS_HTTPS_CATALOG', '/doubledstoreonline/');

    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/public_html/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('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'act_');
    define('DB_SERVER', '*****');
    define('DB_SERVER_USERNAME', '*******');
    define('DB_SERVER_PASSWORD', '*************');
    define('DB_DATABASE', 'lrk_*****_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/public_html/doubledstoreonline/cache')

    New config file (This is the failing site):

    define('HTTP_SERVER', 'http://www.dennisramsey.com');
    define('HTTPS_SERVER', 'https://www.dennisramsey.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', '/doubledstoreonline/');
    define('DIR_WS_HTTPS_CATALOG', '/doubledstoreonline/');

    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', '/data/16/1/0/76/1489076/user/1601385/htdocs/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', 'act_');
    define('DB_SERVER', '*****');
    define('DB_SERVER_USERNAME', '******');
    define('DB_SERVER_PASSWORD', '******');
    define('DB_DATABASE', '*******_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/data/16/1/0/76/1489076/user/1601385/htdocs/doubledstoreonline/cache')
    Last edited by kay6284; 10 Jul 2008 at 12:58 AM.

  4. #24
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Migrated database and files... having trouble

    First observation is that this looks odd:
    Quote Originally Posted by kay6284 View Post
    define('DIR_FS_CATALOG', '/data/16/1/0/76/1489076/user/1601385/htdocs/Shop/');
    define('DIR_FS_SQL_CACHE', '/data/16/1/0/76/1489076/user/1601385/htdocs/doubledstoreonline/cache')
    Chances are it would be better to point both of these to the correct path, ie: one that exists.
    And, in Admin->Configuration->Sessions, set the Session Directory to the same (existing, writable) path as DIR_FS_SQL_CACHE.
    .

    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. #25
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    I did try that and just did again per your suggestion. One thing I did notice is the cache folder has permissions of 775, my original site that was 777. Does the cache folder require permission of 777? I have tried to change it to that but Network Solutions keeps overwriting my permissions and setting it back to 775.

  6. #26
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    Also, maybe I'm wrong, but it seems to me I recall having to set the store directory "/data/16/1/0/76/1489076/user/1601385/htdocs/Shop/" (in my original site) in another file other than the config.php, is this so? I cannot remember where I had to do this.

  7. #27
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Migrated database and files... having trouble

    http://www.act-iv.com/doubledstoreonline/
    Works as expected

    http://www.act-iv.com/Shop/
    Works but with path problems; images not showing due to wrong URL.

    http://www.doubledstoreonline.com/Sh...act-ivlogo.gif

    should be

    http://www.doubledstoreonline.com/in...act-ivlogo.gif



    These two URLs do not work:
    http://www.doubledstoreonline.com/
    http://dennisramsey.com/doubledstoreonline/

    due to misconfiguration:

    Fatal error: Class 'phpBB' not found in /data/16/1/0/76/1489076/user/1601385/htdocs/doubledstoreonline/includes/autoload_func.php on line 79


    As to dir. permissions of 775, that is / was probably setup by your Hoster for good security whilst allowing scripts not owned by you to run. Mind you, it could be a Server-wide settings applying to all Clients. So even though you do not require that setting it still applies to your Hosting account. Other accounts may be using Joomla or Mamba for example, both of which require some dir. / files to be owned by 'nobody' in order to work. A security problem indeed and permissions of 775 allow the best of both worlds.

  8. #28
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    Quote Originally Posted by Website Rob View Post
    That is the old site (I have not disabled it yet)

    http://www.act-iv.com/Shop/
    Works but with path problems; images not showing due to wrong URL.
    That is also correct, it was never intended to function.


    These two URLs do not work:
    http://www.doubledstoreonline.com/
    http://dennisramsey.com/doubledstoreonline/

    due to misconfiguration:
    That is the new one we are trying to fix.

  9. #29
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Migrated database and files... having trouble

    Admin > My Store > Enable phpBB linkage?

    Not sure if want a phpBB link or not but make that setting 'false' and see what happens.

  10. #30
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Migrated database and files... having trouble

    That is set to false.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v154 Migrated site to v1.5.4 and having a small issue with categories
    By drgr33n in forum General Questions
    Replies: 15
    Last Post: 1 Oct 2015, 04:26 PM
  2. Having trouble importing my database
    By pharry in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 22 Jun 2009, 11:14 AM
  3. Having trouble finding my files via FTP
    By thuanstreasures in forum General Questions
    Replies: 5
    Last Post: 4 Aug 2008, 02:05 AM
  4. Having Trouble transfering database
    By y2steve in forum General Questions
    Replies: 4
    Last Post: 2 Apr 2007, 10:46 PM
  5. Having trouble downloading ZenCart files
    By janeausten72 in forum General Questions
    Replies: 4
    Last Post: 7 Sep 2006, 02:22 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