Wunderbyte-GmbH / moodle-theme_campus

Moodle theme for onlinecampus
4 stars 4 forks source link

Campus first install: all css not available #19

Open dasistwas opened 3 years ago

dasistwas commented 3 years ago

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"?

gjb2048 commented 3 years ago

@dasistwas No idea without knowing what the error is in the PHP log / error log on the server.

gjb2048 commented 3 years ago

@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?

gjb2048 commented 3 years ago

Also, given the banner images, then its not the current (https://github.com/Wunderbyte-GmbH/moodle-theme_campus/commit/506727280f4b9bfb0dfe1ed2419b72dc94615dd8) because a previous commit (https://github.com/Wunderbyte-GmbH/moodle-theme_campus/commit/fc49e93ed52eb23c9b5d2f671284068ea7dcd405) changed the banner images.

And given that this has happened after this https://github.com/Wunderbyte-GmbH/moodle-theme_campus/pull/18 was mistakenly done today, then has the code on the server been messed up?

gjb2048 commented 3 years ago

@dasistwas Any news on this please?

dasistwas commented 3 years ago

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.

gjb2048 commented 3 years ago

@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 :).

dasistwas commented 3 years ago

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.

dasistwas commented 3 years ago
moodle.wunderbyte.at 0 2a02:1748:dd5c:c9ba:32fc:73da:99a7:7265 - - [11/Dec/2020:19:29:08 +0100] "GET /pluginfile.php/1/theme_moove/favicon/1607711375/favicon.ico HTTP/2.0" 200 2362 "https://moodle.wunderbyte.at/admin/plugins.php" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0"
moodle.wunderbyte.at 7 2a02:1748:dd5c:c9ba:32fc:73da:99a7:7265 - - [11/Dec/2020:19:29:04 +0100] "GET /theme/styles.php/moove/1607711375_1607034919/all HTTP/2.0" 200 140681 "https://moodle.wunderbyte.at/admin/plugins.php" "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:12 +0100] "GET /theme/font.php/moove/theme/1607711375/Simple-Line-Icons.woff2?v=2.4.0 HTTP/2.0" 200 30470 "https://moodle.wunderbyte.at/theme/styles.php/moove/1607711375_1607034919/all" "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:12 +0100] "GET /theme/font.php/moove/core/1607711375/fontawesome-webfont.woff2?v=4.7.0 HTTP/2.0" 200 77795 "https://moodle.wunderbyte.at/theme/styles.php/moove/1607711375_1607034919/all" "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:12 +0100] "GET /theme/image.php/moove/theme/1607711375/footer-bg HTTP/2.0" 200 131561 "https://moodle.wunderbyte.at/theme/styles.php/moove/1607711375_1607034919/all" "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:12 +0100] "POST /lib/ajax/service.php?sesskey=ACHVtz2FDj&info=core_fetch_notifications HTTP/2.0" 200 124 "https://moodle.wunderbyte.at/admin/plugins.php" "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:12 +0100] "GET /lib/ajax/service-nologin.php?info=core_output_load_template_with_dependencies,core_output_load_template_with_dependencies,core_output_load_template_with_dependencies,core_output_load_template_with_dependencies&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22modal_save_cancel%22%2C%22themename%22%3A%22moove%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A1%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22modal_cancel%22%2C%22themename%22%3A%22moove%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A2%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22local%2Fmodal%2Falert%22%2C%22themename%22%3A%22moove%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A3%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22theme_moove%22%2C%22template%22%3A%22themesettings_modal%22%2C%22themename%22%3A%22moove%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 9006 "https://moodle.wunderbyte.at/admin/plugins.php" "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:25 +0100] "GET /?theme=campus HTTP/2.0" 303 531 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0"
moodle.wunderbyte.at 1 2a02:1748:dd5c:c9ba:32fc:73da:99a7:7265 - - [11/Dec/2020:19:29:25 +0100] "GET /my/ HTTP/2.0" 200 22825 "-" "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/background HTTP/2.0" 200 24786 "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/logo_responsive HTTP/2.0" 200 1708 "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/logo HTTP/2.0" 200 3185 "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/background_responsive HTTP/2.0" 200 20580 "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/block_timeline/1607711375/activities HTTP/2.0" 200 725 "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/javascript.php/campus/1607711375/footer HTTP/2.0" 200 275 "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/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/core/1607711375/f/moodle HTTP/2.0" 200 636 "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"
moodle.wunderbyte.at 0 2a02:1748:dd5c:c9ba:32fc:73da:99a7:7265 - - [11/Dec/2020:19:29:27 +0100] "GET /lib/javascript.php/1607711309/blocks/private_files/module.js HTTP/2.0" 200 457 "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 /lib/ajax/service-nologin.php?info=core_get_string&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_get_string%22%2C%22args%22%3A%7B%22stringid%22%3A%22ariaeventlistpaginationnavdates%22%2C%22stringparams%22%3A%5B%5D%2C%22component%22%3A%22block_timeline%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 97 "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] "POST /lib/ajax/service.php?sesskey=ACHVtz2FDj&info=core_calendar_get_calendar_monthly_view HTTP/2.0" 200 38952 "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 /lib/ajax/service-nologin.php?info=core_output_load_template_with_dependencies&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22paged_content%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 13288 "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 /lib/ajax/service-nologin.php?info=core_get_string&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_get_string%22%2C%22args%22%3A%7B%22stringid%22%3A%22ariaeventlistpagelimit%22%2C%22stringparams%22%3A%5B%5D%2C%22component%22%3A%22block_timeline%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 94 "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] "POST /lib/ajax/service.php?sesskey=ACHVtz2FDj&info=block_starredcourses_get_starred_courses HTTP/2.0" 200 634 "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] "POST /lib/ajax/service.php?sesskey=ACHVtz2FDj&info=core_fetch_notifications HTTP/2.0" 200 52 "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 /lib/ajax/service-nologin.php?info=core_output_load_template_with_dependencies,core_output_load_template_with_dependencies,core_output_load_template_with_dependencies&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22calendar%22%2C%22template%22%3A%22modal_event_form%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A1%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core_calendar%22%2C%22template%22%3A%22month_mini%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A2%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core_course%22%2C%22template%22%3A%22view-cards%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 13754 "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 /lib/ajax/service-nologin.php?info=core_output_load_template_with_dependencies&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22pix_icon_fontawesome%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 516 "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:28 +0100] "GET /lib/ajax/service-nologin.php?info=core_get_string&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_get_string%22%2C%22args%22%3A%7B%22stringparams%22%3A%5B%5D%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 698 "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:28 +0100] "GET /lib/ajax/service-nologin.php?info=6-method-calls&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22modal_backdrop%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A1%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22modal_save_cancel%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A2%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22modal_cancel%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A3%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core%22%2C%22template%22%3A%22local%2Fmodal%2Falert%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A4%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22calendar%22%2C%22template%22%3A%22event_delete_modal%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%2C%7B%22index%22%3A5%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22core_calendar%22%2C%22template%22%3A%22event_summary_modal%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 10641 "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:28 +0100] "POST /lib/ajax/service.php?sesskey=ACHVtz2FDj&info=core_course_get_enrolled_courses_by_timeline_classification HTTP/2.0" 200 46006 "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:28 +0100] "POST /lib/ajax/service.php?sesskey=ACHVtz2FDj&info=core_calendar_get_action_events_by_timesort HTTP/2.0" 200 92 "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:28 +0100] "GET /pluginfile.php/4186/course/overviewfiles/7-must-have-plugins-for-moodle.png HTTP/2.0" 304 107 "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:28 +0100] "GET /lib/ajax/service-nologin.php?info=core_output_load_template_with_dependencies&cachekey=1607711309&args=%5B%7B%22index%22%3A0%2C%22methodname%22%3A%22core_output_load_template_with_dependencies%22%2C%22args%22%3A%7B%22component%22%3A%22block_myoverview%22%2C%22template%22%3A%22view-cards%22%2C%22themename%22%3A%22campus%22%2C%22lang%22%3A%22de%22%7D%7D%5D HTTP/2.0" 200 8612 "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:28 +0100] "GET /pluginfile.php/4281/course/overviewfiles/sailboats-1375064_1920.jpg HTTP/2.0" 304 58 "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:28 +0100] "GET /pluginfile.php/4264/course/overviewfiles/eb-logo.png HTTP/2.0" 200 42697 "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:28 +0100] "GET /pluginfile.php/4124/course/overviewfiles/lens-1209823.jpg HTTP/2.0" 304 59 "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:28 +0100] "GET /pluginfile.php/4105/course/overviewfiles/bg.jpg HTTP/2.0" 304 58 "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:28 +0100] "GET /pluginfile.php/4390/course/overviewfiles/windsurfing-2298647_1920.jpg HTTP/2.0" 304 58 "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:28 +0100] "GET /pluginfile.php/4415/course/overviewfiles/roller-skates-381216_1920.jpg HTTP/2.0" 304 58 "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:28 +0100] "GET /pluginfile.php/4190/course/overviewfiles/moodle-for-business.png HTTP/2.0" 304 58 "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:28 +0100] "GET /pluginfile.php/4272/course/overviewfiles/1584983128.jpg HTTP/2.0" 200 40907 "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:28 +0100] "GET /pluginfile.php/4266/course/overviewfiles/ebc-l-produkte-betriebswirtschaft.png HTTP/2.0" 200 80909 "https://moodle.wunderbyte.at/my/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0"
dasistwas commented 3 years ago

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"

dasistwas commented 3 years ago

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!

gjb2048 commented 3 years ago

@dasistwas Will do, that's the 'request' log, is there anything in the 'error' log please?

gjb2048 commented 3 years ago

@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'.

dasistwas commented 3 years ago
lernst@www177:~/public_html/moodle_wunderbyte_at/theme/campus$ git pull
Already up to date.
lernst@www177:~/public_html/moodle_wunderbyte_at/theme/campus$ 

There was nothing in the error pages.

dasistwas commented 3 years ago

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

gjb2048 commented 3 years ago

@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.

dasistwas commented 3 years ago

@gjb2048 sorry I meant error logs not error pages. there is nothing in there except the 2 messages from above.

gjb2048 commented 3 years ago

@dasistwas I've updated 'master_dev' to M3.9 (created a 'master_dev_m38' branch) and can't replicate:

Screenshot 2020-12-12 114938

Please could you turn on developer level debugging and see if any error messages show up then in the logs or anywhere. Currently stumped.

gjb2048 commented 3 years ago

@dasistwas Actually... what version of PHP is the server running please?

dasistwas commented 3 years ago

PHP7.2 is used. When I compare building boost css and campus CSS I get that:

lernst@www177:~/public_html/moodle_wunderbyte_at$ php admin/cli/build_theme_css.php -t=boost
== Build theme css ==
lernst@www177:~/public_html/moodle_wunderbyte_at$ php admin/cli/build_theme_css.php -t=campus
== Build theme css ==
Default exception handler: You don't have permission to view this list of courses. Debug: 
Error code: cannotviewcategory
* line 255 of /course/classes/category.php: moodle_exception thrown
* line 31 of /theme/campus/campus-lib.php: call to core_course_category::get()
* line 161 of /theme/campus/lib.php: call to theme_campus_get_top_level_categories()
* line 124 of /theme/campus/lib.php: call to theme_campus_extra_sccs()
* line 1534 of /lib/outputlib.php: call to theme_campus_get_extra_scss()
* line 1451 of /lib/outputlib.php: call to theme_config->get_extra_scss_code()
* line 1129 of /lib/outputlib.php: call to theme_config->get_css_content_from_scss()
* line 209 of /lib/outputlib.php: call to theme_config->get_css_content()
* line 117 of /admin/cli/build_theme_css.php: call to theme_build_css_for_themes()

!!! You don't have permission to view this list of courses. !!!
!! 
Error code: cannotviewcategory !!
!! Stack trace: * line 255 of /course/classes/category.php: moodle_exception thrown
* line 31 of /theme/campus/campus-lib.php: call to core_course_category::get()
* line 161 of /theme/campus/lib.php: call to theme_campus_get_top_level_categories()
* line 124 of /theme/campus/lib.php: call to theme_campus_extra_sccs()
* line 1534 of /lib/outputlib.php: call to theme_campus_get_extra_scss()
* line 1451 of /lib/outputlib.php: call to theme_config->get_extra_scss_code()
* line 1129 of /lib/outputlib.php: call to theme_config->get_css_content_from_scss()
* line 209 of /lib/outputlib.php: call to theme_config->get_css_content()
* line 117 of /admin/cli/build_theme_css.php: call to theme_build_css_for_themes()
 !!
lernst@www177:~/public_html/moodle_wunderbyte_at$ php admin/cli/build_theme_css.php -t=boost
== Build theme css ==
lernst@www177:~/public_html/moodle_wunderbyte_at$ 
gjb2048 commented 3 years ago

@dasistwas Thank you, that stack trace is useful.

gjb2048 commented 3 years ago

@dasistwas Ok, given:

Screenshot 2020-12-13 161612

calling:

Screenshot 2020-12-13 162458

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:

Screenshot 2020-12-13 162143

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.

gjb2048 commented 3 years ago

@dasistwas Does the user accessing have 'moodle/category:viewcourselist' capability? Or has something changed with that capability on that site?

dasistwas commented 3 years ago

I did do that with PHP cli. So there is no user involved. I will have a look at the table

gjb2048 commented 3 years ago

@dasistwas Just checked -> https://moodle.wunderbyte.at/?theme=campus and its working now. Is this still an issue please?

gjb2048 commented 3 years ago

@dasistwas Any news on this please?