-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Campus first install: all css not available #19
Comments
@dasistwas No idea without knowing what the error is in the PHP log / error log on the server. |
@dasistwas Also need to know what version as is the 3.8.0.1 version in 'master_dev' so what 'commit' is that code at please? |
@dasistwas Any news on this please? |
Yes, we tested on Moodle 3.9. Seems that issue is not limited to moodle.wunderbyte.at. You are Administrator on the site: gareth is the username. |
@dasistwas Ok, being an admin won't help - sorry - I need to see the contents of the PHP log. But I also see from the code on the site that it's out of date with 'master_dev' so it could be in a position where it was broken but is not now. Also the theme is written for Moodle 3.8, not 3.9, you've not asked that I support that version :). |
OK, if you could add support for 3.9, that would be great! Thank you! My colleague said, he used master_dev, but I will verify. |
|
moodle.wunderbyte.at 0 2a02:1748:dd5c:c9ba:32fc:73da:99a7:7265 - - [11/Dec/2020:19:29:27 +0100] "GET /theme/styles.php/campus/1607711375_1/all HTTP/2.0" 404 35979 "https://moodle.wunderbyte.at/my/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" moodle.wunderbyte.at 0 2a02:1748:dd5c:c9ba:32fc:73da:99a7:7265 - - [11/Dec/2020:19:29:27 +0100] "GET /theme/image.php/campus/theme/1607711375/favicon HTTP/2.0" 404 50 "https://moodle.wunderbyte.at/my/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" |
These are the logs when I installed a new checkout from master_dev. So hope that helps a starting point for the M3.9 development @gjb2048 Thank you! |
@dasistwas Will do, that's the 'request' log, is there anything in the 'error' log please? |
@dasistwas Also, when I checked the images on the site in the theme, then they are out of date with 'master_dev', so even if using, then need a 'git pull'. |
There was nothing in the error pages. |
except that. I don't think it is related: [Tue Dec 08 20:07:49 2020] [core:info] [pid 59830:tid 139780414961408] [client 213.121.15.240:50399] AH00128: File does not exist: /usr/www/users/lernst/moodle_wunderbyte_at/favicon.ico, referer: https://moodle.wunderbyte.at/theme/campus/Changes.md [Sat Dec 05 20:13:54 2020] [core:info] [pid 6178:tid 140238457603840] [client 2a02:1748:dd5c:8988:cb13:9d55:15a9:e77e:39838] AH00128: File does not exist: /usr/www/users/lernst/moodle_wunderbyte_at/local/mobile/check.php |
@dasistwas Error pages? Ok so is there anything in '/var/log/apache2/error.log' (as per 'What happens if it does not work?' on https://www.elearningworld.org/the-first-step-part-one/), please. |
@gjb2048 sorry I meant error logs not error pages. there is nothing in there except the 2 messages from above. |
@dasistwas I've updated 'master_dev' to M3.9 (created a 'master_dev_m38' branch) and can't replicate: Please could you turn on developer level debugging and see if any error messages show up then in the logs or anywhere. Currently stumped. |
@dasistwas Actually... what version of PHP is the server running please? |
PHP7.2 is used. When I compare building boost css and campus CSS I get that:
|
@dasistwas Thank you, that stack trace is useful. |
@dasistwas Ok, given: calling: then it is very concerning that the site does not have a 'top level' category visible to the current user!!! So.... what categories are there on the site? Has any permissions / roles / capabilities etc. disabled them? What's the content of the 'course_categories' table please? As mine looks like this: where there is no '0' parent category listed, which should be correct as that's the top level one for the site! Therefore I can't understand why that site is denying the administrator access to it. |
@dasistwas Does the user accessing have 'moodle/category:viewcourselist' capability? Or has something changed with that capability on that site? |
I did do that with PHP cli. So there is no user involved. I will have a look at the table |
@dasistwas Just checked -> https://moodle.wunderbyte.at/?theme=campus and its working now. Is this still an issue please? |
@dasistwas Any news on this please? |
When I install the campus theme on normal webhosting, then the CSS is not rendered:
https://moodle.wunderbyte.at/?theme=campus
When installing other themes that does not happen. Could we trigger the ad hoc task "build_theme_css"?
The text was updated successfully, but these errors were encountered: