I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
If it's Apache, then check Using_slash_arguments
If neither of those help, we're going to need full details of your installation, how you installed Moodle, what instructions you followed and so on...
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Hi,
I am having this exact same issue.
Web Server: I’m using Apache on a shared hosting plan with IONOS.
Installation Process: I manually installed Moodle 4.4.3+ by uploading the files via FileZilla to the root directory of my hosting account.
I’ve placed Moodle in a subdirectory (/learn).
I followed the standard installation instructions for Moodle 4.4.3+, including creating a MariaDB database and setting up the config.php file with the database details.
PHP Version: I’m running PHP 8.2.23. All necessary extensions are enabled, and the PHP memory limit is set to -1.
After logging in, I’m seeing a white screen with basic blue links along the left side, which looks like a CSS/JavaScript loading issue (same as the photo here).
My permissions were initially set to 705, so I’m currently updating them to 755 for directories and 644 for files. This process is taking a long time via FileZilla.
I’ve purged the Moodle cache and verified that most necessary files are in place, but the theme and CSS files (Boost theme, Fordson theme) aren’t loading properly.
I haven’t made any changes to Apache configurations like slash arguments, but I saw that could be a possible issue. I’m not entirely sure how to check or modify that on my IONOS setup. Should I investigate that, and if so, how do I check if slash arguments are causing this?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
@Bex
You might want to read the thread @
https://moodle.org/mod/forum/discuss.php?d=446297
'SoS', Ken
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
I have three Moodle sites on IONOS and in the config.php file of each one to fix the missing CSS, I HAVE to have this line:
$CFG->yuislasharguments = 1;
Also, to get the following settings enabled, I have to follow the directions for adding a php.ini file in every Moodle folder at: https://docs.moodle.org/404/en/Apache
cgi.fix_pathinfo = 0
file_uploads = On
max_input_vars=10000
upload_max_filesize = 512M
post_max_size = 512M
As a further step, I have to have my, data, folder for each of the Moodle sites located in the site root folder.
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Get via Moodle message system or via Skype, daniel.rachels
Re: I have successfully installed Moodle 4.4 on IONOS server but it is not displaying normally
This sub-thread, starting https://moodle.org/mod/forum/discuss.php?d=461960#p1855870, is not about a local machine but on IONOS. I changed the title in case the sub-discussion is split. As others have pointed out the cause must be IONOS.
The original post https://moodle.org/mod/forum/discuss.php?d=461960 is probably orphaned. The OP hasn't returned after posting the problem. But the thread is tempting to all who see Moodle not displaying normally after a fresh install.
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Re: I have successfully installed moodle 4.4 on my local server but it is not displaying normally. Is it a CSS issue?
Hello, Anthony Bwengye! 😊
From what you mentioned and based on the image, it seems like the CSS is not loading, and that can definitely affect the entire look of the page.
Let’s take it step by step to resolve this smoothly and effectively, okay?
Step 1: Check the Developer Console
In Google Chrome, open the developer tools. Now, navigate to the "Console" tab and check if there are any errors related to CSS. It will likely show something like "Failed to load CSS file" or "404 not found." This will give us a clue as to where the problem might be.
Step 2: Check the "Network" Tab
Still in the developer tools, click on the "Network" tab and reload the Moodle page. Keep an eye on the files that the browser is trying to load. If there’s an issue with the CSS, you’ll see errors highlighted in red or the word "failed" next to the stylesheet file.
Step 3: Config
Check if the config.php
file in your Moodle installation is set up correctly, especially the line that defines wwwroot
. Make sure the URL in $CFG->wwwroot
matches what appears in the browser. Often, the browser will be using HTTPS, but in the config file, it’s set to HTTP.
If you're using a server like Apache, ensure that the mod_rewrite
module is enabled and functioning properly, as this can interfere with file loading.
Eduardo Kraus
Teacher / Developer / Passionate about Moodle / Innovation and new products