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

Re: Error writing to database

$
0
0
by luna moon.  

Hi Luis,

From what I can remember my co-worker created a custom profile field and made them required. 

I turn on the debugging and I get this error  below:

QuickForm Error: the rule does not exist as a registered rule Rule '' is not registered in HTML_QuickForm::addRule()
Backtrace :

Array ( [0] => Array ( [file] => F:\mighServer\Apache\Apache24\htdocs\moodle\moodle\lib\pear\HTML\QuickForm.php [line] => 1990 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => the rule does not exist as a registered rule [1] => -2 [2] => 16 [3] => pear_handle_error [4] => Rule '' is not registered in HTML_QuickForm::addRule() ) ) [1] => Array ( [file] => F:\mighServer\Apache\Apache24\htdocs\moodle\moodle\lib\pear\PEAR.php [line] => 531 [function] => HTML_QuickForm_Error [class] => HTML_QuickForm_Error [object] => HTML_QuickForm_Error Object ( [error_message_prefix] => QuickForm Error: [mode] => 16 [level] => 1024 [code] => -2 [message] => the rule does not exist as a registered rule [userinfo] => Rule '' is not registered in HTML_QuickForm::addRule() [backtrace] => Array *RECURSION* [callback] => pear_handle_error ) [type] => -> [args] => Array ( [0] => -2 [1] => 16 [2] => pear_handle_error [3] => Rule '' is not registered in HTML_QuickForm::addRule() ) ) [2] => Array ( [file] => F:\mighServer\Apache\Apache24\htdocs\moodle\moodle\lib\pear\HTML\Common.php [line] => 100 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array 

 )

)

.....Have not changed anything on my part but let me check and see what could the error be.               


Re: can't install Moodle on Mac

Re: upgrading to 2.0 ERROR: System Error reading from database

$
0
0
by Myrrh Lynn.  

Hi Ken,Yes, indeed, it is painful! LOL! I appreciate your offer to help, but I have decided to go another route.

Re: FAILED Upgrade from 1.9.19 to 2.0.10

Re: Error writing to database

$
0
0
by Luis de Vasconcelos.  

Does that error still get triggered if you make that custom profile field optional? (Or if you delete it?)

Problem with Site Administration - Notifications after upgrade from 1.9.4 to 2.2.11

$
0
0
by Adrian Horn.  

Hi there.

Currently trying to upgrade Moodle from 1.9.4 to 2.5.1.

I have MySQL 5.5.8 running and PHP 5.3.5.

First I upgraded from 1.9.4 to 1.9.19 without any problems.

I deleted any blocks and Activity Modules that I new weren't compatible with 2.2 and removed them from their relevant folders as well.

1.9.19 seemed happy - and I could go to the Site Administration - Notifications screen and it would show as expected.

I then ran the upgrade to 2.2.11 - this seemed to go OK. It took its time, but showed success, then when I hit the continue button it tried to take me to the  http://**OURURL**/admin/upgradesettings.php but it appears blank.

I can browse to the main Moodle url and moodle 2.2.11 seems to be working fine on the whole, but everytime I go to Site Administration - Notifications it tries to open http://**OURURL**/admin/upgradesettings.php and I just get a blank page.

I've turned on Debugging but the page still gives me nothing.

I've even managed to make upgrade to 2.5.1 from here and all seems as expected, but  Site Administration - Notifications still tries to open http://**OURURL**/admin/upgradesettings.php and I still get a blank page.

Any thoughts?

Cheers

Adrian

 

Re: Problem with Site Administration - Notifications after upgrade from 1.9.4 to 2.2.11

$
0
0
by Adrian Horn.  

looking at the blank page in Firefox i get

'No Data Recieved' 

Unable to load the web page because the server sent no data.
Error code: ERR_EMPTY_RESPONSE

Re: Blank Page in installation process


Re: Blank Page in installation process

$
0
0
by Ken Task.  

Have had upgrades hang at the same spot.  When that happened, I used the URL line and remove from right to left all and up to the /  after admin.  Hit return/enter key.  Had some addons (multiple) which required new settings to be made/chosen, but Moodle, after the upgrade, could not show all of them on one screen.  So, it would show one change at a time.  Save.  It then knew what to do with the other change/settings screens. Until one steps through them all.  Finally it finishes.

Know that's not they way it supposed to be behave, but don't have time to set up a test in an attempt to replicate.  Anyway, that's what worked for me.

'spirit of sharing', Ken

Re: Moodel Hosting

$
0
0
by Guillermo Madero S..  

Hi Rick,

Just to confirm... I clicked the Learn more button and I also got a 404 not found error message.

Prices in here: http://moonami.com/pricing/

Re: Installation MySQL Error

Re: Installation MySQL Error

$
0
0
by Ken Task.  

Without knowing specifically what the setup is (MySQL on same server?  verification the password given is correct, etc.) it looks like the user 'moodle' doesn't have all the permissions with MySQL to create the DB or create the tables.

If you have access to command line mysql or some tool like phpmyadmin, etc., try this query:

show grants for 'moodle'@'localhost';

You should see something to the affect that user 'moodle' has all permissions.

Rather than let the installation routine create the DB, create the DB ahead of web based install.  As a mysql user that has all permissions:

mysql> create database moodle character set utf8 collate utf8_general_ci;

The run the web based install using information for the DB as used from the command line.

'spirit of sharing', Ken

Moodle 1.9 to 2.3.3. Migration-Upgrade

$
0
0
by Michael Crawley.  

I transferring a 1.9 Moodle installation onto a server with t 2.3.3 Installation.

1) Installed 2.3.3

2) Imported the SQL Database from the 1.9 Installation

3) Copied the s/w from the original installation to (/NewMoodle ); updated Config.php

I can see my Original Details (of course, with limitations on the 2.3.3 Moodle Hosted location), thus, upgrade in effect!  

Enroute to 2.2 (upgraded to 2.0 1st, per problems with direct upgrade to 2.2), thus

4) Downloaded 2.0 .zip to New Moodle location, extracted the Zip

5) Copied Extracted files to Moodle installation directory (i.e. /NewMoodle )

Can see the original 1.9 Site's content.  However, config "stuff" (formatting, theme, etc) not being applied.  Seeing message to Upgrade PlugINs 1st. .  (See attached files)

 

Can anyone "guide me in" from here.

Re: upgrade from 2.4 to 2.5 faild question_match

$
0
0
by Chris Wharton.  

Hi, I am getting the same error upgrading a 2.3.8 to 2.5.1. Using MySQL 5.5.12, PHP 5.3.10.

Cli upgrade output:

 

-->qtype_match
Default exception handler: Table "question_match" already exists Debug: can not rename table
Error code: ddltablealreadyexists
* line 505 of /lib/ddl/database_manager.php: ddl_exception thrown
* line 53 of /question/type/match/db/upgrade.php: call to database_manager->rename_table()
* line 501 of /lib/upgradelib.php: call to xmldb_qtype_match_upgrade()
* line 1586 of /lib/upgradelib.php: call to upgrade_plugins()
* line 166 of /admin/cli/upgrade.php: call to upgrade_noncore()

Looking at the database before the upgrade, it contains only the table mdl_question_match.

Pre upgrade plugin version is: qtype_match 2012061700

 

 

After getting to this step and the upgrade stopping, both mdl_question_match and mdl_qtype_match_options tables exist.

The error message is a bit misleading. On line 505 of /lib/ddl/database_manager.php, the code 1) checks if the newname table exists, 2) if so, display the error "Table "<oldname>" already exists Debug: can not rename table". This should really be "Table <newname> already exists, Debug: cannot rename table <oldname>."

I can't find anywhere else in the code where the qtype_match_options table is defined, apart from question/type/match/db/install.xml of course. Tomorrow I'll try track where the rogue table is coming from.

 

Re: Can't send email - I have found the problem and solution

$
0
0
by Hanan Cohen.  

In certain SMTP installations, the username must contain the domain too and not just the username.

For example:

SMTP hosts: somedomain.org.il

SMTP username: moodle@somedomain.org.il

SMTP password: mailboxpassword


Re: Unable to fetch available updates data

$
0
0
by David Le Blanc.  

Okay, it looks like I spoke (posted) too soon. Only one of five of my Spanish courses is now backing up after removing the nanogong plugin. I will keep looking into this to see if I can determine the root of the problem.

I noticed that I can still import a backup from 1.9 into 2.5 and everything will restore except for the assignments. This is likely due to the fact that I have since disabled and removed the moodle 2.2 assignment type from the server. The original courses where the assignments had been upgraded before turning off the 2.2 assignment type and removing that directory from the /mod directory, function as they should, but those courses do not backup.  When I try to do a backup an 'Error writing to database' is immediately thrown.

I went through the tedious task of taking one of my restored 1.9 Spanish courses that I restored it into 2.5 where everything but assignments restores as it should. I then began restoring into it each individual assignment from the orignal functioning course that came through the site upgrade. Remember that these converted courses function fine but just do not backup where the 'Error writing to database' is thrown. After I restored each assignment for a unit, I would then do a course backup. This was going along just fine until the last 3 of 14 units of the course. I then started to receive the 'Error writing to database' exception.

On a whim, I decided to try to restore one of my backups to the demo.moodle.net site. It restored without error. Obviously, there is something amiss in my server settings for the error to be occurring.

However, as far as the the error that I receive when I click the button 'Check for available updates' under

  • Home → Site administration → Notifications

Unable to fetch available updates data - unexpected cURL error.

More information about this error

This error only started to occur after the final upgrade from 2.4 → 2.5. Turning on debugging reveals no cause nor error identfication code.

I find it quite disconcerting that this same (exact) error exists on the demo.moodle.net site. Try it out. login as administrator with user name (admin), password (sandbox). Go to Notifications and click the button 'Check for available updates'. You will receive the same error I do. angry Whatever is happening on the moodle demo site is identical to the problem I am incurring. I really think this may be a bug.

Re: can't install Moodle on Mac

$
0
0
by Sakshi Goel.  

Hi Joan

This happens several times with me too. Here is the screenshot which i am talking about.

 

 

Re: Fatal error: Maximum execution time of 30 seconds exceeded in D:\xampp\htdocs\aula\lib\moodlelib.php on line 8377

$
0
0
by Guillermo Madero S..  

Hi Luis,

You need to increase the max_execution_time and max_input_time directives of your php.ini configuration file. Once you save your changes, remember to restart the web server.

Re: Moodle 1.9 to 2.3.3. Migration-Upgrade

$
0
0
by Michael Crawley.  

Lol,

O.k. Ken, I promise to stay clear of the dreaded MS Word for these purposes.

Your response is timely.  Today, we have navigated to the point of your 2nd paragraph
(just before the Admin "lead in") only because, for some reason the /login/index.php file is redirecting (thus looking) to a "double domain name" to reference the index.php file
(i.e. /moodle.com/moodle.com/login/index.php).

The actual location of the file is in moodle.com/moodle/login/index.php

Thus, although the config file has been updated, including the $CFG->wwwroot = 'http://moodle.com' reference and the related index.php code line reference is <a href="http:/moodle.com/login/index.php">Login</a>  , we are receiving
a  "404 Error File Not Found,  The page you are looking for might have been removed, had its name changed, or is temporarily unavailable" ERROR occurs because, "for some reason" the login file is redirecting and looking for login.php in moodle.com/moodle.com/login/index.php instead of in its'
actual moodle.com/moodle/login/index.php location.

What are your thoughts on this?

 

Re: Moodel Hosting

$
0
0
by Rick Jerz.  

Guillermo, thanks for confirming that I am not going crazy.

Thanks for the link to their pricing, which is what I wanted.

Viewing all 47442 articles
Browse latest View live


Latest Images

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