# Public Course with Problems

**URL:** <https://discuss.openedx.org/t/public-course-with-problems/2771>\
**Category:** Site Operators\
**Created:** [July 18, 2020, 4:15pm UTC](https://discuss.openedx.org/t/public-course-with-problems/2771 "2020-07-18T16:15:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sateesh\_Kumar](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sateesh_kumar/32/1047_2.png) [@Sateesh\_Kumar](https://discuss.openedx.org/u/Sateesh_Kumar)\
**Post date:** [July 18, 2020, 4:15pm UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/1 "2020-07-18T16:15:36Z")

</div>

As per the document : [https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/open-release-ironwood.master/configuration/enable\_public\_course.html](https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/open-release-ironwood.master/configuration/enable_public_course.html)

u/s 4.11.4 “Only HTML components, Video components, and course handouts have a “public” view. Unenrolled learners will see a message requesting that they enroll to see more complex content types, such as discussion forums, problem blocks, randomized content blocks, exams, Open Response Assessment, and other XBlocks.”

But when public visitors or unenrolled users see a sub section with Problem Block, they are not able to see the message requesting to enroll. But the content remains blank. Is it desirable?

This happens of ironwood

---

<div class="post-metadata">

**Author:** ![Yagnesh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/yagnesh/32/9571_2.png) [@Yagnesh](https://discuss.openedx.org/u/Yagnesh)\
**Post date:** [September 25, 2024, 4:49pm UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/2 "2024-09-25T16:49:13Z")

</div>

hello team

Does anyone have a solution for this issue? The problem with the public course is still present.

I’d like to explain the issue I’m facing. I created a public course and added content, including verified-based and audit-based materials. However, when I log out and view it as a public user, the content appears blank.

I believe there should be a message displayed instead of just a blank screen.

 ![Screenshot from 2024-09-25 22-16-23](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/2/25b3990513256d80fc24ca9b921296591e5fc6ef.png)

 ![Screenshot from 2024-09-25 22-18-17](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/d/d7ff652c1f604e554b02fce299c7e4445d1d73f3.png)

---

<div class="post-metadata">

**Author:** ![qasimgulzar](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/qasimgulzar/32/6319_2.png) [@qasimgulzar](https://discuss.openedx.org/u/qasimgulzar)\
**Post date:** [September 26, 2024, 11:54am UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/3 "2024-09-26T11:54:57Z")

</div>

Hi Yagnesh, could you share your course export I can probably test and propose a solution for you.

---

<div class="post-metadata">

**Author:** ![Yagnesh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/yagnesh/32/9571_2.png) [@Yagnesh](https://discuss.openedx.org/u/Yagnesh)\
**Post date:** [September 26, 2024, 12:13pm UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/4 "2024-09-26T12:13:35Z")

</div>

@qasimgulzar Thank You  
[course.cxmmz3l4 (1).tar.gz](https://discuss.openedx.org/uploads/short-url/rVoq18GgNHi3AhD2sCnHNKo1GbA.gz) (82.1 KB)

I also assume that if you select in course mode, it will not work. However, if you don’t use any course mode, it will work. I checked in the course to add multiple course modes.

 ![Screenshot from 2024-09-26 17-40-36](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/5/5448e2920164e537a096ceb820ba1163cb003e6d.png)

 ![Screenshot from 2024-09-26 17-43-20](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/2/2c8276e44a0318e0c6d83eed57a6f61f1461c0b0.png)

---

<div class="post-metadata">

**Author:** ![qasimgulzar](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/qasimgulzar/32/6319_2.png) [@qasimgulzar](https://discuss.openedx.org/u/qasimgulzar)\
**Post date:** [September 26, 2024, 6:03pm UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/5 "2024-09-26T18:03:25Z")

</div>

@Yagnesh to make content publicly available you need to configure the unit to be available for everyone. if you will be adding it to specific user group it will expect you to be logged in to make it visible. This is how it is implemented and it is not going to give any prompt.

In order to make your content available to public user follow the step as I followed in attached recording.

I hope it will help solving problem you are facing.

---

<div class="post-metadata">

**Author:** ![Yagnesh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/yagnesh/32/9571_2.png) [@Yagnesh](https://discuss.openedx.org/u/Yagnesh)\
**Post date:** [September 26, 2024, 6:23pm UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/6 "2024-09-26T18:23:03Z")

</div>

@qasimgulzar  
My main goal is to ensure that when a unit is in audit mode or another mode, this don’t encounter a blank page. Instead, I want to display a meaningful message that provides

So Public users will see a message . However, to access more detailed content, they will need to log in or register

In this video, you remove the course modes.

when unit have course mode

 ![Screenshot from 2024-09-26 23-46-24](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/d/dac0b55fe53a8a200c75fd18b8cde6384c154d2a.png)

I also think something like this with unit course mode

 ![Screenshot from 2024-09-26 23-45-36](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/6/66ef786c654a487fac896c31c4cd2e290f96ecd8.png)

---

<div class="post-metadata">

**Author:** ![qasimgulzar](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/qasimgulzar/32/6319_2.png) [@qasimgulzar](https://discuss.openedx.org/u/qasimgulzar)\
**Post date:** [September 27, 2024, 9:25am UTC](https://discuss.openedx.org/t/public-course-with-problems/2771/7 "2024-09-27T09:25:20Z")

</div>

Hi @Yagnesh,

I have initiated two pull requests aimed at displaying an authentication error message when the xblock is not publicly accessible. I believe these enhancements will be beneficial.

Please feel free to review and make any changes to the following pull requests:

1. [frontend-app-learning](https://github.com/openedx/frontend-app-learning/pull/1492)
2. [edx-platform](https://github.com/openedx/edx-platform/pull/35554)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e6a099f372371aeccdd29fa0af666cc319bbf9ce.png)
