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

Re: Upgrade 2.7 Antelope to Barracuda

$
0
0

by Annie Price.  

Hi Usman,

Thanks for responding.

It simply will not let me log in and after clicking on the forgot password link (even though I am positive its correct) I get the message 'Error sending password change confirmation email'

I think the very first moodle install was 1.2 (around 2005) and I have just constantly upgraded since then.

I've just had a thought .... I'm wondering if I did a clean install of 2.7 would I be able to backup my 2.4 courses and restore them to the 2.7 installation?


Re: Moodle MAX filesize (All tried)

$
0
0

by Mikel Ortueta.  

Finally it is working!!!

The error was the space in the php.ini file...

Thank yo very much for sharig your knowledge/experience @Ken Task and @Emma Richardsonalso @Howard Miller

Looking to this situation, there is anyway to know when the php file it is not being loaded or that it has some kind of error?

I feel like an idiot...

Best regards!

Re: Upgrade 2.7 Antelope to Barracuda

$
0
0

by Usman Asar.  

since version 1.2, wow that's a long time, most I have seen people using moodle since 1.9.

Ideally, yes, a clean install would be much better, and yes to importing 2.4 courses into 2.7 without issues as well, it was just versions prior to 2.0 could have issues as course backups were new in 2.0, after that any version is compatible with each other.

Re: Upgrade 2.7 Antelope to Barracuda

$
0
0

by Annie Price.  

Hi Usman,

Thanks for that information - might make life a lot simpler.

Just wondering - can I import 2.4 courses into the latest version of moodle or do I need to do the 2.7 step first? 

moodle 3.2.1 LAN configuration for client

$
0
0

by mas bejo.  

i've just installed bitnami moodle 3.2.1 but when i see configuration for LAN makes me confuse where's $CFG->wwwroot = 'http://IP Address/Moodle'; 

=============================================================================

<?php  // Moodle configuration file


unset($CFG);

global $CFG;

$CFG = new stdClass();


$CFG->dbtype    = 'mysqli';

$CFG->dblibrary = 'native';

$CFG->dbhost    = '127.0.0.1';

$CFG->dbname    = 'bitnami_moodle';

$CFG->dbuser    = 'bn_moodle';

$CFG->dbpass    = '35ed4937ef';

$CFG->prefix    = 'mdl_';

$CFG->dboptions = array (

  'dbpersist' => 0,

  'dbport' => 3306,

  'dbsocket' => '',

);


if (empty($_SERVER['HTTP_HOST'])) {

    $_SERVER['HTTP_HOST'] = '127.0.0.1:80';

};


if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {

    $CFG->wwwroot   = 'https://' . $_SERVER['HTTP_HOST'] . '/moodle';

} else {

    $CFG->wwwroot   = 'http://' . $_SERVER['HTTP_HOST'] . '/moodle';

};

$CFG->dataroot = 'C:/Bitnami/MOODLE~1.1-0/apps/moodle/moodledata';

$CFG->admin     = 'admin';


$CFG->directorypermissions = 02775;


$CFG->passwordsaltmain = '27d7c87a7cbd785b03164dc731b2b80916441dccc0cf8a20dbca2ba206147a3f';

require_once(__DIR__ . '/lib/setup.php');


// There is no php closing tag in this file,

// it is intentional because it prevents trailing whitespace problems!


Tárgy: Re: Can't get through the installation process! Problem with admin account setup

$
0
0

by Ferenc Vasóczki.  

Same here. Empty database, run the install, and get this.


Befora that, I've tried to do everything as the install guide wrote,  and created my own config file for mairadband I've got this:

dml_read_exception: Error reading from database in moodle_database.php on line 479

Running install.php through web:

Warning: require_once(D:\Apache\htdocs\moodle/lib/outputcomponents.php): failed to open stream: No such file or directory in D:\Apache\htdocs\moodle\lib\outputlib.php on line 31


What these community want to teach me? How to create PHP exceptions or notices? From 2 

Re: moodle 3.2.1 LAN configuration for client

$
0
0

by Howard Miller.  

There's loads of stuff in there that's not standard Moodle - presumably it's part of the Bitnami install - which makes it very hard to help you.

Did you *have* to use Bitnami? I would always advice installing Moodle from the code downloaded from here (moodle.org) and follow the installation instructions in the Wiki. Failing that, does whoever provided the Bitnami option give you support?

Having said all that, it just seems to be trying to pick up the wwwroot from the URL which - although a bad idea - would mean that you don't need to specify it at all. 

Re: Error installing moodle


Re: moodle 3.2.1 LAN configuration for client

$
0
0

by mas bejo.  

where do I have to write no ip address of the server so that it can be opened in client, 

Re: Upgrade 2.7 Antelope to Barracuda

$
0
0

by Usman Asar.  

I don't think you'll be needing to upgrade to 2.7 prior to import courses, requirement to upgrade moodle to higher versions require at least 2.7, anything created in 2.0+ can be imported into any version of Moodle above that as I remember importing courses backwards (3.x to 2.7) only thing I got was message that course was created in newer moodle, rest courses got imported perfectly.

Any experience with "OAuth2 Server Plugin for Moodle" plugin

$
0
0

by Hille Hille.  

Does anybody have any experience (good or bad) with the "OAuth2 Server Plugin for Moodle" at https://github.com/projectestac/moodle-local_oauth.

Does anybody know of any alternatives?


The  mentioned plugin makes a Moodle installation acting as an OAuth2 Provider (rather than a client), thus allowing moodle users to authenticate using their moodle credentials when using other applications.


Please excuse this post being an almost cross-posting from the "Security and privacy" section where it probably wasn't well placed.


Many thanks for any opinions!

install with non-default php

$
0
0

by Mahmood Naderan.  

Hi

There is a custom php7 on our system and I want to use that for moodle installation. However, the install.php script uses the default php5 which is old. How can I force the script to use the custom php7?

Installation issues - VC

$
0
0

by Vito Cangelosi.  

I am trying to install the latest version of Moodle on my server. I am receiving the following errors. Any assistance is greatly appreciated. 


Warning: require_once(/homepages/10/d177137605/htdocs/moodle 2 2017/lib/htmlpurifier/homepages/10/d177137605/htdocs/moodle 2 2017/lib/pear:.:/usr/lib/php7.0): failed to open stream: No such file or directory in /homepages/10/d177137605/htdocs/moodle 2 2017/lib/htmlpurifier/HTMLPurifier.safe-includes.php on line 73

Fatal error: require_once(): Failed opening required '/homepages/10/d177137605/htdocs/moodle 2 2017/lib/htmlpurifier/homepages/10/d177137605/htdocs/moodle 2 2017/lib/pear:.:/usr/lib/php7.0' (include_path='/homepages/10/d177137605/htdocs/moodle 2 2017/lib/pear:.:/usr/lib/php7.0') in /homepages/10/d177137605/htdocs/moodle 2 2017/lib/htmlpurifier/HTMLPurifier.safe-includes.php on line 73

Re: install with non-default php

$
0
0

by Howard Miller.  

Ask the administrator of your system?

Re: install with non-default php

$
0
0

by Mahmood Naderan.  

I am the new admin!

Thing is, install.php reads the version of a the default php which is php5. I am looking a something like CC=/path/to/GCC which we use to configure and make. Something like that for php and moodle


Re: can not display the css / images on moodle ... help me

$
0
0

by Marcelo Leite.  

After hours studying about this case, finally I have a solution and I would like to share with us smile

1. configure PHP as described in this link https://moopi.uk/mod/page/view.php?id=78

(this configuration fully supports 'slash arguments' )

2.In the first screen, don't forget to put a slash at the end of moodledata config directory

restart nginx and woilá...images works as expected smile

Re: Server 2016, IIS, SQL 2016, PHP7

$
0
0

by Kenneth McKinnon.  

For anyone who's using Microsoft SQL Express, put this in your config.php file.

$CFG->dbhost    = 'localhost\sqlexpress';  // eg 'localhost' or 'db.isp.com' or IP

Invalid collation 'utf8mb4_unicode_ci'.

$
0
0

by Kenneth McKinnon.  

Upgrading Moodle database from version 2.9.9+ (Build: 20161129) (2016011300.07) to 3.2.1+ (Build: 20170303) (2016120501.10)

After several days of trying to get Moodle to work with Microsoft SQL 2016, I was successful; however, I'm trying to upgrade a copy of my Moodle production to the latest version of Moodle.  During the upgrade process, after it checks the plugin's, it wants to upgrade the datbase.  When I try to upgrade the database, I get this message:

Default exception handler: Error writing to database Debug: SQLState: 42000
Error Code: 448
Message: [Microsoft][ODBC Driver 13 for SQLServer][SQL Server]Invalid collation 'utf8mb4_unicode_ci'.
DELETE FROM mdl_config WHERE name COLLATE utf8mb4_unicode_ci LIKE N'webservice|_amf|_%' ESCAPE '|' [array ( 0 => 'webservice|_amf|_%', )] Error code: dmlwriteexception * line 482 of \lib\dml\moodle_database.php: dml_write_exception thrown * line 297 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end() * line 404 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end() * line 1243 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query() * line 1577 of \lib\moodlelib.php: call to sqlsrv_native_moodle_database->delete_records_select() * line 1261 of \lib\db\upgrade.php: call to unset_all_config_for_plugin() * line 1688 of \lib\upgradelib.php: call to xmldb_main_upgrade() * line 517 of \admin\index.php: call to upgrade_core()

I believe it's a Collation issue, but I have tried multiple collations with no success.

Re: install with non-default php

$
0
0

volgens Howard Miller.  

What operating system is this? What web server? What are the web server settings for PHP? Have you any idea how the PHPs were installed?

Re: install with non-default php

$
0
0

volgens Mahmood Naderan.  

It is Ubuntu-14.04


 mahmood@ce:~$ ls -l /usr/bin/php*
lrwxrwxrwx 1 root root      21 Dec 20  2014 /usr/bin/php -> /etc/alternatives/php
-rwxr-xr-x 1 root root 9049256 Feb 10 01:07 /usr/bin/php5
-rwxr-xr-x 1 root root 9026928 Feb 10 01:07 /usr/bin/php5-cgi
-rwxr-xr-x 1 root root 4324384 Mar  2 17:24 /usr/bin/php7.0
lrwxrwxrwx 1 root root      25 Dec 20  2014 /usr/bin/php-cgi -> /etc/alternatives/php-cgi
mahmood@ce:~$ ls -l /etc/alternatives/php
lrwxrwxrwx 1 root root 15 Mar  4 17:57 /etc/alternatives/php -> /usr/bin/php7.0
mahmood@ce:~$ php -v
PHP 7.0.16-4+deb.sury.org~trusty+1 (cli) (built: Mar  2 2017 13:27:03) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.16-4+deb.sury.org~trusty+1, Copyright (c) 1999-2017, by Zend Technologies
mahmood@ce:~$ php5 -v
PHP 5.5.9-1ubuntu4.21 (cli) (built: Feb  9 2017 20:54:58)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies



Now, when I want to launch Moodle-3.2 installer from a web browser, I get this message


Moodle 3.2 or later requires at least PHP 5.6.5 (currently using version 5.5.9-1ubuntu4.21).
Please upgrade your server software or install older Moodle version.
Viewing all 46871 articles
Browse latest View live


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