I can't see pictures on Windows from Moodledata after an importation

I can't see pictures on Windows from Moodledata after an importation

by milhouse van houten -
Number of replies: 2

Hi, I moved my production Moodle from my hosting to my desktop with Windows to do some tests.

I imported the DB, Moodle software and moodledata folder. I changed the rights to moodledata folder ('Users' to All) and never received a problem related to rights.

My problem is I am unable to see/open content from my moodledata. Nothing.
If I try to see a picture, I get: 'The image X cannot be displayed because it contains errors'.

I activated Debug console and got nothing. Seems OK for Moodle.


If I generate new content, It will be save on moodledata and able to see, but Nothing from my 'previous' Moodle.


What can I do now?? Thanks!



PS: Using Moodle 2.9.1

Average of ratings: -
In reply to milhouse van houten

Re: I can't see pictures on Windows from Moodledata after an importation

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers

Did you use the Search and replace tool to change all the references to your old hosting url to your localhost url?

https://docs.moodle.org/29/en/Search_and_replace_tool
https://docs.moodle.org/29/en/Moodle_migration


In reply to Luis de Vasconcelos

Re: I can't see pictures on Windows from Moodledata after an importation

by milhouse van houten -

I read carefully the migration guide and check the line 'On FTP, the transfer of the filedir folder must be in BINARY mode or the files will get corrupted in the process.'

I changed the mode, and now it works! Thanks!

Average of ratings: Useful (1)