You do not have permission to upload files.
Your access authority: W
Authority required: C
Please contact the WebMaster if you believe this to be an error.
You may need to login. --> -->
 
 
NameError
Python 3.6.8: /usr/bin/python3
Sun Nov 2 13:21:16 2025

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/sews_upld.py in <module>()
    104     print('You may need to <a href="/sews_login.html">login.</a>')
    105     print('</body></html>')
=>  106     write_log(dir_data,'UPLD: '+username+' '+user_permission+' DENIED')
    107     exit(1)
    108 
write_log = <function write_log>, dir_data undefined, username = '', user_permission = 'W'

NameError: name 'dir_data' is not defined
      args = ("name 'dir_data' is not defined",)
      with_traceback = <built-in method with_traceback of NameError object>