I have read a lot of posts and potential fixes to the problem of changing domain names or moving from an ip address to a fqdn. I have tried all; changing the $CFG->wwwroot variable in config.php file, masqurading entry in the config.php file, I even tried the http://yourdomain/admin/replace.php script but nothing has worked for me so far.
The replace script produces a lot of errors similar to this one:
(mysql): UPDATE mdl_adodb_logsql SET SQL0 = REPLACE(SQL0, '10.0.8.104', 'www.mydomain.com');
1146: Table 'moodle.mdl_adodb_logsql' doesn't exist
Error
The problem is not internal because everthing is linked to my internal ip so I have no problem with interanl access but when I open up moodle from the outside www.domainname.com it opens and shows the domain name correctly but all images and links are still tied to my internal ip address. Is the replace script or reinstallation the only options? By looking at the error message does someone know if I ran the script wrong? In case your wondering I backed up the server before running the script. Why does the error message state that the table doesn't exist. Everything works fine internally. Any ideas will be greatly appreciated.
Chet