1

I finished import and search a few hours ago and it was working fine, I tried to search for places on the map and all. Now, the map is not showing anymore when visiting https://ide50-username.cs50.io/. I don't know what happened, I didn't change any code or something. image

2

Please check the permissions on the js directory and its contents:

ls -l ~/workspace/pset8/public
ls -l ~/workspace/pset8/public/js

All of your JavaScript files should have these permissions: -rw-r--r--. If they do not, you can fix them with chmod 644:

chmod 644 ~/workspace/pset8/public/js/*

Hope this helps.

EDIT: Interesting. Have you tried force-reloading it again? (Sorry I can't reply in comments via mobile.)

EDIT2: Some other things to try:

  • Force-reload it again (Ctrl+F5)
  • apache50 stop && apache50 start ~/workspace/pset8/public
  • Look in the Apache2 error log (tail -f ~/var/lib/apache2/log/error.log) and the Developer Tools Console of your browser for more clues.

EDIT3: Any progress? Did this fix itself? What did it say in the Apache2 error log?

2
  • 1
    tried and didn't work. I remember now how this happened. The auto complete wasn't working with me and I read someone here saying to force refresh the browser to fix it, once I force refreshed google chrome, it disappeared. Sep 20 '16 at 15:39
  • Look in the Apache2 error log (tail -f ~/var/lib/apache2/log/error.log) and the Developer Tools Console of your browser for more clues. Sep 20 '16 at 23:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .