All, At the moment, I run three Mezzanine sites, including my own (http://www.pkmurphy.com.au/); all run satisfactorily. However, I appear to get errors when folk (presumably spammers) enter URLs with {domain name}/comment/.
For example, http://www.pkmurphy.com.au/randomnonsense/ gives me a "Page not found", which is great. However, http://www.pkmurphy.com.au/comment/ gives me an "Error", and I get logging messages (and email notifications). Is this something wrong with my configuration, or is this a long standing issue with Mezzanine? Thanks and best regards, Peter Here's the email notification, in case it is useful. ---------- Forwarded message ---------- From: <[email protected]> Date: Sun, Oct 25, 2015 at 11:04 AM Subject: [Django] ERROR (internal IP): Internal Server Error: /comment/ To: [email protected] Internal Server Error: /comment/ Traceback (most recent call last): File "/home/daoosaigon/webapps/mainvirtualenv/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/daoosaigon/webapps/mainvirtualenv/lib/python2.7/site-packages/mezzanine/generic/views.py", line 89, in comment response = initial_validation(request, "comment") File "/home/daoosaigon/webapps/mainvirtualenv/lib/python2.7/site-packages/mezzanine/generic/views.py", line 72, in initial_validation model = get_model(*post_data.get("content_type", "").split(".", 1)) File "/home/daoosaigon/webapps/mainvirtualenv/lib/python2.7/site-packages/django/apps/registry.py", line 201, in get_model app_label, model_name = app_label.split('.') ValueError: need more than 1 value to unpack Request repr(): <WSGIRequest path:/comment/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'wp2qlc3PSZ5CyxgK9GcvTlmK4MP5TUeH', 'DOCUMENT_ROOT': '/usr/local/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_CONNECTION': 'close', 'HTTP_FORWARDED_REQUEST_URI': '/comment/', 'HTTP_HOST': 'www.pkmurphy.com.au', 'HTTP_HTTPS': 'off', 'HTTP_HTTP_X_FORWARDED_PROTO': 'http', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)', 'HTTP_X_FORWARDED_FOR': '188.143.232.15', 'HTTP_X_FORWARDED_HOST': 'www.pkmurphy.com.au', 'HTTP_X_FORWARDED_PROTO': 'http', 'HTTP_X_FORWARDED_SERVER': 'www.pkmurphy.com.au', 'HTTP_X_FORWARDED_SSL': 'off', 'PATH_INFO': u'/comment/', 'PATH_TRANSLATED': '/home/daoosaigon/webapps/mainvirtualenv/pkmmainproj/wsgi.py/comment/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '60008', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/comment/', 'SCRIPT_FILENAME': '/home/daoosaigon/webapps/mainvirtualenv/pkmmainproj/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'www.pkmurphy.com.au', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.25 (Unix) mod_wsgi/3.4 Python/2.7.9', 'VALID_HOST': '1', 'mod_wsgi.application_group': 'example.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '11124', 'mod_wsgi.process_group': 'mainvirtualenv', 'mod_wsgi.queue_start': '1445735084336885', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 4), 'wsgi.errors': <mod_wsgi.Log object at 0x7f2af62791f0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f2aefa4a4e0>, 'wsgi.input': <mod_wsgi.Input object at 0x7f2aef92ea70>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> -- Email: [email protected] WWW: http://www.pkmurphy.com.au/ -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
