Where can I add it?
Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field
Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field
Go to https://docs.moodle.org/36/en/Nginx - click on the log in link in the top right, create an account if necessary, and edit the page
Re: Problem upgrading mod_booking
Thanks for your reply. It works in moodle 3.4, so I switched to that for a while, which is why I am so long in replying.
Today I tried with moodle 3.5.6 (Build: 20190513) and mod_booking version 2019050400. I got the same error.
I then saw on https://tracker.moodle.org/browse/MDL-64368 that php be upgraded to 7.2.14. I am using bitnami moodle as a base system, which still only supports php 7.1, but installed php 7.2.18 and tried again. This resulted in the same error though.
Note. I set 'dbcollation' => 'utf8mb4_unicode_ci' in config.php as recommended here. Could this be related?
Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field
Done. Thx
Re: Error reading database - solved. BUT WHY???
Ok. I'll break it again later today. I'm pretty tired atm from some all nighters to nail down the issue.
Was the 3.4 site on the old host already Barracuda/utf8mb4_unicode_ci or was this changed as part of the migration to the new VPS?No. It was not originally mb4. Godaddy's shared hosting cannot do Barracuda and they don't allow root access because of the nature of shared hosting to begin with.
- Log into the instance (as its currently working)
- Enable debugging
- Change the collation back to utf8mb4_unicode_ci
- Try to login
- See error
or is it that I am adding code to the config.php file which would allow me to change the collation back to utf8mb4_unicode_ci and still have debugging occuring?
Thanks for the clarity thus far though.
Re: Error reading database - solved. BUT WHY???
Ok. When I break it again in a bit to log the errors I'll try this as a possible solution for the issue itself.
Thanks.
Problem with installing plugins using gui from the Moodle plugins repository
Windows server with IIS
Moodl 3.6.3+
PHP Version 7.2.14
Recently changed the host name so I changed the hostname in the config.php.
I'm trying to install plugins from the Moodle plugins repository using gui but keep getting the following error:
There is a request to install plugin Game (mod_game) version 2019042600 from the Moodle Plugins directory on this site. However, the plugin installation pre-check failed (reason code: remoteunavailable)
Debug gets me this:
- line 226 of \lib\classes\update\api.php: call to core\update\api->call_service()
- line 102 of \lib\classes\update\api.php: call to core\update\api->call_pluginfo_service()
- line 1041 of \lib\classes\plugin_manager.php: call to core\update\api->get_plugin_info()
- line 906 of \lib\classes\plugin_manager.php: call to core_plugin_manager->get_remote_plugin_info()
- line 942 of \lib\classes\plugin_manager.php: call to core_plugin_manager->is_remote_plugin_available()
- line 178 of \admin\tool\installaddon\classes\installer.php: call to core_plugin_manager->is_remote_plugin_installable()
- line 43 of \admin\tool\installaddon\index.php: call to tool_installaddon_installer->handle_remote_request()
There's another problem that may be related to this. I'm using H5P plugin. Creating H5P activity works fine but when I later try to edit the activity, I get the following error: error/invalidhvp.
Debug gets me this:
Debug info:
Error code: invalidhvp
$a contents:
Stack trace:
- line 494 of \lib\setuplib.php: moodle_exception thrown
- line 182 of \mod\hvp\mod_form.php: call to print_error()
- line 481 of \course\moodleform_mod.php: call to mod_hvp_mod_form->data_preprocessing()
- line 199 of \local\metadata\context\module\classes\context_handler.php: call to moodleform_mod->set_data()
- line 421 of \local\metadata\lib.php: call to metadatacontext_module\context_handler->coursemodule_standard_elements()
- line 749 of \course\moodleform_mod.php: call to local_metadata_coursemodule_standard_elements()
- line 737 of \course\moodleform_mod.php: call to moodleform_mod->plugin_extend_coursemodule_standard_elements()
- line 118 of \mod\hvp\mod_form.php: call to moodleform_mod->standard_coursemodule_elements()
- line 204 of \lib\formslib.php: call to mod_hvp_mod_form->definition()
- line 99 of \course\moodleform_mod.php: call to moodleform->__construct()
- line 141 of \course\modedit.php: call to moodleform_mod->__construct()
cURL support | enabled |
cURL Information | 7.61.1 |
I thought H5P plugin doesn't require remote files once all libraries are downloaded and installed.
Any advice would be appreceated.
Kind regards,
Zoran
Error writing to database More information about this error ×Debug info: Got a packet bigger than 'max_allowed_packet' bytes
Hello,
When attempting to backup or import one of our larger courses, I'm getting the following error:
Error writing to database
I have SSH access and already increased max_allowed_packet bytes and also increased compression by converting to Barracuda, however, I'm still not able to make the error go away.
I understand that typically this error goes away when the max_allowed_packet bytes are increased to 100M, I've increased this to 1000M with no luck. Please if anyone can offer suggestions, I would be most grateful. : )
Re: Windows Portable Moodle and Relative Paths for 'dataroot'
Thanks for the link but yeah not really what I am looking for.
I am in the process of writing a script which updates the absolute path with the users current directory before launching Moodle - I am just trying to figure out which files I need to updated and if there are any DB entries which need to be updated as well?
Re: Windows Portable Moodle and Relative Paths for 'dataroot'
Re: Unable to access Moodle site….
Re: Error writing to database More information about this error ×Debug info: Got a packet bigger than 'max_allowed_packet' bytes
Re: Moodle Migration Error
Thanks for your reply.
Yes, Installed new moodle is working fine now also.
FYI - I had done migration steps as below,
1) Created a new database for migrated moodle and imported old/working moodle DB backup.
2) copied all moodle contents to a new folder i.e, migmoodle.
3) next, copied all moodledata contents to a new folder i.e, migmoodledata.
4) finally, I had made required changes in config.php with the migrated moodle names and DB details.
5) At last, accessed the moodle and got the same error "Error reading from database".
Just now also, I had tried same steps again and successfully got the same error
Kindly look into my steps and let me know if I made any mistakes in the migration process.
Re: Error writing to database More information about this error ×Debug info: Got a packet bigger than 'max_allowed_packet' bytes
Hi Ken,
Thank you for replying here!
I'm showing something like this as the last entry in the error_log file below. What's funny is that after that -- there's a bunch of encryption so I don't know what that is that's showing there in the log because it's just random letters and numbers for about 5 screens.
Since this is happening only on the one course, I'm not sure because every time I try to back it up, it won't even let me through. And if I try to import the contents of that course into another course, I get the same error. I hope this helps explain a little. : )
Wed May 15 22:08:42.387579 2019] [fcgid:warn] [pid 12607:tid 140194435032832] [client IPADDRESS REMOVED] mod_fcgid: stderr: 11 => 'e7632377c724a90b898f1bdac683aec5',, referer: SITE/course/view.php?id=25
Re: Problem with installing plugins using gui from the Moodle plugins repository
Short answer - your Moodle server can't talk to the Moodle plugin server. Or, it would seem, the remote HVP server.
I would start by checking that you can access the plugin server, manually from the server Moodle is running on. On Linux this would be by using the 'curl' command line. However, I don't know anything about Windows and I don't know how you would proceed. I expect Google does
Re: Issues installing Moodle 352 into wamp on localhost
I'm facing same issue. Will you please help me?
Re: Problem upgrading mod_booking
In line 1783 of mod/booking/db/upgrade.php the following sql query is run:
SELECT bo.id FROM mdl_booking_options bo WHERE bo.id > 0
In my database, the query "SELECT bo.id FROM mdl_booking_options bo" returns an empty set.
In lib/dml/moodle_database.php, the function get_in_or_equal explicitly returns an error if the array is empty.
Re: Problem upgrading mod_booking
I also found this bug report:
Re: Error reading database - solved. BUT WHY???
I'm suggesting:
- Enabling debugging by adding lines to config.php or via Site administration→ Development→ Debugging changing Debug messages to "DEVELOPER".
- Changing collation back to utf8mb4_unicode_ci so that the problem occurs.
- Try to login.
- When the error appears you should see more information about the problem which will hopefully help us explain it.
Re: Invalid login, please try again (external MSSQL database)
So, no one has any idea?