Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
934 views

Debugging Webserver in C

I have an error in my server.c file for PSET6 but have no idea how to find it. I am trying to use GDB and it does not seem to be very useful. I would love some help learning how to better debug this ...
3
votes
2answers
1k views

Why does check50 fail with status code 400?

For the last month, I've been trying to use check50 to see if I wrote the right code for the problem sets, but no matter which problem, it always fails with status code 400. Any idea what I should ...
6
votes
8answers
9k views

Undefined reference to `GetString'

I'm having the following error myName.c:(.text+0x18): undefined reference to `GetString' It seems that something is wrong with the cs50 library. What is this file suppose to contain? In my case it ...
1
vote
1answer
473 views

phpMyAdmin: “mysql extension missing” error

pset7: I receive the following error when trying to open phpMyAdmin: "the mysqli extension is missing. Please check your PHP configuration. See our documentation for more information." I previously ...
3
votes
3answers
3k views

Stuck on PSet1: I have the correct output, but Check50 says it's wrong

I'm stuck on the Mario part of PSet1. I've managed to write up my program and the output is always correct (or at least seems to be to me). I know it's definitely the loops that are making things ...
1
vote
3answers
163 views

Cant access CS50

When i am trying to go to resource pages of CS50 like syllabus link I get untrusted page error by my browsers firefox and opera and cant even make an exception here is the error i get, this has been ...
0
votes
2answers
406 views

Valgrind error in PSET6

I implemented the tree data structure for pset6. It's all doing it right. On checking with valgrind it is even freeing the memory. The valgrind shows that all the blocks were freed. But the error ...
0
votes
1answer
118 views

During PSET 2: Substitution, I got an expected expression error for get_string. Please help

substitution.c:24:23: error: expected expression char* plaintext = get_string(); ^ /usr/include/cs50.h:109:53: note: expanded from macro 'get_string' #define get_string(...) ...
0
votes
1answer
260 views

pset6: what does check50 “TODO” error mean?

When I run ./server, it seems all working good. All files in root been opend correctly. But when I checking my code with Check50, it show me errors "TODO". It can be seen in the screenshot. What does ...
1
vote
1answer
401 views

Pset 7 - Finance: Clicking Register creates: AttributeError: 'ValueError'

I've been trying to get my register page to work for a couple days now. I think I'm close , but now I'm receiving the following error message in my terminal when I try to click register from the login ...
1
vote
1answer
146 views

Parse wont pass check50

for some reason my code isnt passing: :( Two spaces after GET returns error code & :( Two spaces before HTTP/1.1 returns error code I cant see what would cause that. A previous question indicates ...
1
vote
1answer
462 views

I am getting “HTTP/1.1 501 Not Implemented” when I run 192.#.#.#:port#/cat.jpg

@curiouskiwi, Thanks a lot....your response helped a lot. I wonder why I missed out such little detail. However guys, I have another problem which I believe am missing out something but can not seem ...
0
votes
1answer
40 views

pset6 - greedy doesn't print answer- just returns the input. Where have I gone wrong?

import cs50 while True: print ("O! Hail!, How Much Change Is Owed?") n = cs50.get_float() if n >= 0: break q = 25 q1 = 0 d = 10 d1= 0 ni = 5 ni1 = ...