Quantcast
Viewing all 46917 articles
Browse latest View live

Re: Install - Moodle 2.7.1+ Error code: locktimeout

volgens Ken Task.  

In one of your currently working Moodles, check out the php info link to show settings for PHP on SiteGround.  If max time to execute is set to 30 seconds need to increase that.   Initial installs also require more memory.  Didn't say if you are on a shared plan or dedicated.   Shared plan may not be a good environment for 2.7-> of Moodle.

'spirit of thinkering', Ken


Re: Install - Moodle 2.7.1+ Error code: locktimeout

volgens J C.  

Thank you for the reply, Ken.

 

I think you are correct.  It was a time to execute issue.

However, I tried to do it again and it worked.  The sixth time was a charm.  Maybe the server or Internet connection was a little faster this time and it worked as it should.

I could not find anything on that error code so I decided to try a forum post.

It seems everything I do with moodle is in the spirit of thinkering...

 

I wish you all the best, thank you, JC

Re: Hostgator Errors on first login attempt

volgens john Simpson.  

I've got Moodle 2.71 from Hostgator. Don't bother with the control panels one click install, even if you get it, it will be a dated 2.5 Moodle. Ensure your php is set to the latest version, it's in the control panel.

Follow this tutorial installing Moodle with HOSTGATOR, and if you still have a problem, send a ticket to Hostgator and they will fix it for you just as they have done for me. It's always a good idea to contact your host, as they normally know what to do. In fact they often don't just explain, more often than not they fix it for you. But beware, not all hosts are good, some are useless, and not helpful at all.



Re: Multi Moodle System

Re: Hostgator Errors on first login attempt

volgens john Simpson.  

Hostgator is using a third party member called quick install, which I do believe you used. Hostgater is boasting that quick install keeps their software up to date. This is not true, and you could ask Hostgator to get this sorted with an up to date Moodle.

But best option is to follow the video instructions, get your mysql database sorted, download and upload to your file manager with the latest Moodle from here. It's the best way.

Re: Upgraded to php5.5 in Windows Server 2008-IIS7

volgens Luis Montoya.  

Hi, I have the same error, I could not find the solution, help me please.

Re: Hostgator Errors on first login attempt

volgens GOLF DUFFER.  

All,

The problem I was having was resolved by setting the Hostgator PHP setting to "CURRENT." This is a menu choice under PHP administration resulting in PHP file processing by the most current PHP version available on Hostgator. Before the reset I was using a version earlier than 5.4.4

I appreciate all the feedback!!!

Best regards,

Rolf Eriksen

Re: About upgrade moodle1.9 to moodle2.7

volgens viki Soni.  

Hi Howard,really thanxs for giving this solution and it works but again i had problem the following error come while upgrading so what should i do please help

Image may be NSFW.
Clik here to view.
error

Thanks


Re: About upgrade moodle1.9 to moodle2.7

volgens viki Soni.  

hi howard,Now im getting this problem so how can i slove it

Image may be NSFW.
Clik here to view.
error

redeclare class condition_info

volgens Simon H.  

I upgrade my moodle from 2.6.4 to 2.7.1. After upgrading I've got blank (white) screen. Then I turn on debug display in config.php

    $CFG->debug = 32767;
    $CFG->debugdisplay = true;


After that I receive an error: Fatal error: Cannot redeclare class condition_info in /home/moodle/public_html/lib/conditionlib.php on line 105.

Then I search and found that might be a problem with opcache (https://tracker.moodle.org/browse/MDL-45797). So I follow this doc - http://docs.moodle.org/27/en/admin/environment/php_setting/opcache.enable and enable opcache in php.ini:

    [opcache]
    opcache.enable = 1
    opcache.memory_consumption = 128
    opcache.max_accelerated_files = 4000
    opcache.revalidate_freq = 60
    
    ; Required for Moodle
    opcache.use_cwd = 1
    opcache.validate_timestamps = 1
    opcache.save_comments = 1
    opcache.enable_file_override = 0
    
    ; If something does not work in Moodle
    ;opcache.revalidate_path = 1 ; May fix problems with include paths
    ;opcache.mmap_base = 0x20000000 ; (Windows only) fix OPcache crashes with event id 487
    
    ; Experimental for Moodle 2.6 and later
    ;opcache.fast_shutdown = 1
    ;opcache.enable_cli = 1 ; Speeds up CLI cron
    ;opcache.load_comments = 0 ; May lower memory use, might not be compatible with add-ons and other apps.


Reload apache and it still doesn't work. I also try to comment out part *; If something does not work in Moodle* and error still occurs. Any idea what might be wrong?

I also read that might be a problem with themes. Before I upgrade I switch theme to Clean which is default theme in 2.7.

I have ubuntu 14.04 with PHP 5.5.9-1ubuntu4.3 (cli) (built: Jul  7 2014 16:36:58)

Re: Hostgator Errors on first login attempt

volgens john Simpson.  

And did you get the latest 2.71 moodle from quickinstall?

[solved] binary log BINLOG_FORMAT issues with MariaDB while upgraging vanila moodle.org 2.8dev master branch

volgens Nadav Kavalerchik.  


Not sure what came over me, but I finally decided to switch from MySQL 5.5 to MariaDB 5.5 (maybe too much reading and talking about performance optimizations)

The "migration" was smooth like "they" say it is. (uninstall mysql-server ... install mariadb-server)

After a few days of everything works fine (I am running 15 various Moodle versions servers on that development machine) came that weekly day where I do git pull on moodle.org master (dev) branch.

Running through the upgrade I got:

Debug info: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.

INSERT INTO mdl_context (contextlevel, instanceid)

SELECT 30, u.id

FROM mdl_user u

WHERE u.deleted = 0

AND NOT EXISTS (SELECT 'x'

FROM mdl_context cx

WHERE u.id = cx.instanceid AND cx.contextlevel=30)

[array (

)]

Error code: dmlwriteexception

Stack trace:

line 446 of /lib/dml/moodle_database.php: dml_write_exception thrown

line 908 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()

line 6432 of /lib/accesslib.php: call to mysqli_native_moodle_database->execute()

line 5922 of /lib/accesslib.php: call to context_user::create_level_instances()

line 1586 of /lib/upgradelib.php: call to context_helper::create_instances()

line 361 of /admin/index.php: call to upgrade_core()

===

Reading a some threads on the forums (especially, this one: https://moodle.org/mod/forum/discuss.php?d=164025)

I issued "SETGLOBALbinlog_format='MIXED'" on the MariaDB SQL console, which seems to solve this issue.

And upgrade process continued smoothly Image may be NSFW.
Clik here to view.
glimlach

If anyone think this should go into the tracker please let me know Image may be NSFW.
Clik here to view.
glimlach

Re: About upgrade moodle1.9 to moodle2.7

by viki Soni.  

Hi friends i had solved by quiz problem but now i had this screen after upgrade to moodle2.2 from moodle1.9 so please help me

Image may be NSFW.
Clik here to view.
error

Thanks

Upgrading or New Install

by Kelly Bramble.  

Situation:

My server currently runs two separate versions of Moodle on two different websites.

One website runs version 2.3.11 and the other runs 1.9.12

Both versions of Moodle works as expected... NO PROBLEMS.

I have attempted all of the following with no success.

Upgrade from 1.9.12 to to 2.0.10, I get as far as the plugins check, then on clicking the"upgrade" button I get a blank screen. No errors, no apache errors, no nothing errors...

I have attempted a fresh install of 2.0.10 with the same results.

I have attempted a fresh install of version   2.5.7 as well as 2.6.4 - nothing works, all installs or upgrade attempts indicate that my server has all the right PHP, MySQL versions, etc... I have experimented to various tweaks in the config.php and many other hacks. 

I have searched Moodle forums for solution and read and attempted every logical suggestion or similar suggestion fix - nothing works.

This is beyond frustrating - my server is running two versions of Moodle just fine...

Suggestions?        Are there any advanced server configuration capability checks available for Moodle?



Re: Upgraded to php5.5 in Windows Server 2008-IIS7

by Scott Karren.  

Mari and Luis,

PHP 5.5.X does require the Visual C++ Redistributable for Visual Studio 2012.  You also need to make sure you get the right version of these files.  If you are running 64bit PHP you need the 64bit VC11 files.  You also need to make sure you get the correct files for either Apache or IIS.  You can go here to get them http://windows.php.net/download/ just look in the left column for the file information.

Just a note about the 64bit builds of PHP, they are currently experimental and I would not recommend using them on any production environment.

HTH

Scott


Re: Upgrading or New Install

Re: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.

by Damien Colmant.  

Hi, 

I am getting the same error. Using a remote server (running Linux I believe)

Could anyone help? I checked the install guideline with no success.

Thanks in advance!

My config.php file looks like:

unset($CFG);

global $CFG;

$CFG = new stdClass();


$CFG->dbtype    = 'mysqli';

$CFG->dblibrary = 'native';

$CFG->dbhost    = 'localhost';

$CFG->dbname    = 'xxxx';

$CFG->dbuser    = 'xxxxx';

$CFG->dbpass    = 'xxxxx';

$CFG->prefix    = 'mdl_';

$CFG->dboptions = array (

  'dbpersist' => 0,

  'dbport' => '',

  'dbsocket' => '',

);


$CFG->wwwroot  = 'http://www.extend-coaching.com/moodle';

$CFG->dataroot  = 'moodledata';

$CFG->admin     = 'admin';


$CFG->directorypermissions = 0777;

Re: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.

by Guillermo Madero.  

Hello Damien,

The $CFG->dataroot parameter must have the full path to the moodledata directory.

Re: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.

by Ken Task.  

You are indeed running Linux Debian ... at least that's what X-Powered shows.

Verify before doing what is suggested below ... ie, check your apache2.conf.

DOCUMENT_ROOT   /var/www/ - this found in apache2.conf
so moodledata can be in /var/
but must be owned by apache2 user or www-data (don't remember which Debian boxen uses).
If you have WP at your site in front of Moodle, check the ownerships of those files.

In the config.php file for Moodle give the full path
to moodledata ... which would be /var/moodledata

'spirit of thinking', Ken

Re: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.

by Damien Colmant.  

Thanks! I have tried with /var/moodledata without success.

Being incompetent in Linux/PHP (I am here just  using a FTP tool), I asked my webmaster for a copy apache2.conf. Or you have a way to help me retrieve it?

Sincerely,

Damien

Viewing all 46917 articles
Browse latest View live


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