Back to Problem Solutions forum
Has anybody recently completed one of the problems 187 to 189 (static web page, basics of html, dynamic web page)? My solutions get refused as incorrect though they look ok to me; the page sources look identical to the examples given (other than the specific secret values of course).
Mathias, Hi!
The checkers for these problems are working, I've just tested...
My solutions get refused as incorrect
What verdict you are told by checker? Generally difficulties with these task were due to the rejection cause not being clear enough, so perhaps there is something to improve...
Hello.
Problem 187: "Your file does not contain what was asked. Please check it again." My file is a 23 byte .txt file containing "Secret value is 6917811"
Problem 188: "Your file does not contain Secret Value or it is not outlined in Bold." My file is a .html file containing in its body "<p>Secret value is <b>2204848</b>.</p>"
Problem 189: Your output does not start with "Random value is "... My file is a .php script with a single echo command "echo "Random value is " [...]"
Problem 190: "Failed to extract action url from form page" The URL provided as the answer points to a HTML form containing an "<form action="http://[...]/data/problem_0190.php">[...]</form>" element.
It looks okay from my end. Protocol is http. Web pages are up and running. The secret values were changed to the latest numbers. I checked the source code in the browser; it matches the sample solutions in the problems closely. I copy&paste the full URL both in the "Your answer" and the "Your solution" field.
Maybe I am misreading or misunderstanding something in the problem ask. Or maybe there is an issue with reaching the web host. Any pointers welcome, and many thanks!
Well, it is a bit bewildering... Let's try to check it one at a time:
Problem 187: "Your file does not contain what was asked. Please check it again.
This means your URL was retrieved all right but content was not what checker expected. It is not quite informative, so let's have this message modified. Please try again and see - it should now tell what value was expected - and return the whole content retrieved from url encoded in base-64 (for case the hosting added something there).
Many thanks.
Here is what I see in the file: "Secret value is 7255635" (checked in multiple browsers)
Here is the reply from result checker: Your file does not contain secret value 7255635 or has some garbadge. Content in base-64 is: PGh0bWw+PGJvZHk+PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiIHNyYz0iL2Flcy5qcyIgPjwvc2NyaXB0PjxzY3JpcHQ+ZnVuY3Rpb24gdG9OdW1iZXJzKGQpe3Zhcg==
Ok, that decodes as some javascript code which has nothing to do with my page. Maybe my free web hosting solution is somewhat limited when accessing pages from other countries. I'll investigate as well.
Thanks!
Oh, sorry for that. I now see it is about infinityfree
hosting and it seemingly introduced some protection from
loading pages programmatically. So the checker sees different things from what we see in the browser.
I'll remove it from recommendation list as it seemingly can't suit our purpose anymore, sorry for outdated information :(
No worries, thanks for checking. I'll find a different hosting service; the solutions are anyway ready. :)
Thanks once more; the third free hosting service finally worked.
Thanks to you too as your case motivated improving the checker response!
the third free hosting service finally worked.
I see it is atwebpages
- most curiously I removed it from the list some time in the past when it was causing troubles
too... Let's add it back then :)