23 votes
Accepted

can't get the site to run

CS50 course materials will tell you that the permissions need to be set as follows: chmod 711 for directories chmod 644 for images, HTML, CSS, JavaScript chmod 600 for PHP files. In general, this is ...
user avatar
  • 3,036
10 votes

Ubuntu password required when starting apache 50 - pset7

Apologies for the inconvenience! Should be fixed ASAP! But until it's fixed, yet another solution to this is to execute: $ echo "#includedir /etc/sudoers.d" | sudo tee -a /etc/sudoers in a terminal ...
user avatar
  • 17.4k
6 votes

Ubuntu password required when starting apache 50 - pset7

UPDATE 24-Dec-2016: As of IDE version 94, this has been fixed. Suspect some cloud9 change. For the "more comfortable", a patch is needed in apache50 script. You need elevated permissions. (I used ...
user avatar
4 votes
Accepted

Ubuntu password required when starting apache 50 - pset7

The root cause is a Cloud9 change, github bug to track here: https://github.com/cs50/ide50/issues/27 DinoCoderSaurus's workaround should work until they update the cs50 ide. Also: you should learn ...
user avatar
3 votes
Accepted

PSet7 - Unable to start apache50 - can't continue work :(

The bug is in the declaration of the flask function in /etc/profile.d/ide50.sh in IDE version 88. Since CS50x (edX 2016 version of CS50) does not use python, and flask is a python framework, you ...
user avatar
2 votes

I only get forbidden 403 pset7

This guy had a solution. Not sure how good it is in security aspects though. https://m.reddit.com/r/cs50/comments/5055ti/403_forbidden_permissions_chmod_the_definitive/ cd ~/workspace/pset7 find . -...
user avatar
  • 96
2 votes
Accepted

How do I submit a bug report to the ide50 maintainers?

Official answer: the CS50 team is aware of all the issues we've noted and more. Version 60 will be coming out in the next few days, and it should take care of things.
user avatar
  • 1,424
1 vote

Ubuntu password required when starting apache 50 - pset7

All you need is "update50" then be happy! :)
user avatar
1 vote
Accepted

problem in opening phpmyadmin and cs50 finance in pset7

There is a way to reset the IDE without fixing the PHP interpreter. You can create a new workspace. Go to https://cs50.io/sharmapranjal and click on the big gray square that says "+ Create a new ...
user avatar
  • 3,036
1 vote

PSet7 - Unable to start apache50 - can't continue work :(

THIS IS MORE A COMMENT THAN AN ANSWER BUT I DON'T HAVE SPACE IN A COMMENT TO SAY ALL THIS I looked at the three files mentioned on the error: /etc/init.d/apache2 /etc/profile.d/ide50.sh /etc/apache2/...
user avatar
1 vote
Accepted

I only get forbidden 403 pset7

First of all, let's look at the error message from the Apache2 logs: (13)Permission denied: [client 10.240.1.18:34742] AH00035: access to / denied (filesystem path '/home/ubuntu/workspace/pset7/...
user avatar
  • 3,036

Only top scored, non community-wiki answers of a minimum length are eligible