Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Wrong Url coming up

    the url is coming up as mydomain.com/testsite/testsite

    What do I have wrong in the config files?
    Thank you,
    autoace

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

    Default Re: Wrong Url coming up

    What do I have wrong in the config files?
    How about a look at them???
    Past them here and Z-out your admin folder name and DB details
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Wrong Url coming up

    for the includes:

    PHP 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://www.mydomain.com/testsite');
    define('HTTPS_SERVER''https://www.mydomain.com/testsite');
      
    //Use 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''/testsite/');//'/'
    define('DIR_WS_HTTPS_CATALOG''/testsite/');//'/'

    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''/xxxxxx/xxxxxxxxx/xxxx_xxxx/testsite/');

    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''xxxxxx_xxx');
    define('DB_SERVER_PASSWORD''xxxxxx');
    define('DB_DATABASE''xxxx_xxxxx');
    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''/xxxxxxx/xxxxxxx/xxxxx_xxxxxx/testsite/cache'); 
    *****

    and for the admin:

    PHP Code:
    define('HTTP_SERVER''https://www.mydomain.com/testsite');/*http*/
      
    define('HTTPS_SERVER''https://www.mydomain.com/testsite');
      
    define('HTTP_CATALOG_SERVER''https://www.mydomain.com/testsite');/*http*/
      
    define('HTTPS_CATALOG_SERVER''https://www.mydomain.com/testsite');

      
    // Use secure webserver for catalog module and/or admin areas?
      
    define('ENABLE_SSL_CATALOG''true');
      
    define('ENABLE_SSL_ADMIN''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_ADMIN''/testsite/xxxxxx/');
      
    define('DIR_WS_CATALOG''/testsite/');//'/'
      
    define('DIR_WS_HTTPS_ADMIN''/testsite/xxxxxx/');
      
    define('DIR_WS_HTTPS_CATALOG''/testsite/');//'/'

      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    define('DIR_WS_CATALOG_IMAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'images/');
      
    define('DIR_WS_CATALOG_TEMPLATE'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/templates/');
      
    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_CATALOG_LANGUAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/languages/');

    // * 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_ADMIN''/xxxxxx/xxxxxxx/xxxxx_xxxx/testsite/xxxxxxxxxx/');
      
    define('DIR_FS_CATALOG''/xxxxxxx/xxxxxxxxxx/xxxxxx_xxxx/testsite/');

      
    define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');
      
    define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');
      
    define('DIR_FS_CATALOG_TEMPLATES'DIR_FS_CATALOG 'includes/templates/');
      
    define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/');
      
    define('DIR_FS_EMAIL_TEMPLATES'DIR_FS_CATALOG 'email/');
      
    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');

    // define our database connection
      
    define('DB_TYPE''mysql');
      
    define('DB_PREFIX''');
      
    define('DB_SERVER''localhost');
      
    define('DB_SERVER_USERNAME''xxxxxxx_xxxxxxx');
      
    define('DB_SERVER_PASSWORD''xxxxx');
      
    define('DB_DATABASE''xxxxxxxxx_xxxxxx');
      
    define('USE_PCONNECT''false');
      
    define('STORE_SESSIONS''xx');
      
    // 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''/xxxxx/xxxxxxxx/xxxxxx_xxxxx/testsite/cache'); 
    Thanks for any help you can provide
    Last edited by autoace; 9 Oct 2010 at 09:42 PM.
    Thank you,
    autoace

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

    Default Re: Wrong Url coming up

    What you have pasted looks OK with the exception of what I highlighted in red
    Code:
    define('DIR_WS_CATALOG', '/testsite/');//'/'
    define('DIR_WS_HTTPS_CATALOG', '/testsite/');//'/'
    Suspect would be the editor you are using as this is a php file there should be no spurious added anything and there may be others not visible
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Wrong Url coming up

    ok, good thanks.

    I'm not sure what I did, but the url comes up right now (http://www.mydomain.com/testsite) but its not pullling the global stylesheet? I did a 'view page source' and the base href is still coming up as http://www.mydomain.com/testsite/testsite and the stylesheet.css is being called but not displaying?

    The testside admin is good.

    Any thoughts?
    Thank you,
    autoace

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

    Default Re: Wrong Url coming up

    Where is this site?
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Wrong Url coming up

    in the /testsite folder

    NOT /testsite/testsite
    Thank you,
    autoace

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

    Default Re: Wrong Url coming up

    Where is the url to your site?
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Wrong Url coming up

    sent via pm
    Thank you,
    autoace

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

    Default Re: Wrong Url coming up

    I do not do Support via PM

    If you do not want the spiders to pick it up place ONE space in it like
    http: //www.zen-cart.com/
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Products Expected/Coming Soon in wrong order?
    By DMLyons in forum General Questions
    Replies: 3
    Last Post: 26 Aug 2014, 12:18 PM
  2. v150 Orders coming in wrong date
    By panelcart in forum General Questions
    Replies: 8
    Last Post: 8 Aug 2012, 11:16 AM
  3. wrong url
    By Ivanna in forum General Questions
    Replies: 6
    Last Post: 2 Mar 2012, 12:39 AM
  4. .htaccess redirect help for a coming soon URL
    By limelites in forum General Questions
    Replies: 4
    Last Post: 17 Jul 2011, 02:32 AM
  5. Products coming up in wrong area
    By cshart in forum General Questions
    Replies: 1
    Last Post: 21 May 2006, 04:31 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