Great.  Thanks.

On Sun, Jun 18, 2017 at 4:18 AM, Samuel Marks <samuelma...@gmail.com> wrote:

> Hi Robert,
>
> Yeah, solved it. - Traced it down to:
>
> def in_preview_mode():
>     """
>     Returns whether the user is in preview mode or not.
>     """
>     hostname = get_current_request_hostname()
>     preview_lms_base = settings.FEATURES.get('PREVIEW_LMS_BASE', None)
>     return bool(preview_lms_base and hostname and hostname.split(':')[0] == 
> preview_lms_base.split(':')[0])
>
> Turns out my PREVIEW_LMS_BASE was set with the same value as my LMS_BASE.
> On Sun, Jun 18, 2017 at 12:01 AM, Robert Raposa <rrap...@edx.org> wrote:
>
>> Hello Samuel.
>>
>> Did you figure this out? Have you published the content?
>>
>> Here is a checklist of activities:
>> http://edx.readthedocs.io/projects/open-edx-ca/en/latest/
>> releasing_course/course_launching.html
>>
>> Good luck.
>>
>> Robert
>>
>> On Jun 6, 2017, at 1:05 AM, Samuel Marks <samuelma...@gmail.com> wrote:
>>
>> My course isn't public for some reason. Ficus deployment. In
>> *https://<cms>/settings/advanced/course-v1:<course_id>* 'Invitation
>> Only' is set to `false`, and I set the course start date and enrollment
>> start date in *https://<cms>/settings/details/course-v1:<course_id>* to
>> yesterday.
>>
>> It doesn't show in the course list, and opening the absolute
>> *https://<lms>/courses/course-<course_id>/about* link gives a "Page not
>> found" message (with a 404 HTTP status code). That same link works when I'm
>> logged in as a super user.
>>
>> (if it makes a difference, I've turned off email activation by setting
>> SKIP_EMAIL_VALIDATION in the FEATURES key of
>> */edx/app/edxapp/lms.env.json* and */edx/app/edxapp/cms.env.json*)
>>
>> How do I make it public?
>>
>> Thanks
>> --
>> You received this message because you are subscribed to the Google Groups
>> "General Open edX discussion" group.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/edx-code/028619e9-5c25-4c00-a6c2-84f3e650e071%40googlegroups.com
>> <https://groups.google.com/d/msgid/edx-code/028619e9-5c25-4c00-a6c2-84f3e650e071%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "General Open edX discussion" group.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/edx-code/A3DFCFC1-F017-4E8A-9CAC-544936E1A749%40edx.org
>> <https://groups.google.com/d/msgid/edx-code/A3DFCFC1-F017-4E8A-9CAC-544936E1A749%40edx.org?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "General Open edX discussion" group.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/edx-code/CAMfPbcZDXmL2eOJh_LuAJJfZnNgph2s-XOo4QjF93tJAXXSemg%40mail.
> gmail.com
> <https://groups.google.com/d/msgid/edx-code/CAMfPbcZDXmL2eOJh_LuAJJfZnNgph2s-XOo4QjF93tJAXXSemg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>



-- 

*Robert Raposa*

edX | Software Architect  | rrap...@edx.org

141 Portland Street, 9th floor

Cambridge, MA 02139
http://www.edx.org <http://www.edxonline.org/>

[image:
http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566]

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/CAKZ_z5%3D8wz2h0uLDpW%3DBgkGXpJ-fJAmBKJO-%2BLOwU23%3Dd02XBQ%40mail.gmail.com.

Reply via email to