Skip to content
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

Blank Screen on Event Save #32

Closed
danbracey opened this issue Mar 15, 2016 · 7 comments
Closed

Blank Screen on Event Save #32

danbracey opened this issue Mar 15, 2016 · 7 comments

Comments

@danbracey
Copy link

Whenever I try to save a new event, I just get presented with a blank screen.

If I go back to my calendar page the event is there however, saved successfully.

Information:
HumHub version: 1.0.0-beta.4
Calendar Module Version: 0.3.3 (Beta Version)

@buddh4
Copy link
Contributor

buddh4 commented Mar 18, 2016

Hi, sorry cannot recreate the issue. The page should not even reload after submitting a new event. Can you check if there is any kind of error or something in the developer console of your browser ?

@danbracey
Copy link
Author

URL: /index.php?r=calendar%2Fentry%2Fedit&start_datetime=2016-03-20%2000%3A00%3A00&end_datetime=2016-03-21%2000%3A00%3A00&fullCalendar=1&createFromGlobalCalendar=1&uguid=1d170150-95e3-465b-8c75-4306d66d1ab8

Developer Console:
Uncaught ReferenceError: $ is not defined (index.php:1)
Uncaught ReferenceError: $ is not defined (index.php:2)

@danbracey
Copy link
Author

Sorted! My index.php file was on debug mode! Disable the debug lines on production

@danbracey danbracey reopened this Mar 22, 2016
@danbracey
Copy link
Author

Not fixed, just refreshed and it happened again... Help please!

@buddh4
Copy link
Contributor

buddh4 commented Mar 22, 2016

Hi, can you copy the line of code where the error is happening. You should be able to click in the error to get to the javascript line. It seems that somehow jquery is used before its included in the page.

@danbracey
Copy link
Author

<script>if(typeof $("#calendar").fullCalendar != "undefined") { $("#calendar").fullCalendar("refetchEvents"); } else { location.reload(); }</script><script> $('#globalModal').modal('hide'); </script>

@buddh4
Copy link
Contributor

buddh4 commented Mar 22, 2016

Ok, this should already be fixed in the current master and upcoming 1.0 release. The globalModal elements somehow loses its handler in the old version and loads the page with the result instead of display the result in a modal window. Strange that it did not happen when i tested it with the beta4. The new version will be released this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants