Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2005
    Location
    Colorado
    Posts
    11
    Plugin Contributions
    0

    red flag Links Have Double URL

    I've been searching through the boards and couldn't find anything similar to the problem I'm having..

    I was working on my 1.3.8a dev box last night, and broke something.. essentially what's happening, is if I click on a link, instead of
    going to:

    http://dev.mysite.com/index.php?main...dex&cPath=8_33

    It tries to go to
    http://dev.mysite.com/dev.mysite.com...dex&cPath=8_33

    I'm not quite sure when it started happening. I had IE6, Firefox3, Chrome, and Safari(beta4) open, Safari was on top, so I was using it to reload and check some of the basic changes I was making. For some reason Safari still works while everything else is broken.. I switched over to Firefox at some point, and realized the links were all broken..

    It's weird, Safari works totally fine.
    Firefox Renders the page correctly, but with the double/broken links
    IE and chrome can't even seem to find the stylesheet.

    I'm running Apache2 with PHP 5.16 on a Centos5 box

    I've went through all of my recent files that I was working on and cant figure out what it might have been. .

    I'm getting ready to flip the switch on this, so last night I did a dry run on switching the site over.. basically just changing httpd.conf to point to the dev folder, and then changing includes/configure.php, and admin/includes/configure.php to point to the actual server.. That seemed to go well.. I'm not sure if it's related to the apache reboot, or what.. At first I thought maybe I had accidently pasted the address into DIR_WS_CATALOG, but it was set to '/' as it should be, I changed that to /test/ to see where it would append it in the address and it showed up like:
    http://dev.mysite.com/dev.mysite.com...dex&cPath=8_33 which is kind of what I thought would happen. I definitely think it's something with my apache/php settings, but I don't know what happened..

    I literally changed

    DocumentRoot /var/www/html/ZC136
    to
    DocumentRoot /var/www/html/ZC138

    and then back again when I was done..

    Any Suggestions at this point would be helpful.

    Thanks

  2. #2
    Join Date
    Oct 2005
    Location
    Colorado
    Posts
    11
    Plugin Contributions
    0

    Default Re: Links Have Double URL

    Update:

    I've checked the page source, and all links are actually appearing correctly. It looks like it must be some sort of JS issue.

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Links Have Double URL

    Please post your includes/configure and admin/includes/configure.php without your passwords
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Oct 2005
    Location
    Colorado
    Posts
    11
    Plugin Contributions
    0

    Default Re: Links Have Double URL

    Kim,

    After finally getting some rest this afternoon, I saw it.

    in /includes/configure.php

    PHP Code:
      define('HTTP_SERVER''http:/dev.mysite.com');
      
    define('HTTPS_SERVER''https://dev.mysite.com'); 
    Sometimes you just have to step away from the computer for a few hours and give the eyes a rest.

  5. #5
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Links Have Double URL

    those two defines should be the way it is .. one points to HTTP other to HTTPS ( ssl ) version of your site . i don't know the solution to your problem but those two defines need to be there .

  6. #6
    Join Date
    Nov 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Links Have Double URL

    Quote Originally Posted by tony_sar View Post
    those two defines should be the way it is .. one points to HTTP other to HTTPS ( ssl ) version of your site . i don't know the solution to your problem but those two defines need to be there .
    one of the urls is missing a /

 

 

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 my links
    By TALES75 in forum General Questions
    Replies: 11
    Last Post: 11 May 2010, 09:42 AM
  3. Double URL in Login Links
    By ttscanada in forum General Questions
    Replies: 6
    Last Post: 5 Jun 2009, 01:10 AM
  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