# Registration page configuration always blank

**URL:** <https://talk.getindico.io/t/registration-page-configuration-always-blank/1018>\
**Category:** General Discussion\
**Created:** [March 8, 2019, 1:41pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018 "2019-03-08T13:41:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Golder](https://talk.getindico.io/user_avatar/talk.getindico.io/mark_golder/32/288_2.png) [@Mark\_Golder](https://talk.getindico.io/u/Mark_Golder)\
**Post date:** [March 8, 2019, 1:41pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/1 "2019-03-08T13:41:11Z")

</div>

When i try to configure a registration page it is always blank with the only option of ‘Back’.

reading another post i have edited the base\_url in indico.conf to be the same as the one i use to access the site and this hasn’t worked.  
The error in my console suggests that the cal l to ajax has been blocked because i am using https - apart from changing my site to being http how do we get around this?

```auto
Mixed Content: The page at 'https://test-events.geant.org/event/10/manage/registration/5/form/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://test-events.geant.org/js/indico/modules/registration/form/tpls/registrationform.tpl.html'. This request has been blocked; the content must be served over HTTPS.
angular_f63f2c32.min.js:333 Error: Failed to load template: xxxxs://test-events01.geant.org/js/indico/modules/registration/form/tpls/registrationform.tpl.html
    at angular_f63f2c32.min.js:275
    at angular_f63f2c32.min.js:513
    at wrappedErrback (angular_f63f2c32.min.js:443)
    at wrappedErrback (angular_f63f2c32.min.js:443)
    at angular_f63f2c32.min.js:448
    at Object.$eval (angular_f63f2c32.min.js:484)
    at Object.$digest (angular_f63f2c32.min.js:482)
    at Object.$apply (angular_f63f2c32.min.js:484)
    at done (angular_f63f2c32.min.js:520)
    at completeRequest (angular_f63f2c32.min.js:537)

```

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [March 8, 2019, 1:44pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/2 "2019-03-08T13:44:29Z")

</div>

> [@Registration Form Configuration is empty?](https://talk.getindico.io/t/registration-form-configuration-is-empty/474/2):
>
> This is usually caused by Indico being accessed by a URL that does not match BASE\_URL in indico.conf - that results in the AJAX requests loading the templates for the registration form to fail due to Same-Origin-Policy violations (you can probably see messages about that in your browser’s developer console). The solution for this is to use the correct url in indico.conf and then reload/restart uwsgi so the updated config is actually used.

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [March 8, 2019, 1:45pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/4 "2019-03-08T13:45:49Z")

</div>

Did you reload uWSGI after editing the config? Otherwise it doesn’t take the change into account.

---

<div class="post-metadata">

**Author:** ![Mark\_Golder](https://talk.getindico.io/user_avatar/talk.getindico.io/mark_golder/32/288_2.png) [@Mark\_Golder](https://talk.getindico.io/u/Mark_Golder)\
**Post date:** [March 8, 2019, 1:50pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/5 "2019-03-08T13:50:32Z")

</div>

sudo systemctl restart uwsgi

---

<div class="post-metadata">

**Author:** ![Mark\_Golder](https://talk.getindico.io/user_avatar/talk.getindico.io/mark_golder/32/288_2.png) [@Mark\_Golder](https://talk.getindico.io/u/Mark_Golder)\
**Post date:** [March 8, 2019, 1:57pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/6 "2019-03-08T13:57:19Z")

</div>

Chrome - failed

Firefox (just tried) - working

Not good - but at least i can move on - thanks for your help. Mark.

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [March 8, 2019, 1:58pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/7 "2019-03-08T13:58:52Z")

</div>

If you restarted it should work. Try clearing your browser’s cache. I can’t check if your instance serves correct data now since it doesn’t seem to be available from outside your organization.

PS: Since you posted your `SECRET_KEY` please change it; someone malicious could use this to login as any user. If it’s a test instance it’s not a huge issue but if you reused the same secret key for a production setup, that’d be somewhat bad.

---

<div class="post-metadata">

**Author:** ![Mark\_Golder](https://talk.getindico.io/user_avatar/talk.getindico.io/mark_golder/32/288_2.png) [@Mark\_Golder](https://talk.getindico.io/u/Mark_Golder)\
**Post date:** [March 8, 2019, 2:00pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/8 "2019-03-08T14:00:36Z")

</div>

ops - cheers - will do

---

<div class="post-metadata">

**Author:** ![Mark\_Golder](https://talk.getindico.io/user_avatar/talk.getindico.io/mark_golder/32/288_2.png) [@Mark\_Golder](https://talk.getindico.io/u/Mark_Golder)\
**Post date:** [March 8, 2019, 2:05pm UTC](https://talk.getindico.io/t/registration-page-configuration-always-blank/1018/9 "2019-03-08T14:05:49Z")

</div>

cheers - its me being stupid - didn’t think of cache!!! - yes, working in chrome now, so original fix suggestion worked fine.
