migrating to another server, block content is lost

migrating to another server, block content is lost

by luciano biondo -
Number of replies: 2
I was having a moodle site made with 1.9 on my production server.

I copied it on my computer, uploaded it to 2.02, made some change and made everything work. Now I wish to put my site on production server.

  • I copied all the files of moodle.2.0.2 by ftp
  • I copied mysql database (by exporting and importing);
  • I copied all the moodledata by ftp;
  • I changed the url by admin/replace.php.

Now, in the production server, all the html blocks content has disappeared. Instead of text there is <.

What can I do?

Luciano

Average of ratings: -
In reply to luciano biondo

Re: migrating to another server, block content is lost

by Colin Fraser -
Picture of Documentation writers Picture of Testers

You have been very careful and done everything you could do and it has still gone wrong. mmmThe only thing I can think of is there is a settingon the Server that has interfered with the ability to make the neccessary connections. Have the right permissions been granted? Seems silly but never know... Another issue lies in the database. Assuming your config.php file is accurate, btw, can you be sure that all address changes have been made in the database? Even running the replace.php can miss something.

Go to Site Administration > Plugins > Blocks > Manage blocks

And check to see if the plugin has actually been enabled. Then go and have a look at the database and see fio there is simething there that has been missed...

Sorry I cannot be any more help than this, this is disappointing for you, I am sure.

In reply to luciano biondo

Re: migrating to another server, block content is lost

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

For anyone else reading this thread, the problem Luciano describes (caused by using admin/replace.php) has been reported in the Moodle Tracker as MDL-25352 and will hopefully be fixed in the next weekly build, available later this week.