Quantcast
Channel: Installing and upgrading help
Viewing all 47014 articles
Browse latest View live

Moodle 2.5.1 to 2.9 (latest) - External Database MD5 no longer working

$
0
0
by Sapan Desai.  

Hello,

I ran Moodle 2.5.1 as a production site using external database authentication with MD5 encryption (no salt). There were no issues with users logging in.

I upgraded to Moodle 2.9 (latest) using the same external database with MD5 encryption (no salt). While I can login as an administrator (as this is a manual account), none of the users in the external database can login. The error is id (3), which is wrong password.

There is no salt. Config.php has not changed. The external database authentication plugin has not had any settings changed to it.


Any advice to repair this would be much appreciated. Thank you.



Error calling message processor email

$
0
0
by Tifano T.  

Hi Moodlers,

I have recently upgraded my site from Moodle 2.6.8 to 2.8

However, can't send any emails now from Moodle. Turned on debugging, below is an error I receive

Error calling message processor email

  • line 118 of /lib/classes/message/manager.php: call to debugging()
  • line 82 of /lib/classes/message/manager.php: call to core\message\manager::send_message_to_processors()
  • line 229 of /lib/messagelib.php: call to core\message\manager::send_message()
  • line 2182 of /message/lib.php: call to message_send()
  • line 33 of /admin/user/user_bulk_message.php: call to message_post_message()

Ass the SMTP settings look fine as they were before.

We are using office365 email. Searched for a solution without success.

Your help would be much appreciated


Cheers



help / clarification on folder permissions

$
0
0
by Chris D.  

Morning all,

I followed the Moodle documentation for installing Moodle on Ubuntu server.  

I'm concerned about folder / file permissions.   Part of the documentation says edit permissions as follows:

sudo chown -R www-data /var/moodledata

sudo chmod -R 777 /var/moodledata

sudo chmod -R 0755 /var/www/html/moodle


Yet the page dedicated to permissions gives more specific permissions - and differing permissions for directories vs files.


I'd like to know best practice for setting permissions correctly for 

/var/www/html/moodle 

/var/www/html/moodle/mod (and subdirectories)

/var/moodledata


. .  I'm not a an advanced linux user by any means; so any advice appreciated.

Re: Profiles images not working. Slasharguments? mod_fcgid?

$
0
0
by Matteo Scaramuccia.  

Hi San,
the image, when saved, is processed to create 3 different derivative images with different sizes (100x100, 35x35, 512x512).

You should try to download the "blank" image and open it with a plain text editor to see what that "empty image" file looks like.

If you want to add extra messages to debug the potential issue on creating those scaled images, you could look at the code around the process_new_icon() function.

The files go into the "files" table and in the filedir according to their content hash.

HTH,
Matteo

Re: help / clarification on folder permissions

$
0
0
by Emma Richardson.  

1.  Ownership: www-data needs to be owner both on moodle and moodledata folder. 

2.  Permissions: I run mine with 755 permissions on both folders - however, many tighten down the moodledata to 644, I believe, which is more secure.


Re: help / clarification on folder permissions

$
0
0
by Howard Miller.  

If it's a dedicated server and access is limited then the first three settings are absolutely fine (it's what I do). 

I would only worry about more specific permissions if you have a particular worry (e.g. the machine is shared with other users you don't fully trust)

Re: Issues with .htaccess file in moodle 2.0 installation on wamp server 2.2 in windows 7

$
0
0
by Howard Miller.  

...or there's an error in the .htaccess file wink

Re: Instead of install page, download starts

$
0
0
by Scott Brim.  

Try an explicit URL, like hosting.site.com/moodle/index.php

Web servers are usually set up so that PHP is the fourth thing it looks for. (On Ubuntu that would be in /etc/apache2/mods-enabled/dir.conf)



Re: help / clarification on folder permissions

$
0
0
by Visvanath Ratnaweera.  

Is it that difficult?

a) The user www-data need read permissions in the moodle directory (and everything inside). No write permissions!
OK, life would be easier if it had (one time) during installation, since Moodle tries to create the config.php file inside moodle. Not a big deal if it hadn't, Moodle gives you the content of config.php with which you could create it with a text editor.

b) The user www-data need write permssions in the moodledata diretory.
This directory is empty when you instal. So there is no discussion about things inside. Moodle starts creating subdirectories, etc. you don't have to worry about their permissions.

Emma, you wrote:
> 1. Ownership: www-data needs to be owner both on moodle and moodledata folder.

Wrong! See above.

> 2. Permissions: I run mine with 755 permissions on both folders - however, many tighten down the moodledata to 644, I believe, which is more secure.

These permission "codes" have no meaning unless you tell us who the owner is and to which group those files/directories belong. Do some reading on Unix file permissions and experiment. It is very simple (unlike ACL https://de.wikipedia.org/wiki/Access_Control_List for example).

P.S. Of course there are paranoid ways of doing this. If you are a beginner, forget it!

P.P.S. Chris, what is that horrible URL you gave, https://www.google.com/url?q=https%3A%2F%2Fdocs.moodle.org%2F26%2Fen%2FStep-by-step_Installation_Guide_for_Ubuntu&sa=D&sntz=1&usg=AFQjCNHUsGgeeMsGfzWxlrZScj2HKnwO7w. Never seen such an ugly thing!
sad

Re: What are the requirements for setting up a moodle site in a Windows server?

$
0
0
by Visvanath Ratnaweera.  

`Are you content now?' said the Caterpillar.

`Well, I should like to be a little larger, sir, if you wouldn't mind,' said Alice: `three inches is such a wretched height to be.'

`It is a very good height indeed!' said the Caterpillar angrily, rearing itself upright as it spoke (it was exactly three inches high).

smile

Re: help / clarification on folder permissions

$
0
0
by Howard Miller.  

I've said it before - and I expect I'll say it again - the bit of time it takes to understand the basics of Unix file ownership and permissions is very well spent. I permeates everything. 

Re: help / clarification on folder permissions

$
0
0
by Howard Miller.  

+1

Do NOT use the plugin installer on a live/production site. Having write permissions set for the program code directories (and/or ownership by the web sever user) is insecure. It potentials means that in the event of a vulnerability to the web server the Moodle code can be arbitrarily changed.

Use it if you like, but change the permissions do the update and then put the permissions back again.

Procedure for upgrading or updating to a security release of Moodle

$
0
0
by Pooja Ambre.  

Dear All,

I am working on a Moodle project which started way back in 2013 and we had used Moodle 2.4.1 version during the installation. However, the application was not actively used across the organization but now the management team want to enforce the usage of it. For now we have the entire user base in the Moodle database and around 10 -15 courses installed since 2013.

Now that the platform is being actively looked into, the management team wants to ensure we have the latest stable version of Moodle running since we are now way behind Moodle's current stable version 2.9.

We have divided this entire thing into two halves:

1. Update moodle from 2.4.1 to 2.4.11 (ASAP)
2. Upgrade 2.4.11 to 2.9 (near term)

I browsed the net for a while but I could not figure out a procedure to simply update Moodle 2.4.1 to  2.4.11 (security update). Can you please asssit me with the following questions:

1. Can I update 2.4.1 to 2.4.11? If yes, what is the procedure? (Note: Our Moodle has been customized to fit some of the business needs)
2. Will the update from 2.4.11 to 2.4.11 be inclusive of all the intermediate security fixes?

Point #1 needs to be executed on urgent basis. Can you please advise and help me out in this? Looking forward for your cooperation.

Thanks,
Pooja


Re: Procedure for upgrading or updating to a security release of Moodle

$
0
0
by Howard Miller.  

1. https://docs.moodle.org/24/en/Upgrading. There's nothing special about upgrading within a branch. You have 2.4.1 and you will be using the new code 2.4.11. The instructions are just the same. 

If you made changes then you *should* have used some sort of version control. If you didn't then you need to find all the changes and re-make them in the new code. This time investigate 'Git'. It also makes upgrading substantially simpler.


2. Yes

Re: Procedure for upgrading or updating to a security release of Moodle

$
0
0
by Pooja Ambre.  

Hello Howard,

Thanks for your quick response!

Alright, so basically the effort required to upgrade to 2.4.11 or 2.9 is the same. I need to do find the difference in the files and and makes the change in the code base.

Do you foresee any issue if I directly upgrade to 2.9 then? Please advise and thanks again!Appreciated...

Regards,

Pooja


Re: Procedure for upgrading or updating to a security release of Moodle

$
0
0
by Howard Miller.  

No... but you *must* take a proper backup of the site first and, if you are at all worried, you should make a copy of the site and test the upgrade first. 

Re: Procedure for upgrading or updating to a security release of Moodle

$
0
0
by Pooja Ambre.  

Okay, clear. Thanks much Howard!

Course Restore hangs at "Process" step

$
0
0
by curt bixel.  

I am having difficulty restoring a course.

I was using moodle 2.6 and have created a new installation running 2.9. 

I am at cloudways with VPS 2000, which has been ample to run my installation that hosts just 3 courses and a total of 150 students. 

I have turned on full debugging and get the following in the apache error log, but I do not have enough experience with the error log to figure out how to proceed. 

Here is the error log...


[Wed Jun 03 12:32:23 2015] [error] [client 207.46.13.31] File does not exist: /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/robots.txt

 

 

[Wed Jun 03 12:46:21 2015] [error] [client 70.194.202.186] PHP Notice:  Trying to get property of non-object in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/course/format/topics/lib.php on line 154, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/my/

 

 

[Wed Jun 03 12:48:29 2015] [error] [client 70.194.202.186] Default exception handler: Can not find data record in database table course. Debug: SELECT * FROM {course} WHERE id = ?\n[array (\n  0 => 15,\n)]\nError code: invalidrecord\n* line 1453 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown\n* line 1429 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()\n* line 31 of /course/delete.php: call to moodle_database->get_record()\n, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/course/delete.php?id=15

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'questionnaire'. Perhaps you are missing $string['pluginname'] = ''; in mod/questionnaire/lang/en/questionnaire.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:04:49 2015] [error] [client 70.194.202.186] PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'. Perhaps you are missing $string['pluginname'] = ''; in mod/checklist/lang/en/checklist.php?<ul style="text-align: left" data-rel="backtrace"><li>line 349 of /lib/classes/string_manager_standard.php: call to debugging()</li><li>line 6656 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()</li><li>line 173 of /backup/util/ui/renderer.php: call to get_string()</li><li>line 383 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()</li><li>line 127 of /backup/restore.php: call to restore_ui_stage_confirm->display()</li></ul> in /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/lib/weblib.php on line 2924, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restorefile.php?contextid=1

 

 

[Wed Jun 03 13:06:48 2015] [error] [client 70.194.202.186] instantiating restore controller 53e406c23a3b79ec04d854adbf311f0d, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

 

[Wed Jun 03 13:06:48 2015] [error] [client 70.194.202.186] setting controller status to 100, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

 

[Wed Jun 03 13:06:48 2015] [error] [client 70.194.202.186] loading backup info, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

[Wed Jun 03 13:06:48 2015] [error] [client 70.194.202.186] loading controller plan, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] setting controller status to 300, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] setting controller status to 500, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] saving controller to db, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:49 2015] [error] [client 70.194.202.186] calculating controller checksum 65f8eefaeee2c3dfa68455e98ec5737a, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:54 2015] [error] [client 70.194.202.186] loading controller from db, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:54 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:54 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

[Wed Jun 03 13:06:54 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:54 2015] [error] [client 70.194.202.186] saving controller to db, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:06:54 2015] [error] [client 70.194.202.186] calculating controller checksum 65f8eefaeee2c3dfa68455e98ec5737a, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:22 2015] [error] [client 70.194.202.186] loading controller from db, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:22 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:27 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:27 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:27 2015] [error] [client 70.194.202.186] saving controller to db, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:27 2015] [error] [client 70.194.202.186] calculating controller checksum 7b90343262afe1dea656efd249303482, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:50 2015] [error] [client 70.194.202.186] loading controller from db, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:50 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:57 2015] [error] [client 70.194.202.186] checking plan security, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

[Wed Jun 03 13:07:57 2015] [error] [client 70.194.202.186] setting controller status to 600, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:57 2015] [error] [client 70.194.202.186] saving controller to db, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:57 2015] [error] [client 70.194.202.186] calculating controller checksum 04c0af0c84c3759927a7468028b9ebad, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:07:57 2015] [error] [client 70.194.202.186] loading controller from db, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:08:36 2015] [error] [client 70.194.202.186] setting controller status to 700, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:08:36 2015] [error] [client 70.194.202.186] saving controller to db, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:08:36 2015] [error] [client 70.194.202.186] calculating controller checksum 29c25efeabdc5fe471b4d79eb23efa91, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:08:37 2015] [error] [client 70.194.202.186] loading controller from db, referer: http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:08:37 2015] [error] [client 70.194.202.186] setting controller status to 800, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

[Wed Jun 03 13:11:40 2015] [error] [client 70.194.202.186] Potential coding error - existing temptables found when disposing database. Must be dropped!, referer:http://moodle-1840-16701-38784.cloudwaysapps.com/backup/restore.php

 

 

 


Re: Course Restore hangs at "Process" step

$
0
0
by Ken Task.  

Lots to look through!!! :\   Suggest next time, turn on debugging and then share the output of debugging rather than clips of the raw logs.   Sometimes one might expose too much with raw logs or you provide enough clues for those that might/would do harm to your site an 'attack vector'. :|  If you do have to include raw logs ... might want to edit them in a text editor first to obscure any 'sensitive' info in them.

This one is 'normal':

[Wed Jun 03 12:32:23 2015] [error] [client 207.46.13.31] File does not exist: /home/13703-16701.cloudwaysapps.com/mpusvdptyh/public_html/robots.txt

MSN search bot looking for robots.txt which is a file that tells search bots what's supposed to be 'off limits".

This one:

[Wed Jun 03 12:48:29 2015] [error] [client 70.194.202.186] Default exception handler: Can not find data record in database table course.

Says can not find data records for a course.   Kinda strange, but if an attempt to restore a 2.6 course to a 2.9 failed it might have completed enough to give a new course an ID number ... or failed to.

All the lines that have: PHP Notice:  Invalid get_string() identifier: 'pluginname' or component 'checklist'.

in them are notifications ... but note what it says: plugin name - component checklist.

In your 2.6 you had an addon called checklist ... doesn't seem to be present in your 2.9.

https://moodle.org/plugins/view/mod_checklist

Install the checklist addon, then attempt your restore of the 2.6 course.

If there any other 2.6 addons that you've not installed in the 2.9 then attempting to restore a 2.6 backup of a course that used one of those addons might fail or have issues - which, I think, is what all the rest of those errors relate to.

My best guesses! ;)

'spirit of sharing', Ken


Re: Course Restore hangs at "Process" step

$
0
0
by curt bixel.  

Ken!  Thanks for your hop.  You are awesome.  I will make sure that checklist is installs in my new installation.


On another note, somewhere in the debugging process, I have come across some entries in my database that have the same stamp and version.  This seems to be creating a problem.  


I would prefer to somehow associate these entries with questions in the question bank and delete them from within the application.  Is there a way to do that?

Viewing all 47014 articles
Browse latest View live


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