+ Post New Thread
Results 1 to 10 of 10
Virtual Learning Platforms Thread, Missing Images in Technical; Hi Folks Looking for some help with this.... I Have run a Moodle migration using 1.9.13 to bring externally hosted ...
  1. #1
    truebluesteve's Avatar
    Join Date
    Jan 2008
    Posts
    462
    Thank Post
    71
    Thanked 58 Times in 49 Posts
    Rep Power
    27

    Missing Images

    Hi Folks

    Looking for some help with this....

    I Have run a Moodle migration using 1.9.13 to bring externally hosted site inside school.
    Imported source SQL into Moodle database.
    The next login insisted that database 1.9.7 was updated to 1.9.13 which I did and then ran admin/replace.php to convert URLs. Image URLs seem fine in the database and are using the http://domain/file.php/1/graphic.jpg address with slasharguments on. However, no graphics are displayed either embeded in a course, by clicking the image icon in the course file store or browsing to image URL in new browser tab. All just produce the red-cross image missing symbol.
    Oddly uploading a file such as Word works fine. Uploading a new graphic and trying to use that just causes the red-cross missing symbol.

    I'm fairly sure that DNS is resolving ok as have altered $CFG->wwwroot = to use new domain name. Logging in against new domain name is all working ok.

    Any help on this would be greatly appreciated. Lucky we tried doing the migrate from external hosting at the start of the school holidays rather than at the end.

    Many thanks to anyone with some thoughts to investigate.

    Steve

  2. #2

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    30
    Do you have a URL we can look at?

  3. #3

    Join Date
    Dec 2007
    Location
    Preston
    Posts
    369
    Thank Post
    14
    Thanked 86 Times in 79 Posts
    Rep Power
    31
    with slasharguments on.
    And what happens if you turn slash arguments off?

  4. #4
    truebluesteve's Avatar
    Join Date
    Jan 2008
    Posts
    462
    Thank Post
    71
    Thanked 58 Times in 49 Posts
    Rep Power
    27
    The Website is at moodle.hazelwick.org

    The images on the front page are fine, but once you go into the courses you can see where the images are supposed to be but nothing is there except the red x's. The images are all present and correct in their respective folders and the urls point to those locations.

    The only difference between the two websites as far as we are concerned is the name of the them.

  5. #5
    truebluesteve's Avatar
    Join Date
    Jan 2008
    Posts
    462
    Thank Post
    71
    Thanked 58 Times in 49 Posts
    Rep Power
    27
    Turning slash arguments off doesnt seem to make any difference at all

  6. #6
    bart21's Avatar
    Join Date
    Aug 2009
    Location
    peterborough
    Posts
    407
    Thank Post
    79
    Thanked 54 Times in 52 Posts
    Rep Power
    20
    hi

    can you create a course that allows guest access with a troublesome image in it so i can see, all the courses require a log in at the mo so cant examine an affected page

    nick

  7. #7
    cobra's Avatar
    Join Date
    Dec 2009
    Posts
    11
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I did this to fix the issue on moodle 2, not sure if it will work on moodle 1 but its worth a try:

    Changed URL image links set to old site
    So you built your Moodle Server with a http//192.168.0.1/Moodle address. Then you changed the URL for your site to http://OurMoodle.org/Moodle . You changed the Moodle config file so the CFGs point to the new paths. But your images point to the old url.

    One simple, quick solution. Login as admin and put http://OurMoodle.org/Moodle/admin/replace.php in your browser address bar. Use the two form boxes to change http://192.168.0.1/ to http://OurMoodle.org/ .

  8. #8

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,114
    Thank Post
    6
    Thanked 221 Times in 200 Posts
    Rep Power
    56
    I suspect it is a permissions issue on the moodledata folder if it is not showing the images from within that course.

    If the main title isnt showing (or other images that are available on the homepage) then the issue is more then liekly to do with incorrect URLS etc.

    Open the site and go a page that has an image missing, then right click the red cross and open just that image, this will show you the location is it trying to open. If when you visit the location on the moodle box it is correct, then the webserver mustn't be able to open the filer/ image that is located there so check these permissions. if the file isn't there or the location is wrong then you have a html issue somewhere.

  9. #9
    truebluesteve's Avatar
    Join Date
    Jan 2008
    Posts
    462
    Thank Post
    71
    Thanked 58 Times in 49 Posts
    Rep Power
    27
    Thanks for the replies guys.

    I have checked the image urls, and they are pointing to the correct locations and all the images exist on the server. I have tried the replace function and unfortunately it hasnt made any difference.

    I suspect its a PHP/Permissions issue, but I have no idea what at the moment!

    Steve

  10. #10

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,114
    Thank Post
    6
    Thanked 221 Times in 200 Posts
    Rep Power
    56
    Have you checked the permissions on an individual image, so that the right groups can read it. Also use chmod to change permissions and not the GUI,as sometimes this doesnt work.



SHARE:
+ Post New Thread

Similar Threads

  1. [CLOSED] Missing Content: Attached Images Missing
    By SYSMAN_MK in forum EduGeek.net Site Problems
    Replies: 1
    Last Post: 3rd August 2011, 02:47 PM
  2. missing images on website
    By PEO in forum EduGeek Joomla 1.5 Package
    Replies: 7
    Last Post: 19th December 2008, 12:00 PM
  3. [CLOSED] Missing Content: Missing users & dead images
    By FN-GM in forum EduGeek.net Site Problems
    Replies: 3
    Last Post: 24th March 2008, 12:46 AM
  4. use of pupil images on website
    By adamyoung in forum School ICT Policies
    Replies: 4
    Last Post: 17th October 2005, 12:08 PM
  5. Images in Office 2003 documents
    By mattpant in forum Windows
    Replies: 6
    Last Post: 7th October 2005, 07:12 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
  •