Scripts for Educators
... .



Oops! The following configuration errors were found, and need to be corrected before this script will function.

ERROR: You have set $students_file = "/home/karalis/domains/easyschool.gr/public_html/students.txt"; in the script, but your web server is unable to write to that file. Please check that the path is correct, and that the permissions are set so that your web server can write to it.

ERROR: You have set $assignments_file = "/home/karalis/domains/easyschool.gr/public_html/assignments.txt"; in the script, but your web server is unable to write to that file. Please check that the path is correct, and that the permissions are set so that your web server can write to it.

ERROR: You have set $instructors_file = "/home/karalis/domains/easyschool.gr/public_html/instructors.txt"; in the script, but your web server is unable to write to that file. Please check that the path is correct, and that the permissions are set so that your web server can write to it. You will not be able to log in if this is not configured correctly.

If you're not completely certain that the paths for the various files are correct, you should probably ask your web hosting provider "What is the full system path to files on my website," and the answer they give you should give you a place to start. Note that a "system path" isn't the same as what appears in your browser. Where your browser might say "/cgi-bin/instructors.txt", the system might see it as something like "/home/users/your_login/www/cgi-bin/instructors.txt" or "/data1/opt/yourdomain.com/httpdocs/cgi-bin/instructors.txt" or even something completely bizarre like "/ag7/9/vvk9876509/d/l/45/cgi-bin/instructors.txt".

The "Script filename" info below should tell you what the system thinks the "system path" to this script is. Hopefully, from there, you can relate that to where you've put the instructors, students, and assignments files. If not, please let me know and I'll try to clarify for you. :-)

The "Base path to website files" info below should tell you what the system thinks is the "system path" to your files on the main part of your website. You may be able from there to extrapolate where your instructors, students, and assignments files are.

The FAQ has information about "chmod" and permissions. If you're not sure what that means, check it out and read up on it a bit. The following information might be helpful in troubleshooting this:

Web Server software is Apache
Base path to website files is /home/easyschool/public_html
Script filename is /home/easyschool/public_html/cgi-bin/gradeorama.cgi
Server O/S is linux