Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    13
    Plugin Contributions
    0

    customer issue double url in my links

    Here is some trouble that i run into maybe for some one to read that have the same trouble.

    What i had was links like this true the whole page.
    http://www.abcd.com/www.abcd.com/index.php

    The thing that i done wrong was this in the configure.php file

    It was like this:
    PHP Code:
    define('HTTP_SERVER''www.abcd.com');
    define('HTTPS_SERVER''https://www.abcd.com'); 
    Then i get double urls somehow.

    i changed it into this:
    PHP Code:
    define('HTTP_SERVER''http://www.abcd.com');
    define('HTTPS_SERVER''https://www.abcd.com'); 
    And the problem was fixed.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: double url in your links

    Thanks for the posting the issues involved in configuring the two configure.php files correctly and how setting them up incorrectly will cause issues in how the site runs ...

    This example will allow somethings to "appear" to work and other things to fail ... this makes it hard to see the cause of the problem, initially ...

    Once the two configure.php files are setup correctly, the problems will resolve ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2010
    Posts
    13
    Plugin Contributions
    0

    customer issue Re: double url in your links

    Im still having problems with SSL

    When im having it like this im having problems with the login. security popup error.
    Code:
    if ($connection == 'NONSSL') {
          $link = HTTP_SERVER;
        } elseif ($connection == 'SSL') {
          if (ENABLE_SSL == 'true') {
            $link = HTTPS_SERVER;
          } else {
            $link = HTTP_SERVER;
          }
    When i do it like this everything is ok
    Code:
    if ($connection == 'NONSSL') {
          $link = HTTPS_SERVER;
        } elseif ($connection == 'SSL') {
          if (ENABLE_SSL == 'true') {
            $link = HTTPS_SERVER;
          } else {
            $link = HTTP_SERVER;
          }
    I have test to remove the css file with the back ground picture but that dit not work.

    Somehow im thinking its in de button clicks from:
    login and the search

    these are shown in the source http but not https
    could somebody look at my page and give me advice how to change these files if its them what makes the security popup to the way it work then?

    http://www.apajo.nl

    thanks greets,
    TALES

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: double url in my links

    Post your two configure.php files, from the server, without your username or password ...
    /includes/configure.php
    /admin/includes/configure.php

    NOTE: if you have changed your /admin to another name, you should mask your new /admin name so it is still hidden from the world ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Apr 2010
    Posts
    13
    Plugin Contributions
    0

    customer issue Re: double url in my links

    My includes:
    PHP Code:
    define('HTTP_SERVER''http://www.apajo.nl');
    define('HTTPS_SERVER''https://apajo-nl.firstfind.nl');

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

    // * 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/apajo.nl/public_html/');

    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/'); 
    My admin includes:
    PHP Code:
    * If you desire your *entireadmin to be SSL-protected, make sure you use "https:" URL for all 4 of the following:
     */
      
    define('HTTP_SERVER''http://www.apajo.nl');
      
    define('HTTPS_SERVER''https://apajo-nl.firstfind.nl');
      
    define('HTTP_CATALOG_SERVER''http://www.apajo.nl');
      
    define('HTTPS_CATALOG_SERVER''https://apajo-nl.firstfind.nl');

      
    // 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''/xxxxmyrenamedadmindirxxxxx/');
      
    define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_ADMIN''/xxxxmyrenamedadmindirxxxxx/');
      
    define('DIR_WS_HTTPS_CATALOG''/');

      
    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''/home/apajo.nl/public_html/xxxxmyrenamedadmindirxxxxx/');
      
    define('DIR_FS_CATALOG''/home/apajo.nl/public_html/');

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

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: double url in my links

    Where are you seeing these double URLs ... I am not seeing them on the site ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v154 Double URL's and no formatting.
    By lot49 in forum General Questions
    Replies: 25
    Last Post: 24 Jun 2015, 10:15 PM
  2. Double URL in Login Links
    By ttscanada in forum General Questions
    Replies: 6
    Last Post: 5 Jun 2009, 01:10 AM
  3. Links Have Double URL
    By AdamB in forum General Questions
    Replies: 5
    Last Post: 16 Mar 2009, 12:42 PM
  4. double slashes in URL ??
    By papadopoulos in forum General Questions
    Replies: 8
    Last Post: 14 Apr 2008, 04:32 PM
  5. Double url's when clicking links
    By Callan in forum General Questions
    Replies: 7
    Last Post: 15 Nov 2007, 01:05 AM

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