Ken,
Thank you for your reply.
I should have left Joomla and Joomdle out of the equation. Let's forget about them and let's focuse only in Moodle. The problem is only in Moodle because it shows when I access Moodle directly. It is working fine in my localhost, but it is not working fine in Godaddy.
Yes, I'm loging in as the initial admin user and yes it has the id 2 in mdl_config.
To upload Moodle from my localhost to the hosting, I did the following: create a local dump SQL file and imported into the empty database in the hosting account, ftp the moodle folder (below the www folder) and the moodledata folder (above the www folder) into the hosting account, change settings in config.php file to match the hosting account and test the migration. One thing I didn't do when migrating Moodle is to place it into maintenance mode.
First, I got some errors:
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/content/77/8873077/html/htdocs/moodle/lib/dml/moodle_database.php on line 27
Warning: require_once(__DIR__/database_column_info.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/77/8873077/html/htdocs/moodle/lib/dml/moodle_database.php on line 27
Fatal error: require_once() [function.require]: Failed opening required '__DIR__/database_column_info.php' (include_path='/home/content/77/8873077/html/htdocs/moodle/lib/zend:/home/content/77/8873077/html/htdocs/moodle/lib/pear:.:/usr/local/php5/lib/php') in /home/content/77/8873077/html/htdocs/moodle/lib/dml/moodle_database.php on line 27
but these error got solved when I upgraded my hosting account to PHP 5.3.
Then I got other errors:
Warning: file_get_contents(http://localhost/moodle/webservice/xmlrpc/server.php?wstoken=214f5086b6f415ec19080d0589b6d074) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/................ /htdocs/russ/administrator/components/com_joomdle/helpers/content.php on line 137
The I got into the Moodle database, search for the term "localhost" and change all settings to the new domain. This solved also this problem.
Now I have this problem with the links. This happens only in Moodle in my hosting account but it doesn't happen in Moodle in my localhost.
Thanks