Questions tagged [pset6server]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

one failed test of server.c :(Two spaces after GET returns error code [duplicate]

I have no idea what's wrong with my parse function! I've tried everything... It fails one test only - :(Two spaces after GET returns error code. Please, help me - I have nobody to ask because I'm ...
0
votes
1answer
44 views

Why is all my check50 server2 red?

Below are my parse() and lookup() functions for server.c pset6. I have gone over and over but maybe I didn't understand what lookup does. Any help is highly welcome and appreciated. My check50 for ...
0
votes
1answer
29 views

pset6 parse function fails “hello.php?” test

My code passes all but 1 test. This is the error: :( Requesting hello.php? returns 200, text/html, and correct output \ expected output, not an exit code of 0 Can you see what the problem is?? ...
0
votes
1answer
31 views

pset6: couldn't figure out where am i going wrong

Here's my indexes function char* indexes(const char* path) { char* html = "index.html"; char* php = "index.php"; char* index = malloc(strlen(path) + strlen(html) + 1); strcpy(index,...
0
votes
1answer
55 views

pset6 apache50 “Permission denied”

When I tried running CS50's staff solution to pset6 with ~cs50/pset6/server public, I get Stopping server. apache50 stop gave me "Apache is not running!" It occurred to me to try apache50 restart, ...
0
votes
1answer
317 views

error message “Error in `./server': free(): invalid next size (fast): 0x0000000001daf660” when running server

I implemented load, parse, query, lookup and indexes, but now when I try to run the program and open up my Web Server from the CS50 IDE, I get the error message quoted in the title of this post. ...
0
votes
1answer
22 views

pset6 server.c BACKTRACE ERROR

I have pasted my four codes for server.c... I am getting the following two errors on running the final check50: :( Requesting /test/ outputs /test/index.html \ expected an exit code of 0, not ...
1
vote
2answers
83 views

Need HELP! with server.c pset6 done 4 functions but can't find couse of problem

Need HELP! I've nearly done pset6 but there are some bugs. I can't figure out what's wrong.I think there might be some bugs in load and parse functions. Maybe somethink with Segmentation fault. ...
0
votes
1answer
70 views

PSET 6 problem solving and debugging

I have been working on this pset for a long time now. I feel like the real challenge in this pset is debugging and I can't seem to find out where my problem is. I have an idea that it might be in the ...
0
votes
1answer
76 views

PSet 6 Parse Function (check50 issue)

I hope you are well! I am currently on pset6 and I am stuck on the parse function. So far I have managed to get check50 to go all but green on a few checks: https://sandbox.cs50.net/checks/...