Moodle 4.x failing to install via command line in Ubuntu
I am following this link to be able to setup Moodle on Ubuntu. Moodle command line instructions. I am getting a failure at line 187 in the /lib/installlib.php. I have put in the correct information about the DB connection (username, pw, etc). I normally install through the moodle web interface. I am wondering if anyone has successfully installed moodle through command line interface with Moodle 4.x before??
Moodle 4.x failing to install via command line in Ubuntu
I am following this link to be able to setup Moodle on Ubuntu. Moodle command line instructions. I am getting a failure at line 187 in the /lib/installlib.php. I have put in the correct information about the DB connection (username, pw, etc). I normally install through the moodle web interface. I am wondering if anyone has successfully installed moodle through command line interface with Moodle 4.x before??
Database field count and an if else statement
Currently I am failing at the simplest of places.
I am counting entries in the database and asking if the value is greater than 2. Even though there are no entries, it gives me my error message that should only be displayed if there are more than 2 entries.
Database entries with start date and end date within a period
I’m trying to create several database entries with a start date and an end date.
The whole thing should always be created in a 7-day period. For example: start date: June 6th, 2024; end date: June 18th, 2024. In this case, database entries should be created for June 6th, June 12th and June 18th. Within the foreach loop, up to 8 entries should be made for each individual date (hour 1 – 8). The whole thing becomes a calendar. Someone enters an appointment, this appointment can go from the first hour to the 8th hour. And this appointment should be entered weekly (every 7 days) up to an end date. Unfortunately, I can’t see the forest for the trees at the moment. This is what my code looks like:
Use has_capabilty in Moodle
I’m currently trying to work with access rights in my block plugin.
Moodle version 4.3.7
The file is located in the blocks/lbtb/ folder
gradual memory increase in long running script
I use Moodle 4.1
Form Fields in Moodle .mustache templatefile
Is there a way in Moodle to write the form fields in a .mustache file and send the values back to the php file?
MOODLE always 504 Gateway Timeout
My moodle always return 504 even though I restore the snapshot where it was completely stable both the database and the moodle files and data.