Problem with restore and image/attachment file location.

Problem with restore and image/attachment file location.

by William Stites -
Number of replies: 0
I recently moved my server from one machine to another and because I didn't have much to move and want to make sure I didn't make the mistakes I made earlier when setting it up I simply backed up each course (5 in total) and then restored them in once the new machine was set up (Note: I am doing this on an iMac, running 10.4.6, with MySQL 5.0.18, PHP5 and Moodle 1.5.4).

After I restored all the courses I decided to make the machine live and before giving it its real IP address I changed the name of the machine itself in the OSX Sharing setup.  Since then the images and attachments that were there are no longer showing up as they are looking for the old machine name in the file path.

Is there anyway to fix this in a config file?  I am new to all of this so as much help and detail that can be given is appreciated.
Average of ratings: -