+ Post New Thread
Results 1 to 7 of 7
Virtual Learning Platforms Thread, Moodle Hyperlink issue in HTML boxes in Technical; Hi All, I'm hoping someone can make sense of an issue we seem to have somehow developed. On the front ...
  1. #1
    mb2k01's Avatar
    Join Date
    Jan 2007
    Posts
    1,126
    Thank Post
    189
    Thanked 227 Times in 193 Posts
    Rep Power
    92

    Moodle Hyperlink issue in HTML boxes

    Hi All,

    I'm hoping someone can make sense of an issue we seem to have somehow developed.

    On the front page of our Moodle site, if we place a hyperlink in to the front page description block, the hyperlinks change after they are saved.

    Example.
    Link we make points to: EduGeek.net
    When you go back to the front page and click on the link it goes to http://moodle.school.lea.sch.ukhttp://edugeek.net and displays an apache error (as I guess you would expect from an address like that!)

    We have recently switched back to an Apache installation from an IIS one if that helps?
    Hopefully someone can point us in the right direction? It is very annoying!

  2. #2
    mb2k01's Avatar
    Join Date
    Jan 2007
    Posts
    1,126
    Thank Post
    189
    Thanked 227 Times in 193 Posts
    Rep Power
    92
    No one?
    May have to switch back to IIS otherwise!

  3. #3
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,648
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66
    Bit of a stab in the dark but are you putting the full
    Code:
    http://www.edugeek.net
    as the links or just going for the shorter
    Code:
    edugeek.net
    Code:
    www.edugeek.net
    etc?

    Almost looks as if it's picking the links up as a sub-page of your site and branching it off the root path for Moodle...
    Last edited by gshaw; 26th March 2010 at 01:41 PM.

  4. Thanks to gshaw from:

    mb2k01 (26th March 2010)

  5. #4
    mb2k01's Avatar
    Join Date
    Jan 2007
    Posts
    1,126
    Thank Post
    189
    Thanked 227 Times in 193 Posts
    Rep Power
    92
    I'll take any shot in the darks I can get!
    Unfortunately I'd already tired this and it didn't work.

    Essentially, I'm doing nothing new. I'm inserting hyperlinks to text in the same way I did when the site was running on IIS7. Now that the site runs on Apache I'm getting this strange effect after a couple of minutes of posting the link. Very odd

    Any one else?

  6. #5
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,648
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66
    Another quick troubleshooting idea... if you make a basic HTML page with a set of links and put it in the Apache directory does it experience the same problems as Moodle does? Just thinking along the lines of whether it's the web server itself or a Moodle bug

  7. #6

    Join Date
    Dec 2007
    Location
    Preston
    Posts
    362
    Thank Post
    14
    Thanked 84 Times in 77 Posts
    Rep Power
    30
    Hi there. I have definitely seen this problem on Moodle.org: open-source community-based tools for learning - trouble is, I can't remember the cause or solution and obviously haven't used the right key words to search for it Sorry for the unhelpful response but if you don't fix it, ask on moodle.org because someone hopefully will point you in the right direction.

  8. #7
    mb2k01's Avatar
    Join Date
    Jan 2007
    Posts
    1,126
    Thank Post
    189
    Thanked 227 Times in 193 Posts
    Rep Power
    92

    Resolved! Hope this helps someone in the future!

    I appear to have fixed the issue - through a mixture of trial and error + hours and hours of searching!
    I thought I would post here in case it saves anyone time in the future.

    The specific issue I was having was:

    When posting a hyperlink in a block / post on the Moodle front page the URL would appear to malform/redirect after a couple of minutes.
    This followed moving Moodle from IIS7 to Apache (something which we had done before without issue)

    Example:
    A link to http:// www. google. co. uk would work for about 2 minutes, but would then turn to http:// moodle. school. sch. uk %22 http:// www. google .co .uk%22

    To fix the issue I made two changes. The first was to edit the php.ini - changing magic_quotes_gpc from On to Off.
    The second (which I think was coincidence more than fix, but I'll mention it anyway) was to go in to the block I was trying to add the link, highlight all text and click the two remove link buttons, then switch to html mode and erase all code/text. On re-making the text and hyperlinks I was able to confirm everything was working again.

    Hopefully this will save someone the hours of searching + trial and error approach I was forced to take!

  9. Thanks to mb2k01 from:

    pwds (29th March 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. Hyperlink in CCS
    By FN-GM in forum Coding
    Replies: 15
    Last Post: 7th October 2009, 06:40 PM
  2. Moodle site redirection issue
    By projector1 in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 18th June 2009, 04:32 PM
  3. Excel hyperlink issue...can't solve :(
    By kennysarmy in forum Windows
    Replies: 3
    Last Post: 22nd April 2009, 10:13 AM
  4. IWB Control Boxes/Trunking Boxes?
    By dbsocs08 in forum Hardware
    Replies: 6
    Last Post: 12th December 2008, 06:46 PM
  5. Moodle issue
    By wesleyw in forum Virtual Learning Platforms
    Replies: 17
    Last Post: 5th October 2006, 03:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •