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

Re: Cron task errors!

$
0
0
by Mustafa Hajjar.  

Thanks Howard,
I do see the extension in the site's PHPINFO (see attached)
However, when I run https:///admin/cron.php, the page only shows:
[
Server Time: Fri, 19 Apr 2024 14:53:48 +0000

Ran 0 adhoc tasks found at Fri, 19 Apr 2024 14:53:48 +0000
Cron run completed correctly
Cron completed at 14:53:48 in 0.021615 seconds. Memory used: 1.9 MB.
]

The log shows the same error though!

Re: Cron task errors!

$
0
0
by Howard Miller.  

Are you running cron from command line PHP?

Command line PHP and "web" PHP are completely different binaries. They don't have to be the same version, have the same config or anything. If that is the case, try running something like...

php -i | grep intl

...and see what that turns up.

Re: Cron task errors!

$
0
0
by Mustafa Hajjar.  

I ran php8.1 -i | grep intl
/etc/php/8.1/cli/conf.d/20-intl.ini,
intl
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => Off => Off

I am guessing they are off because they are commented out in the ini, but why are they showing in the "web" PHPINFO? Should I turn them on in the ini (taking out ';' before the extension) and see what happens?

Thanks,
Mustafa

Re: Cron task errors!

$
0
0
by Howard Miller.  

That actually looks ok.

I'm running out of ideas, but it's worth checking the 'disable_classes' directive in php.ini. Make sure you're looking in the *right* php.ini. You'll almost certainly have more than one.

Re: Cron task errors!

$
0
0
by Hostking Hosting.  

Are you sure you weren't using PHP 7.4 before? "Deprecated: str_replace(): part usually indicates that certain functions are now obsolete in the version of PHP you are currently using.

I am facing an issue with my moodle site

Re: How long does it take to prepare upgrading moodle?

$
0
0
by Visvanath Ratnaweera.  

But the question is "How long does it take [for the OP] to prepare [his institution to] upgrading moodle" - which needs some telepathy and other magical powers in addition to knowledge in Moodle.

May be, a good question to ask these ChatGPT and the like.
big grin

Re: I am facing an issue with my moodle site

$
0
0
by Howard Miller.  

Moodle 4.1 does not support PHP 8.2. Like it says.

If you want to run Moodle 4.1 then PHP has to be at least 7.4 and at most 8.1. Newer versions of Moodle support PHP 8.2

Re: How long does it take to prepare upgrading moodle?

$
0
0
by Howard Miller.  

I see what you did there wink

Re: I am facing an issue with my moodle site

$
0
0
by Joseph Appiah-Duku.  

So what do I do? This is on my admin page and I cannot log in. Even though normal accounts can log in without seeing this. I think I downloaded an activity plugin and this happened. I have removed the plugin but still facing this issue. How do I fix this and get my site back?

Re: I am facing an issue with my moodle site

$
0
0
by Howard Miller.  

This is nothing to do with adding plugins. Or not directly at least. I expect that someone has upgraded PHP on your server without telling you.

You have two choices... you downgrade PHP back down to 8.1 or you upgrade Moodle. Moodle 4.4 is just out but 4.3 also supports PHP 8.2.

Re: I am facing an issue with my moodle site

$
0
0
by Joseph Appiah-Duku.  

Hello Howard, I changed my php to 8.1, and it turned green. Looks like now I have another problem. How do I fix this?The new issue

Re: I am facing an issue with my moodle site

Re: I am facing an issue with my moodle site

$
0
0
by Joseph Appiah-Duku.  

Thank you, Howard. I have fixed it now. The site is working now

Moodle 4.4 admin/environment.xml discrepancy

$
0
0
by Eoin Campbell.  

I tried downloading and installing Moodle 4.4 this morning from the Zip file https://download.moodle.org/download.php/stable404/moodle-4.4.zip, but encountered an error that MariaDB version 10.6.7 is required, as specified in admin/environment.xml (see screenshot below). However, I then downloaded the Windows installation file Moodle installer package for Windows. It has a different environment.xml file which only requires MariaDB 10.4. The Release Notes specifies MariaDB 10.6.7, but the installation worked OK for me on 10.4, although I haven't tested it in operation very much.

This is either a bug in the Moodle installer package for Windows, or an error in the documentation.

image.png


Re: Moodle 4.4 admin/environment.xml discrepancy

$
0
0
by Howard Miller.  

I *think* (i.e. you shouldn't take my word for it) that this is a known bodge in the Windows version. What it took to make it work and so on...

The release notes (https://moodledev.io/general/releases/4.4) should be "gospel". Remember, the windows package is not intended for production use.

Re: Moodle 4.4 admin/environment.xml discrepancy

$
0
0
by Rick Jerz.  

Eoin, as of a little while ago, the various AMP products did not have the latest databases. What you are seeing is a workaround solution.

You can get a sense of what is happening by visiting these discussions titled "Testing Environment."

Installation Error

$
0
0
by Trevor Hughes.  

Dear all,

My apologies for what might be quite a few posts. Although I have used Moodle as a teacher, this is my first time trying to install moodle. Installation seemed to be going well, but has failed at this step. Does anyone have any idea what I do to fix this?  I am lost! 

For info, this is a new install on a new site.

Thank you,

Trevor

image.png

Re: Installation Error

$
0
0
by Howard Miller.  

You're going to have to give us more of a clue.

Version? Where did you get Moodle from? What/where are you installing? What instructions did you follow? And so on...

This looks like something is going wrong loading the XML files that define the database. They may be missing, corrupt, wrong permissions...

Multi domains

$
0
0
by István Ballai.  

Hi,

we have encountered a requirement from one of our clients that they should be able to access Moodle through two domains for data security reasons. (With full functionality within the network and only with student roles from the open internet, we can handle this part.) domain_internal.company.com/moodle domain_external.company.com/moodle

We've tried setting up a reverse proxy, and we've managed to get domain_external.company.com/moodle to open the homepage. However, when we log in, it redirects to the domain_internal.company.com/moodle page.

What configurations are needed for this?

Regards,

István

Viewing all 46752 articles
Browse latest View live


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