I followed all the steps in the intro of the pset7 spec (up until the xkcd sandwich joke) but cs50 finance loads a blank page in appliance's Chrome browser when I enter the pset7 URL. The element inspector of the page returned states a "500 server error" for "status code". What is going wrong and how can I fix it?
-
Have you gone through the chmod steps a second time and confirmed all files are permissioned appropriately? That's a common problem. Perhaps give it another whirl and let us know if you still encounter the error– lethaljdCommented Jan 12, 2015 at 12:52
-
Thank for the response. I went through all steps again and also deleted all pset7 files to start over fresh. I went through chmod calls: chmod a+x ~ chmod a+x ~/vhosts chmod a+x ~/vhosts/pset7 chmod a+x ~/vhosts/pset7/public (within the "public" folder): chmod a+x css fonts img js chmod a+r css/* fonts/* img/* js/* and also wrote this into "hosts" window after sudo gedit: 127.0.0.1 pset7 Still receive same blank page on chrome.– DanielCommented Jan 12, 2015 at 21:26
-
I am having the exact same problem!– user4642Commented Jan 12, 2015 at 22:13
-
Having checked all the privileges with ls -l and ls -ld, reinstalled the files to start afresh and restarted the appliance several times I too still get the blank page with 500 server error in the status code. I have been able to download and set the permissions of pset8 to successfully display the page required at pset8 so I feel there could be an issue here. As with the others, any help much appreciated!– AlastairHowardCommented Jan 14, 2015 at 12:25
-
I'm having the same problem, too! I went through all steps again, but it didn't help at all, I am still just getting a blank page.– user4666Commented Jan 14, 2015 at 17:27
|
Show 6 more comments
1 Answer
The Apache2 web server in the current version of the appliance needs a configuration tweak. Please run the following commands in a terminal in your appliance:
sudo a2dismod php5
sudo a2enmod suphp
sudo service apache2 restart
Then try again to visit http://pset7/
in Chrome in the appliance.