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

Re: upgrading moodle 4.0.5 - unicode problem


Cant Join Moodle ( php error? )

$
0
0
by Alberto Winck.  

Good morning.

Somehow, Moodle appears with the following error:

I tried reverting the PHP version to the old one, but my server (hoster) said there is no way to do this.

I'm thinking about backing up all the files and reinstalling everything from 0 again.

Could anyone tell me how this backup and import is done later?

I've already checked that there are methods to do this when the platform is running, but I don't have access to it at the moment due to this error.

By just backing up all the folders on the server and then including them, will Moodle "import" all the files again?
Or if anyone has a simpler solution than installing everything again, it would be greatly appreciated

Re: upgrading moodle 4.0.5 - unicode problem

$
0
0
by polly pomfrey.  

Thanks Ken - I was just running some tests to ensure it's totally resolved before I replied here, and it is smile
Big thanks to you and to Leon for your time and support to get us sorted.

I put a support ticket out to our host, based on the info you both gave me - they ran the command on our test site, and resolved it. They also gave me the info I needed to be able to run it myself on our live site, using the cpanel terminal.

For anyone else who comes across this, shared here for info what we did - with disclaimer this worked for our setup/environment, others may be different, and would defs recommend talking to your hosting support team. And Ken/Leon if you have any comments or spot anything that's totally wrong, really welcome amendments smile

1. In cpanel terminal run this command:
cd *Folder Name* Replacing Folder name with the directory of the moodle site

And then run:
php admin/cli/mysql_collation.php --collation=utf8mb4_unicode_ci

2. Optimise the database:
Open phpMyAdmin and navigate to the database folder. Scroll to the bottom of the table list, tick box to check all, and choose optimise. Do this for each page of tables.
 
3. Update the file config.php manually using the file manager:
From cpanel, choose file manager and navigate to the site folder, open the file config.php
Change the collation in the quotes to the utf8mb4_unicode_ci

Re: Cant Join Moodle ( php error? )

$
0
0
by Howard Miller.  

Erm... what error?
 
Which version of Moodle, too?

Re: Cant Join Moodle ( php error? )

Re: Cant Join Moodle ( php error? )

$
0
0
by Howard Miller.  

What version of Moodle are you running?

This sounds like you are running an older version of Moodle that does not support PHP 8.x. Which I think is what you already know.

You can probably get away with upgrading Moodle but which version depends on your current version, how many optional plugins you have an so on. It's not an ideal situation.

Re: Cant Join Moodle ( php error? )

$
0
0
by Ken Task.  

Think you have a conflict between a wordpress at the root of escoladapaz.com.br domain and the moodle code which is in a moodle directory of the wordpress code.  Wordpress's use an .htacess file at the root of the site.  Use your file browser and look at it (view) and you will see a comment at the top if that file that says it's for WordPress.  You do NOT ... repeat ... NOT ... want to mess with that .htacess file.   Leave it alone! smile

.htaccess files are heirarchel .. the top level .htaccess file applies to anything in that directory + subdirectories (including your /moodle/ code).

Fix is to create another subdomain of escoladapaz.com.br like elearning.escoladapaz.com.br and move your moodle code to there.

You will have to check location of moodledata directory and edit the config.php file of the moodle to reflect the changes, but you will no longer be under an .htaccess file whose rules are for a WordPress.

Your moodle code will have an .htacess file of it's own just for the purposes of declaring which version of php to use ... which is set via your cPanel. 

That's my best guess! smile

'SoS', Ken

MooWoodle

$
0
0
by Mateus Ferreira da Veiga.  

Hey guys!
First of all, I want to thank everyone who took the time to read and respond to me.
I'm new here and would like help with integrating Wordpress/WooCommerce with Moodle.
I was watching tutorials on YouTube and found the Ediwiser plugin, but the Woo integration became paid and I confess, I can't currently pay. I saw that MooWoodle exists, but I would like to know if anyone uses it and recommends it.
If there's another option, I'm also open to it!
If the English is a bit bad, sorry hehe I'm using Google Translate.


Re: MooWoodle

$
0
0
by Marcus Green.  

Edwiser appears to have 5,000+ installations
MooWoodle around 700
One is probably more mature than the other. E-Commerce solutions tend to cost money, as it allows the user to make money, which seems a reasonable expectation.
We are very tolerant of mangled English around here, but you and Google translate seem to be doing a good job.

Re: upgrading moodle 4.0.5 - unicode problem

$
0
0
by Ken Task.  

Those directions look ok to me, but then again, don't use cPanel nor phpmyadmin! smile

Since you do have terminal access to your site, suggest exploring the use of at least 3 more CLI only scripts found in code/admin/cli/ (for now ... the more you become comfortable in using CLI, the more you'll use them!)

checks.php, check_database_schema,php, and uninstall_plugins.php

That last one you aren't really uninstalling a plugin ... it has option to list contributed plugins ... something you should know prior to upgrading your core version of moodle.

Reference: https://docs.moodle.org/404/en/Administration_via_command_line

Not on the page above, how to do a site backup from command line using native linux tar (tape archive but for files instead) and mysqldump which is something else one should do prior to upgrade attempts.

And ... your version of Moodle is behind ... latest is now 4.4+. Do need to upgrade.   But before you do, visit Admin Environment check and update the component.   Then use the moodle version drop down list to see what moodle says you need to do before upgrading.

Comment: there is a lot below the water line of the iceburg known as Moodle! smile

'SoS', Ken

Ang: Re: Ang: Re: Ang: Error "ddldependencyerror" during upgrade from 4.2.1+ to 4.3+.

$
0
0
by Nicholai Vesterløkke.  

I had to change the prefix for the tables, but beside that it worked like a charm.

Thank you very much for the help.

Moodle - Course upload limits on assignments.

$
0
0
by Khaled Al-Ankar.  

Hello Moodlers,

For many years our university has used moodle. Currently 3.11.9 planned move to 4.3 this summer. We have a big media department that always struggles with assignment uploads at the end of the semester. The main reason is file size. Students upload video files as an end of year assessment and the video always max out on the file limit for assignment. As admins we need to change the setting to allow an higher upload limit for that time period. This is done on the backend but seems like extra work that could be mitigated.

Does anyone know if moodle 4 brings the ability to set a higher upload limit? Also if this can be done at an Individual course level as we don’t want to enable a higher course upload limit for all courses - storage these days is a premium.

If not then we will continue to use a work around but I am interested to know if any other universities are have the same problem, and how they are dealing with it.

Thanks,

Khaled

York St John University. 🇬🇧 

I am trying to enable BigBlueButton in my Moodle instance

$
0
0
by Binoy Chacko.  

Hi, I am trying to enable BigBluebutton button. I see the settings but it is still saying its disabled? How can I enable it?

This is the plugin 

settings bigblue button

bigbluebutton

Re: I am trying to enable BigBlueButton in my Moodle instance

Re: I am trying to enable BigBlueButton in my Moodle instance

$
0
0
by Binoy Chacko.  

Thanks Mary for your response. I don't see the option 'Manage activities' in this /admin/plugins.php when I go to 'General settings' section there is no option to enable

Re: I am trying to enable BigBlueButton in my Moodle instance

$
0
0
by Binoy Chacko.  

Thanks Mary. Managed to fix it is working now. This video was quite helpful

Re: MooWoodle

$
0
0
by Mateus Ferreira da Veiga.  

Thanks!

Re: Moodle - Course upload limits on assignments.

$
0
0
by Ken Task.  

https://docs.moodle.org/404/en/File_upload_size
Sounds like you are using Site Level only per course.
There are settings for course level and activity level.

Consider
https://support.google.com/a/answer/10403871?hl=en#zippy=

Media Department assignments would change from one that required an upload
to one that shared a link to the teacher for the students shared folder on their Google Drive.

Would think students might find that desirable as they could put together an e-portfolio of their work.

https://sites.google.com/keuka.edu/field-period-resources/assignments-reflections/making-an-e-portfolio

or could use:
WIX, Behance, FolioSpaces, Weebly

Truth in suggesting ... have not tried all the above.

'SoS', Ken

Re: Moodle - Course upload limits on assignments.

$
0
0
by Howard Miller.  

Could part of the assignment being producing reasonably small video files? If absolute video quality is one of the requirements, then uploading to Moodle may well not be wise at all.

memcached and redis cannot integrate into php 8.2 as extension during upgrade

$
0
0
by Ariden Lei.  

We are using Moodle 3.10, mysql 5.7 and PHP 7.2 on Centos 7.4. We have a plan to upgrade to Moodle 4.3.3+ on a newer Linux OS - AlmaLinux 9.

As a intermediate steps, we successfully upgrade Moodle 3.11.18, mysql 5.7, php 7.3 and php-fpm using compile source code method. The php extension of memcached and redis are working well after the upgrade. 

Afterwards, we moved to AlmaLinux9, php 8.2.18, mysql 8.0 and php-fpm installed by compile source code method. We found that the memcached and redis can be installed by dnf / yum method. They can be started and working. However, they no longer be integrated into php 8.2 as php extension. We are using the same php.ini file copied from Moodle 3.10.

When we check the php extension, it shows the below error messages. Memcached and redis failed to integrate as php extension.

[root@moodle etc]# php -m
PHP Warning:  PHP Startup: igbinary: Unable to initialize module
Module compiled with module API=20230831
PHP    compiled with module API=20220829
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php-zts/modules/memcached.so' (tried: /usr/lib64/php-zts/modules/memcached.so (/usr/lib64/php-zts/modules/memcached.so: undefined symbol: igbinary_serialize), /usr/local/php/lib/php/extensions/no-debug-zts-20220829//usr/lib64/php-zts/modules/memcached.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20220829//usr/lib64/php-zts/modules/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: redis: Unable to initialize module
Module compiled with module API=20230831
PHP    compiled with module API=20220829
These options need to match

I wonder why the memcached and redis can no longer be integrated into php extension. Some online material suggested that the problem can be solved by reinstalling the memcached as below:

pecl uninstall memcached libmemcached

pecl install msgpack igbinary memcached libmemcached libmemcached-devel

I have tried it but it does not work. And also I don't understand what is the difference between pecl install and yum install. Please kindly advise how to solve this problem. Thanks a lot!

Viewing all 47362 articles
Browse latest View live


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