I can't open moodle after installed. ( i deleted cache but its don't work ). i using moode 3.6.3 with xampp 7.3.3
This site can’t be reached after installed
Re: This site can’t be reached after installed
Did you manage to install it via localhost:8060 ?
Re: error setuping moodle
In general, the problem This site can't be reached may happens for failing on DNS lookup . DNS is that network address that translates the website name to its internet address. Most often it causes for not getting the internet connection or misconfigured internet or network settings. Another reason could be the firewall preventing Google Chrome to load the webpage.
Re: The page isn't redirecting properly with Fresh installation
Thank you, it really works for me,
Re: Upgrade theme problem
Did you actually call the folder "theme" and it is located in the regular moodle theme folder? Or did you name the whole moodle theme folder 'tema old' and then try and create a new theme folder directly in the moodle folder? When you originally made the change, did you go through an installation process with a database upgrade? Or did you just lose the site at that point?
Re: Upgrade theme problem
I tried, but nothing happened.
Re: Upgrade theme problem
Original:
After I modified:
So after that I cleaned up all the caches.After that I lost web access to moodle.
Moodle 3.2.6 - Broke Moodle after installing Turnitin plugin
I have a new install of Moodle 3.2.6 on Ubuntu Linux, PHP 7, using Firefox. Everything was going fine until I installed the TurnitIn Plagiarism Plugin. Now all i get is the Login page and when I login, I get a Blank Page, and a refresh didn't do any good nor did a restart of apache. It keeps taking me to the page "localhost/moodle/admin/index.php?lang=en" and it's blank ! Hope I don't have to reinstall from scratch
Regards,
Al
Re: Moodle 3.2.6 - Broke Moodle after installing Turnitin plugin
First step is to check your web server's error log...
Re: Database error after upgrade to 3.6.3
Hi!
Does the upgrading to version 3.6.3 make this because I had the same problem? I updated from the version 3.6.2 and I'm sure I have converted tables to format utf8mb4_unicode_ci when I made the upgrading to version 3.6.2. But now after the latest upgrading the table format was mixed like yours. The problem solved converting them manually, thanks to your tip.
3.6.3+ (Build:20190315) Exception - Call to a member function get_formatted_name() on null
After upgrading to 3.6.3 I am getting this error. Is anyone else experiencing or know how to resolve?
3.6.3+ (Build:20190315)
Exception - Call to a member function get_formatted_name() on null
Error code: generalexceptionmessage
- line 2419 of /course/renderer.php: Error thrown
- line 133 of /index.php: call to core_course_renderer->frontpage()
Re: 3.6.3+ (Build:20190315) Exception - Call to a member function get_formatted_name() on null
Not experienced. Upgraded from what version to 3.6.3+?
Error about rendering the front page. Line 2419 of /course/renderer.php is related to site news forums in looking at the code.
Was your theme compat with the upgraded version?
Could add a line to config.php to force usage a stock theme that comes with 3.6.3:
$CFG->theme='boost';
To see if it's a theme issue.
'spirit of sharing', Ken
Re: Error: Database connection failed
Initially review file configuration the config.php
Re: 3.6.3+ (Build:20190315) Exception - Call to a member function get_formatted_name() on null
This seems to be in the code that builds the front page.
Generally this kind of thing happens when some function returns a 'null' response rather than coming back with some data. Often because of an unexpected error without proper error handling.
So... in addition to Ken's advice... switch on Debugging and reproduce the error. Check your web server's error log for any warnings or notices that might be the precursor to this fatal error.
Re: Upgrade theme problem
Well, first off, remui is a paid theme and probably has some stipulations about you trying to change it. Take remui folder out of the theme folder altogether, rename remui_old back to remui - clear caches. That should work.
Re: Upgrade theme problem
Hello,
To get back access to web, Ken Task proposed in a different post the solution to force a standard Moodle theme to load in the config.php : Permalink
Hope this help,
Ludovic
upgrade from 3.1.15 to 3.5.4 throws "Invalid permissions detected when trying to create a directory" error
Hi, I am encountering the following trying to upgrade from moodle 3.1.15 to 3.5.4.
Invalid permissions detected when trying to create a directory. Turn debugging on for further details.
Debug info: [cachedir]/cachestore_file/default_application is not writable, check permissions.
Error code: invaliddatarootpermissions
Stack trace:
line 1566 of /lib/setuplib.php: invalid_dataroot_permissions thrown
line 1744 of /lib/setuplib.php: call to make_writable_directory()
line 155 of /cache/stores/file/lib.php: call to make_cache_directory()
line 528 of /cache/classes/helper.php: call to cachestore_file->__construct()
line 493 of /cache/classes/helper.php: call to cache_helper::purge_store()
line 1655 of /lib/moodlelib.php: call to cache_helper::purge_all()
line 331 of /admin/index.php: call to purge_all_caches()
moodledata folder is located at:
$CFG->dataroot = "/var/www/moodledata/";
Permissions should work:
ls -l /var/www/
total 8
drwxrwxrwx 51 www-data www-data 4096 Mar 21 13:27 html
drwxrwxrwx 10 www-data www-data 4096 Mar 20 12:40 moodledata
I upgrade from php 5.6 to 7.0 too.
Any idea?
Cheers,
Ben
Re: upgrade from 3.1.15 to 3.5.4 throws "Invalid permissions detected when trying to create a directory" error
If you haven't changed anything, you're looking at
/var/www/moodledata/cache/cachestore_file/default_application
What are the permissions for that directory?
To save any messing around, you might want to just completely delete /var/www/moodledata/cache (it's perfectly safe)
Re: upgrade from 3.1.15 to 3.5.4 throws "Invalid permissions detected when trying to create a directory" error
that's really strange. If I take a look at the latest files written by www-data user in moodledata/cache and moodledata/localcache, permissions are not as expected :
root@703c675cab39:/# ls -ltr /var/www/moodledata/cache/
total 364
-r-------- 1 www-data www-data 367528 Mar 21 14:28 core_component.php
dr----x--t 2 www-data www-data 4096 Mar 21 14:28 cachestore_file
root@703c675cab39:/# ls -ltr /var/www/moodledata/localcache/
total 4
dr----x--t 2 www-data www-data 4096 Mar 21 14:28 mustache
in config.php
$CFG->directorypermissions = '0777';
I tried to delete them but these folders are re-created with bad permissions triggering error:
root@703c675cab39:/# rm -rf /var/www/moodledata/localcache/
root@703c675cab39:/# rm -rf /var/www/moodledata/cache/
root@703c675cab39:/# ls -ltr /var/www/moodledata/
total 36
drwxrwxrwx 4 www-data www-data 4096 Mar 18 10:54 lang
drwxrwxrwx 2 www-data www-data 4096 Mar 18 10:54 muc
drwxrwxrwx 6 www-data www-data 4096 Mar 18 10:54 temp
drwxrwxrwx 4 www-data www-data 4096 Mar 18 10:54 trashdir
drwxrwxrwx 2 www-data www-data 4096 Mar 18 10:54 upgradelogs
drwxrwxrwx 258 www-data www-data 4096 Mar 18 12:03 filedir
dr----x--t 2 www-data www-data 4096 Mar 21 14:36 cache
dr----x--t 2 www-data www-data 4096 Mar 21 14:36 localcache
So it seems that apache2 does not create folder with the right permissions and I don't know why.
Any help would be appreciated.
Re: upgrade from 3.1.15 to 3.5.4 throws "Invalid permissions detected when trying to create a directory" error
hi Howard, you will find the directory permissions :
root@703c675cab39:/# ls -ld /var/www/moodledata/localcache/
dr----x--t 2 www-data www-data 4096 Mar 21 14:36 /var/www/moodledata/localcache/
root@703c675cab39:/# ls -l /var/www/moodledata/localcache/
total 0
root@703c675cab39:/# ls -ld /var/www/moodledata/cache/
dr----x--t 2 www-data www-data 4096 Mar 21 14:36 /var/www/moodledata/cache/
root@703c675cab39:/# ls -l /var/www/moodledata/localcache/
total 0
root@703c675cab39:/#
As you can see, folder have wrong permissions and are empty.
A chmod , does not change anything:
chmod -R 777 /var/www/moodledata/