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

Blank page during moodle installation on xampp platform (for windows)

$
0
0
by Marian Tanase.  

Hi,

I cannot finished the moodle installation on xampp for windows x64, with php 7.3.23.

After I entered the admin password and clicked on update profile, at that moment the screen seems to freeze and after a while a white window appears (http://localhost/moodle/user/editadvanced.php?id=2).

I repeated the installation several times, but it always locks in the same place. I can't find the error anywhere. I can't install moodle even using an xampp package with php 7.4

I mention that the moodle is the latest version, 3.9.2

Any clue ?

Thanks


Re: events_trigger_legacy() has been deprecated along with all Events 1 API in favour of Events 2 API.

$
0
0
by Howard Miller.  

Very likely that you have an old plugin that is not compatible with 3.9

Invalid course module ID

$
0
0
by Heleni Lindsell.  


can anybody help me with this please?

Re: Blank page during moodle installation on xampp platform (for windows)

$
0
0
by Brendon Hatcher.  

Hi. If you search Google for just editadvanced.php you'll find lots of forum posts about the issue.
Hopefully one of them contains a solution that works for you.

Regards
Brendon

Re: configuration of server to host 2000 concurrent users

$
0
0
by Brendon Hatcher.  

Hi

I think a lot depends on the way in which you are going to use the Moodle.
If users are asynchronous, with no deadlines and no common usage profile, they'll be logging in and doing activities at random, and the server load will balance over time. In this can, it will be relatively easy to specify a server.

However, if 2000 users all try to submit an assignment in the 15 minutes before deadline, or everyone has to do the same activity at the same time, then the server is either going to to struggle, or be overkill for the remainder of the quiet time.

You may be better off with a VPS where you can scale resources without having to build a new server each time.

Unfortunately, this gives you a way to think about the issue, but not specific server specifications, sorry.

Regards
Brendon

Re: Changed Site to SSL and email fails. Moodle 3.8.1+

$
0
0
by Dave Emsley.  

Yes Luis, thanks I had read both of those.

Cheers

Dave

Setting up local Moodle server with existing database in Windows

$
0
0
by Nick Reis.  

I am currently trying to set up a local server backup of our live Moodle site. I started by acquiring our moodle data and the .sqldatabase file. I then installed the Moodle 3.6.10 package for windows to match our live site. I started moodle and went through the initial configuration process, creating a database using default settings. I was able to import the Moodle data to the moodledata folder which worked great.

The problem I am having now is importing the .sql file and setting up the database after the initial configuration of moodle. I assumed that i wold be able to do this at localhost/phpmyadmin but there does not seem to be a way to access admin portal of the database. If anyone has tips or an idea of what i am supposed to do, I would greatly appreciate it.

Re: Memory usage XX% 0 - theme isn't loading

$
0
0
by James Hamilton.  

Well folks, the problem has been resolved. So, I thought I'd come share the shame I have for missing the obvious. The story:

  1. Teacher backs up massive course.
  2. Between the cache and the backup process the VM freaks out and the diskspace is very, very low.
  3. The error "must be fixed by a ... " appears and after clearing the cache the site these fails to load. Any theme.
  4. At the top of the page prints "Memory Usage XX%".
As in the original post I knew it was something to do with that line "Memory Usage XX%". So, after over a week of four devs and I trying to find the issue I was perusing config.php on a late Friday evening and found the pesky bugger. 



So, at some point in the freak out that line was injected into config.php. So there it is, the tiniest gremlin hiding in plain sight ruined the Friday before.  For those that come late this would have saved me hours:

grep -r --include=*.php "Memory usage: 36%" /var/www/html... 

Lesson learned: it's not always as complicated as you think.


Re: Invalid course module ID

$
0
0
by James Hamilton.  


[EDIT] Then I'd go close the eye on custom certificates and see if that is indeed the offending module. Then I'd trawl through this to find the solution for you: https://docs.moodle.org/37/enhttps://moodle.org/mod/forum/discuss.php?d=391844.

Your other post here makes it clear Custom Certificates is the issue. Are you using the correct version for your version of Moodle?

Re: Error after installing plugin

$
0
0
by James Hamilton.  

Disable the plugin (just change the plugins folder name to something else) to get your site up and running without scary messages. Then, make sure you have used a the version of the plugin that is compatible with your moodle version. If this was a new install of moodle you're likely on Moodle 3.9 and the plugin database indicates it is only released for 3.8. Let us know how you get on.

P.S. Have I seen you on TV ;)

Ri: Re: Blank page during moodle installation on xampp platform (for windows)

$
0
0
by Marian Tanase.  

Of course I did a research first, but there is no solution for my case. I re-installed it on another computer (windows) but I can't go on. Those who had problems were solved by chance, I have been using xampp for years and it has never given me problems with other cms.

Ri: Re: Blank page during moodle installation on xampp platform (for windows)

$
0
0
by Marian Tanase.  

Ok, I resolved!
On php.ini I've change the max execution time to a higher value like this:
max_execution_time=600

Re: Setting up local Moodle server with existing database in Windows

Re: Setting up local Moodle server with existing database in Windows

$
0
0
by Rick Jerz.  

What I do to import the database is to first go into phpmyadmin, and drop all of your moodle's tables.  Then, issue the following command from the mysql command line (you will have to modify it for your own situation) to import the sql file.  Depending upon the size of your sql file, it could take a while.  My sql file is around 3GB, and it takes around 10 minutes or so.

mysql -udbowner -p moodledb <moodledb_backup.sql.

dbowner is the owner of your database, local moodle.
moodledb is the name of your moodle's database
moodledb_backup.sql is your backup file.

Sure, you could try importing with phpmyadmin, but I never had good luck with it except for small sql files.


Re: Can't turn on editing mode (topic course) after upgrading to moodle 3.9

$
0
0
by ali moos.  

hello
i have the same problem
to soleve it...
Site administration>Appearance>Themes>Adaptable>Navbar Settings>Edit settings and Button display
and in this dropdown choose the last Configure

/var/www/moodle as 'root' or 'www-data'?

$
0
0
by Gareth J Barnard.  

Hello,

When sorting out an issue with 'PHP Unit' -> https://moodle.org/mod/forum/discuss.php?d=412355 I read the install docs and:

https://docs.moodle.org/39/en/Installing_Moodle#Download_and_copy_files_into_place

indicates that the 'moodle' folder should have the user and group of 'root' so that the web server cannot write to the code files and yet:

https://docs.moodle.org/39/en/Installing_Moodle_on_Debian_based_distributions

states to have the user and group as 'www-data' which is the user and group that the web server (in this case Apache) is running under and therefore the code files are writable by the web server!

Which is correct please?

Gareth


Re: /var/www/moodle as 'root' or 'www-data'?

$
0
0
by James Steerpike.  

I am not sure if there is a correct answer.
Having root as the owner will be safer as it is more restrictive. However if you install a plugin from within Moodle which requires writing to a Moodle code subfolder you will need to reset permissions through chmod. With the web server able to write to the directory this should not be necessary.
I have always stuck with root permissions and temporarily adjusted permissions using sudo.

Re: /var/www/moodle as 'root' or 'www-data'?

$
0
0
by Visvanath Ratnaweera.  

Hi Gareth

In my servers the owner of moodle/ tree is not the root, neither www-data. It is me, my Unix shell account. This me, as Unix shell accounts, belongs to the group users. In addition me is in the group www-data.

Files in moodle/ have permissions rw-r----- vr:www-data and directories rwxr-x--- vr:www-data. That way I can work 99% of the time as the user me - since I am the owner of moodle/ tree. The web server, running as user www-data, is also happy, since it can read and enter directories through the group www-data.

The problem with Moodle Docs is that, it is written for a "broad" audience. In plain text, Windows (desktop) power users struggling in Unix. On Windows desktop, everybody has superuser permissions. Anything more will just put them off.

Re: Changed Site to SSL and email fails. Moodle 3.8.1+

$
0
0
by Visvanath Ratnaweera.  

Are you sure nothing else has changed, other than your site going HTTPS? There is no reason the SSL of the web server should affect the out bound SMTP traffic of the PHPMailer script. The page you linked https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting confirms that:

"SMTP Error: Could not connect to SMTP host."

This may also appear as SMTP connect() failed, Called Mail() without being connected, Network is unreachable (101) in debug output. This is often reported as a PHPMailer problem, but it's almost always down to local DNS failure, firewall blocking (for example as GoDaddy does), local anti-virus software, or another issue on your local network. It means that PHPMailer is unable to contact the SMTP server you have specified in the Host property, but doesn't say exactly why. It can also be caused by not having the openssl extension loaded (See encryption notes below).

Some techniques to diagnose the source of this error are discussed below.


Did you follow them?

Re: configuration of server to host 2000 concurrent users

Viewing all 47066 articles
Browse latest View live


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