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

Problem upgrading mod_booking

$
0
0
by Ralph Jones.  

I am currently upgrading from moodle 3.1.16 to moodle 3.5.4 on a test environment. when i try to install the latest mod_booking ( version 20190104) and upgrade the database, I get the following error:

Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays

Debug info: 

Error code: codingerror

Stack trace:

line 770 of /lib/dml/moodle_database.php: coding_exception thrown

line 1784 of /mod/booking/db/upgrade.php: call to moodle_database->get_in_or_equal()

line 806 of /lib/upgradelib.php: call to xmldb_booking_upgrade()

line 512 of /lib/upgradelib.php: call to upgrade_plugins_modules()

line 1857 of /lib/upgradelib.php: call to upgrade_plugins()

line 694 of /admin/index.php: call to upgrade_noncore()


Course completion bulk upload

$
0
0
by Kinga Ágnes Farkas.  

Hi Everyone,


Is it possible to bulk upload course completion into a course gradebook? And if yes, how? 

I want to upload the same grade to everyone in the course, and I don't want to click each on every users. 


Thanks,

Kinga

Migrating Course data only

$
0
0
by Samuel Childers.  

I have received only a database dump of a moodle instance, and I need migrate the courses, users, and course result data to a new instance which is running the latest moodle. I believe the database is on 3.39. Is there a way I can just import the courses, course results, and user data from the database from the old database? I'm an experienced LAMP dev, but am brand new to moodle, so I apologize if this is a very basic question. Even if you just have a link or anything to point me in the right direction that would great. Thank you!


Sam

Re: Problem upgrading mod_booking

Re: Migrating Course data only

$
0
0
by Ken Task.  

One could acquire the highest 3.9.x code easily enough via git, and you have a DB that would be upgraded using higher code ... but ... what about customizations and plugins (addons) of old site?  Plugin references would be in DB but you'll not have any code unless one acquires and installs missing plugins manually.  (that's if the upgrade doesn't fail do to some quirk in customizations of core code made in the old site ... which you wouldn't have.

And, more importantly, do you have a backup of the moodledata directory for that old site ... minimally filedir in moodledata?

Without moodledata/filedir from old site no internal links to files uploaded to that old moodle will work after upgrading.

Not sure what one would end up with would be usable ... too much re-do to do ... depending. :|

'spirit of sharing', Ken


Apache Web Server crashed when http://localhost/moodle/index.php is accessed

$
0
0
by Ram V.  

Hi Team,

When the moodle is and reaches the update profile screen in the link the http://localhost/moodle/user/editadvanced.php it stays for a long time and after that when i again invoke http://localhost/moodle/index.php apache webserver crashes

I have done the folloiwng:

as provided in the forums links i cleared the cache in the moodledata foler; i ensured the directiveindex in the httpd,conf file is properly set DirectoryIndex index.php index.html.


Need guidance as to why the apache server crashes and nothing moves forward after reaching the screen

http://localhost/moodle/user/editadvanced.php


Re: Apache Web Server crashed when http://localhost/moodle/index.php is accessed

$
0
0
by Ram V.  

This is in latest 3.6 build version

dfs


How to Build Community

Re: Apache Web Server crashed when http://localhost/moodle/index.php is accessed

$
0
0
by Ken Task.  

Check apache error logs for a clue.   Does it truly 'crash' or does it just not respond (times out)?

Other than that ... might share some more info about your server setup ...

How is it hosted?  Localhost indicates a installation package like MAMP/WAMP/etc.  Yes/No.  That would also tell us what operating system you are trying to install it upon.   That would make a difference in what advice one got here in forums.

Also things like PHP version, MySQL/MariaDB/or DB server and version, etc.

'spirit of sharing', Ken


Help Installing

$
0
0
by klaus fettig.  

I am attempting to install moodle on my WAMPserver. But, I get to the paths step in the installation, then I get can't reach this page error.. if I go back to localhost/moodle it just starts the process over again..


Steps laid out: I already have uncompressed moodle download in my "C:\wamp64\www" folder. 


1) go to http://localhost/moodle/install.php

2) select English

3) use default directories, then click "Next" 

4) get the "Can't reach this page" error.




Re: Apache Web Server crashed when http://localhost/moodle/index.php is accessed

Re: Apache Web Server crashed when http://localhost/moodle/index.php is accessed

config table does not contain version

$
0
0
by murugan m.  

When I login into my site

www.tneducation.org

I got following error. 

How to add version number in the configuration table using cpanel?

My thanks in advance.

Re: config table does not contain version

$
0
0
by Ken Task.  

Error page tells you that you need to edit a table in the DB and how to check
version.php file of code for the value to use in the mdl_config table.
CPanel can be used to see the contents of the version.php file.
But it doesn't have a mysql tool ... for that think you'll have to use
phpMyAdmin.  Is there a button in cPanel to phpMyAdmin?

https://www.hostdime.com/kb/display/HR/MySQL

but can't find info on phpMyAdmin

Suggest contacting provider help desk to inquire further about tools to actually edit tables in DB - which am almost certain they will advise against, but in this case doesn't look you have an option.

The bigger question ... how did this happen?

'spirit of sharing', Ken



Re: Apache Web Server crashed when http://localhost/moodle/index.php is accessed

$
0
0
by Ken Task.  

Don't run Windows anything any more ... but it appears not many Windows persons in these forums or at least none are willing to respond!   That's my qualfications for this response ... NONE!

But ... do have a suggestion for you ...

According to: https://docs.moodle.org/dev/Moodle_3.6_release_notes

"PHP version: minimum PHP 7.0.0 Note: minimum PHP version has increased since Moodle 3.3. PHP 7.1.x and 7.2.x are supported too. PHP 7.3.x support is being implemented (@ MDL-63420) and not ready for production with this release."

https://tracker.moodle.org/browse/MDL-63420 shows un-resolved.

So you might need to dial back php to 7.2.x

'spirit of sharing', Ken


Re: config table does not contain version

$
0
0
by murugan m.  

Thank you for your answering my question.

I don't know how it happened.

cpanel has option phpmyadmin.

Can you please tell me how to correct this using phpmyadmin?


I am ready to reinstall moodle 3.6 freshly?

But before that can I take the backup of the course ( no user, I have uploaded only one course only)?

Your answers are valuable to me.


Re: config table does not contain version

$
0
0
by Ken Task.  

The error did give you directions as to how to correct the error.

Don't use phpmyadmin myself so this is from memory of something I don't use on a daily basis.

In PHPMyAdmin, select the db for moode, then select the mdl_config table.  In the display of that table think you'll see little pen icons next to each row in that table.   Click then pen for the 'version' column.  And in the box, insert the version number you found in the version.php file of the code.

Don't think you can make a backup of any course you have until you fix the problem with the table.

Am assuming part of the fee you pay hosting provider is support.   Suggest you provide your helpdesk folks info about the error and how Moodle shows fixing it.

Comment: things like this do NOT happen all by themselves. Since you have only one course, you might be learning a valuable lesson ... unfortunately, the hard way. :|

Now if helpdesk won't help or can't, and you still can't figure it out, suggest placing an 'ad' in Moodle jobs.

https://moodle.org/mod/data/view.php?d=54

Good Luck!

'spirit of sharing', Ken


Cannot login after moving site to new server

$
0
0
by Wes Sykes.  

Hi all

I have moved my moodle 3.3.2 site to a new server and all seems OK, for example the site looks to be reading from the database OK because it is displaying all the courses.

When I try to log in I just get an invalid login please try again.

I don't think there is an issue with file permissions because when I try to log in Moodle creates a sessions folder in the moodledata folder and adds a session.

The mnet_localhost_id is the same in the config table and the user table in my case its set to 3.

The database is set to all privileges 

If I create a new database but link to the same moodledata folder all is fine but then if i swap the database in the config file it breaks again.

I'm guessing its a database issue but I don't know what else to check.

Could you please help?

Regards


Wes

Re: Moodle 3.4.1+ admin/environment/php extension/intl

$
0
0
by Mayte Sánchez.  

Hello, I have the same problem with Installation - Moodle 3.6.2 (Build: 20190114).

php_intl.dll extension is in the PHP extension folder.

I enclose screenshot with the error and php.ini


Thanks in advance,

Mayte

Moodle error screen

Viewing all 46918 articles
Browse latest View live


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