Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 47003

Re: Pointing to the wrong folder

$
0
0
by Visvanath Ratnaweera.  

Hi

An unorthodox migration I must say. Here http://docs.moodle.org/19/en/Moodle_migration is the prescribed method.

As you can see in that documentation, three things should move to the new server.

> - I originally installed it myself (6 years ago)
>
> - Just used GoDaddy's rapid install to install 1.9.7

Instead of the original Moodle source you take a fresh download. Since both are 1.9.7, shouldn't be a problem.

> - Redirected the config.php to point at the old mysql database.
You mean, these 6 lines in the new config.php are identical to those in the old config.php?
$CFG->dbtype
$CFG->dbhost
$CFG->dbname
$CFG->dbuser
$CFG->dbpass
$CFG->prefix

What about other basic parameters like
$CFG->wwwroot
$CFG->dirroot
$CFG->dataroot
?

> - Many things are working now, but not everything.
> When I enter a course, the pictures that should be displaying ...

First check up the basic parameters mentioned above. The replace.php operation Colin mentioned, i.e. search the old URL in the database and replace with the new one, is likely to be necessary.

I would get the present version, or even better 1.9.latest going but postpone the Moodle 2 shuffle for some other bright day. (personal openion)
;-(



Viewing all articles
Browse latest Browse all 47003

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>