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

Re: Debugging after DB Upgrade with MariaDB 10.5.10

$
0
0
by Ken Task.  

Glad you got it sorted.  Have seen others with similar issues (deleting a course module - which was a quiz).   Not really discovered as to cause .. will probably never know! :|

Since this involves  DB, am wondering if it has anything to do with DB character set and collation + using InnoDB?

There are some scripts in code/admin/cli/ I suggest you run to see if there are any issues with the restored DB.

Run all the scripts that begin with mysql_ to see.

'SoS', Ken



Re: remove a theme

$
0
0
by Ken Task.  

In moodle code/theme/ there used to be a folder called 'adaptable' and it's now missing from that location.   The screen is telling you that ... there are references in database for the theme, but moodle can't find the files related to upgrade it.

So in this case all one has to do is update the database ... button on Moodle Admin screen.

Or one could execute the upgrade.php script from command line ... located in code/admin/cli/  .... execute via: php upgrade.php [ENTER].

That should remove the rows in mdl_config_plugins table for that theme.

Guessing that should also solve your other problem you've reported about tabs? (note that's a guess or ?)   Remains to be seen.

BTW, the reason I asked about size of your site backups, I was considering installing your backups in a Virtualbox/CentOS on my laptop to sort your upgrade issues out.   But, consideration withdrawn now - as you seem determine to fix on your server (and struggling to do so :\)

Comment: moodle has never been install it once and forget it.  Does need some care an maintenance from time to time (includes updating and upgrading, *backups* - both site and courses, etc).  Unfortunately, think you're learning that the hard way ... and no one in these forums can really help enough! sad

'SoS', Ken

Re: remove a theme

$
0
0
by Ken Task.  

So the issue with updating the theme is now fixed?

Please respond to that.

Now we are leaving the theme and onto other issues in a posting about theme issues.

That particular error has been reported in past versions of Moodle, but solutions seen may not apply in your case ... think those following your troubles are confused ... I know I am.

Troubles started with hosting provider upgrading your PHP to a version (7.4) that created problems with the version of moodle you were running.   Later you say you are now running PHP 7.0 ... and am assuming moodle is 3.6.highest.    Is that where you are at present?

What sort of access do you have to your server?   Do you have a panel (like cPanel)?   Is your server on a shared hosting plan?  Do you have ssh access to your server?

Right now the only thing I can suggest is to turn on debugging (all the way to developer) to see if we can't get more technical information from your setup/issues.

'SoS', Ken

Re: remove a theme

$
0
0
by Carlos Cadabeira.  

Yes. I fixed updating the theme, thank you.

The problem iz novv:

It throws me the aforementioned error and does not let me do any editing in the courses, but if the students can work in the courses,

Thank you so much

Re: remove a theme

$
0
0
by Ken Task.  

Please respond to the questions asked in my previous post.

Please turn on debugging and report back here what it might be showing.

One additional thing to check ... web servers error logs ... look for entries in those logs related to what you were attempting to do.   Share those back here as well.

If you don't do above, am afraid no one can help you!!!

'SoS', Ken

Message error: Excepción - Class '\availability_group\frontend' not found

$
0
0
by Carlos Cadabeira.  

My friend

The debbug don´t shown me nothing new.

Only the message: "Excepción - Class '\availability_group\frontend' not found"

Thank you very much

Moodle 3.9 to 3.11 and PHP 7.2 to 7.4 upgrade

$
0
0
by Rick Sparrow.  

Hi there, looking for general advice on doing this upgrade. I feel I'm missing some steps. I have a Moodle 3.9 server running on Ubuntu 18.04.5 LTS. I'm trying all this on a test VM first. I'm planning on upgrading our production server to 3.11 in August.

Our Moodle 3.9 is using PHP 7.2. Moodle 3.11 requires at least PHP 7.3 or 7.4. I see that Ubuntu doesn't normally offer PHP 7.3 for Ubuntu 18, but I found articles on upgrading PHP by adding another, third-party repository (ppa:ondrej/php) and obtaining PHP 7.4 from there. php -v still shows PHP 7.2 as the active version running. I know I have to run sudo a2dismod php7.2 and sudo a2enmod php7.4, and restart Apache, to enable it. 

I take it before doing these steps I need to download PHP7.4 versions of the various PHP extensions Moodle requires. If I download the various extensions listed under Site Admin > Server > Environment, would I then simply switch to PHP 7.4 using the steps mentioned above, and then continue on with the standard upgrade steps? I'm a bit confused as to the order of upgrade here... The last time I did an upgrade, I had created a new VM (our current one) and so PHP 7.2 was already there by default. Hope that makes sense! Thanks in advance for any help you can provide.

Re: Message error: Excepción - Class '\availability_group\frontend' not found

$
0
0
by Ken Task.  

Obviously, you are not a programmer of Moodle.  Debug will show which scripts and line numbers of those scripts.  Am not a programmer either ... but if others see those lines, they might jump in here with a solution for you.

Go to your site /admin/settings.php?section=debugging

Set to developer and leave it on until your site shows no errors.

Please respond to the questions asked in my previous post.
One additional thing to check ... web servers error logs ... look for entries in those logs related to what you were attempting to do. Share those back here as well.

If you don't do above, am afraid no one can help you but you!!!

'SoS', Ken

unsupported_db_table_row_format

$
0
0
by Carlos Cadabeira.  

Hello, this is a serious problem????

"unsupported_db_table_row_format"

Thank you

mysql_full_unicode_support

$
0
0
by Carlos Cadabeira.  

Hello, is this a serious problem? I am using moodle 3.6

"mysql_full_unicode_support"

How can it be solved?

Thanks

Re: mysql_full_unicode_support

Re: unsupported_db_table_row_format

Cant't view any log in external database log

$
0
0
by Federico Montinaro.  

Hi all, 

I configured the external database log (connection test is ok) but I can't see log data in the new external table. 
All logs are present in the moodle table (mdl_logstore_standard_log).

Can someone help me? I'm using the 3.10 version.

Thanks!

Re: Moodle 3.9 to 3.11 and PHP 7.2 to 7.4 upgrade

$
0
0
by Howard Miller.  

The first important thing is that command line php (your 'php -v') and mod-php (the thing that Apache sees) are completely different. The version from the command line is unrelated to what's running under the web browser. You can to to (in Moodle) Site administration > Server> PHPInfo to check that.

the ondrej PPA is reliable and pretty well documented. You have to use it to upgrade to 7.4 and, yes, you will also need all the new 7.4 extensions. As both 3.9 and 3.11 work with 7.4 it should be straightforward.

Re: mysql_full_unicode_support

$
0
0
by Carlos Cadabeira.  

Thank you very much.


Coding error detected

$
0
0
by HS Moodle.  

Hello,

We are facing an issue like below. I already tired purge all cache but it gaves same error. If i try purge cache one by one only Moodle MUC Cache gave an error. This error shows up while deleting a user.

Default exception handler: Coding error detected, it must be fixed by a programmer: The data source class does not exist. Debug:

Error code: codingerror
* line 506 of cacheclassesdefinition.php: coding_exception thrown
* line 324 of cacheclasseshelper.php: call to cache_definition::load()
* line 866 of courseclassescategory.php: call to cache_helper::purge_by_event()
* line 1578 of libaccesslib.php: call to core_course_category::role_assignment_changed()
* line 2036 of libenrollib.php: call to role_assign()
* line 158 of enrolmanualajax.php: call to enrol_plugin->enrol_user()


Re: Moodle 3.9 to 3.11 and PHP 7.2 to 7.4 upgrade

$
0
0
by Rick Sparrow.  

Thanks for the info. I've downloaded some of the PHP 7.4 extensions. Unfortunately, it couldn't find PHP7.4-specific versions for openssl, tokenizer, zlib, spl, and hash. The other ones such as curl, soap, mbstring, xmlrpc, gd, intl, ldap and zip were installed or were part of the php-common package... So I'm still searching for those. As it is, once I ran sudo a2dismod php7.2 and sudo a2enmod php7.4, and restarted Apache, Moodle came up with "Error: database driver problem detected. The site administrator should verify server configuration. PHP has not been properly configured with the MySQLi extension for it to communicate with MySQL. Please check your php.ini file or recompile PHP." Aside from the missing PHP extensions, are there other settings/ini files I need to edit here for Moodle to come back up?

Re: PHP Upgrade - Fatal error: $CFG->dataroot

$
0
0
by Shawn Peters.  

So I updated Moodle to 3.10.4 to see if that would fix things.
PHP v7.2.x has no issues. As soon as I load up PHP v7.3.x --- fails "Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting." Error again.

No idea what's so different in PHP v7.3 from v7.2

CSS Does Not Load After Plugin Installation

$
0
0
by Benjamin Stone.  

Our team installed the configurable reports plugin to our live Moodle LMS site, but afterwards our page is no longer loading any CSS. We have tried purging caches from Moodle, our web host (SiteGround), and by manually deleting cache and localcache in the moodledata folder on the server. Unfortunately, the problem has still not been solved yet.

Here is a screenshot of the site as it is now. Additionally, none of the plugin updates seem to be working. They also seem to be the same date for the new and current versions.


Re: Moodle 3.9 to 3.11 and PHP 7.2 to 7.4 upgrade

$
0
0
by Howard Miller.  

Sounds like you're missing php74-mysql (or whatever it's called).

I wonder what you mean by "downloading". This should all work quite happily via 'apt-get'.

I'm thinking that it might have been less hassle simply to upgrade Ubuntu to 20.04.
Viewing all 46939 articles
Browse latest View live


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