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

Re: Migrating Moodle from an external server to inhouse

$
0
0
by John Mason.  

Thanks for all the replies.


I went home happy last night that it was going to pan out well this morning  and have made progress.

The reason for the blank pages was a file permission issue however having sorted that I now get an error reading database message.

I have turned on debugging as requested. see below for the error and trace.


Thanks Ken for your reply as well. I am persisting with this method atm but even if this does work I am going to create another VM and follow your instructions as as you say it is a very good learning experience.

Thanks

John.

Notice: Undefined property: stdClass::$cacherev in /var/www/html/moodle/lib/modinfolib.php on line 450

Error reading from database
Debug info: Unknown column 'cacherev' in 'field list'
SELECT id,shortname,fullname,format,enablecompletion,groupmode,groupmodeforce,cacherev FROM mdl_course WHERE id = ?
[array (
0 => '1',
)]
Error code: dmlreadexception
Stack trace:
  • line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 1083 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1476 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 1448 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 610 of /lib/modinfolib.php: call to moodle_database->get_record()
  • line 451 of /lib/modinfolib.php: call to course_modinfo::build_course_cache()
  • line 412 of /lib/modinfolib.php: call to course_modinfo->__construct()
  • line 2062 of /lib/modinfolib.php: call to course_modinfo::instance()
  • line 64 of /filter/activitynames/filter.php: call to get_fast_modinfo()
  • line 167 of /lib/filterlib.php: call to filter_activitynames->filter()
  • line 205 of /lib/filterlib.php: call to filter_manager->apply_filter_chain()
  • line 1176 of /lib/weblib.php: call to filter_manager->filter_text()
  • line 75 of /blocks/html/block_html.php: call to format_text()
  • line 294 of /blocks/moodleblock.class.php: call to block_html->get_content()
  • line 236 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 993 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1045 of /lib/blocklib.php: call to block_manager->create_block_contents()
  • line 361 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
  • line 45 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
  • line 877 of /lib/outputrenderers.php: call to include()
  • line 807 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 101 of /index.php: call to core_renderer->header()


Warning: array_fill(): Number of elements must be positive in /var/www/html/moodle/lib/dml/mysqli_native_moodle_database.php on line 1314

Warning: implode(): Invalid arguments passed in /var/www/html/moodle/lib/dml/mysqli_native_moodle_database.php on line 1314

Warning: var_export does not handle circular references in /var/www/html/moodle/lib/classes/shutdown_manager.php on line 83

Warning: var_export does not handle circular references in /var/www/html/moodle/lib/classes/shutdown_manager.php on line 83

Warning: var_export does not handle circular references in /var/www/html/moodle/lib/classes/shutdown_manager.php on line 83


Viewing all articles
Browse latest Browse all 46972

Trending Articles



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