Thanks Josh - good call. I didn't have that set up.

I have attached the error message. I'm not sure, but I'm wondering if the 
error is stemming from the way I have the URLs set up. Would you mind 
taking a look?

Thank you!
Scott



On Wednesday, March 19, 2014 12:46:15 PM UTC-7, Josh Cartmell wrote:
>
> Hey Scott, have you configured the ADMINS setting in your settings.py 
> file?  If you have it should email you detailed error reports whenever the 
> site produces a 500 error.
>
> Alternatively does anything more verbose show up in your server's logs?
>
>
> On Tue, Mar 18, 2014 at 4:18 PM, Scott Diehl <[email protected]<javascript:>
> > wrote:
>
>> Hey guys, I really appreciate your help on this. 
>>
>> So strange, but I finally got mezzanine upgraded - it seems to be running 
>> smoothly. However, same thing, when I try creating a new page and hit 
>> "save", I get an error page <http://www.perceptyx.com/er/index.html>.  
>>
>> Any ideas? Anything else I can try?
>>
>> Thank you!
>>
>> Scott
>>
>>
>> On Monday, February 10, 2014 12:13:55 PM UTC-8, Stephen McDonald wrote:
>>
>>> Mezzanine makes use of South to manage changes to its database schema - 
>>> something that may happen with each new version, and has happened in your 
>>> case. Have a read up on south before you try and resolve the problem: 
>>> http://south.aeracode.org/
>>>
>>>
>>> On Tue, Feb 11, 2014 at 7:05 AM, Scott Diehl <[email protected]> wrote:
>>>
>>>> Hey Josh,
>>>>
>>>> So my local mezzanine is version 1.4.10, and the version on the server 
>>>> is 1.4.9. That might be the problem...
>>>>
>>>> However, I have another issue now. As a test, I just ran "pip install 
>>>> mezzanine --upgrade" on my local version...but I think I broke it. I am 
>>>> getting an operational error: "no such column: pages_page.created"
>>>>
>>>>
>>>>
>>>> On Monday, February 10, 2014 11:26:39 AM UTC-8, Josh Cartmell wrote:
>>>>
>>>>> Hey Scott, can you verify that the versions of Mezzanine are the same 
>>>>> between the two environments?
>>>>>
>>>>> Do you have any idea what http://www.perceptyx.com/er/index.html is?  
>>>>> Mezzanine doesn't use any urls that end in .html so that could be a 
>>>>> source 
>>>>> of the problem.
>>>>>
>>>>>
>>>>> On Mon, Feb 10, 2014 at 10:22 AM, Scott Diehl <[email protected]>wrote:
>>>>>
>>>>>> Thank you for your help! 
>>>>>>
>>>>>> Here is the error I am getting in my console:
>>>>>>
>>>>>>  event.returnValue is deprecated. Please use the standard 
>>>>>> event.preventDefault() instead.
>>>>>> XMLHttpRequest cannot load http://www.perceptyx.com/er/index.html. 
>>>>>> No 'Access-Control-Allow-Origin' header is present on the requested 
>>>>>> resource. Origin 'http://perceptyx.com' is therefore not allowed 
>>>>>> access.
>>>>>>
>>>>>> Looks like click clicking "Save" triggered our error page. This 
>>>>>> doesn't happen on my localhost version of the site. Any ideas?
>>>>>>
>>>>>> thanks again.
>>>>>>
>>>>>> Scott
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Friday, February 7, 2014 1:40:27 PM UTC-8, Stephen McDonald wrote:
>>>>>>
>>>>>>> Look for javascript errors, missing files (eg 404s) etc in the 
>>>>>>> browser's dev console.
>>>>>>>
>>>>>>> Nice site btw.
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Feb 8, 2014 at 6:16 AM, Scott Diehl <[email protected]>wrote:
>>>>>>>
>>>>>>>> Hey guys,
>>>>>>>>
>>>>>>>> So...I am very new to django/python. I have just built a new 
>>>>>>>> mezzanine site (http://www.perceptyx.com), and launched it 
>>>>>>>> yesterday. It is working great. However, I am noticing a few weird 
>>>>>>>> things 
>>>>>>>> started ever since it went "live". 
>>>>>>>>
>>>>>>>> For example, I am not unable to save new pages? When I click "add 
>>>>>>>> new page" and then click "save" - nothing happens.
>>>>>>>>
>>>>>>>> I'm thinking maybe I missed a critical step in the launch 
>>>>>>>> process...when we switched from the dev URL to the production URL. 
>>>>>>>> Maybe? 
>>>>>>>> Any ideas?
>>>>>>>>
>>>>>>>> Scott
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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/groups/opt_out.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Stephen McDonald
>>>>>>> http://jupo.org 
>>>>>>>
>>>>>>  -- 
>>>>>> 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/groups/opt_out.
>>>>>>
>>>>>
>>>>>  -- 
>>>> 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/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Stephen McDonald
>>> http://jupo.org 
>>>
>>  -- 
>> 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] <javascript:>.
>>  For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.
Traceback (most recent call last): 

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", 
line 115, in get_response 
response = callback(request, *callback_args, **callback_kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
line 372, in wrapper 
return self.admin_site.admin_view(view)(*args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
91, in _wrapped_view 
response = view_func(request, *args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", 
line 89, in _wrapped_view_func 
response = view_func(request, *args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py", 
line 202, in inner 
return view(request, *args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/mezzanine/pages/admin.py", line 
96, in add_view 
return super(PageAdmin, self).add_view(request, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
25, in _wrapper 
return bound_func(*args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
91, in _wrapped_view 
response = view_func(request, *args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
21, in bound_func 
return func(self, *args2, **kwargs2) 

File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", line 
223, in inner 
return func(*args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
line 1008, in add_view 
self.save_related(request, form, formsets, False) 

File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
line 762, in save_related 
form.save_m2m() 

File "/usr/local/lib/python2.7/dist-packages/django/forms/models.py", line 84, 
in save_m2m 
f.save_form_data(instance, cleaned_data[f.name]) 

File "/usr/local/lib/python2.7/dist-packages/mezzanine/generic/fields.py", line 
207, in save_form_data 
super(KeywordsField, self).save_form_data(instance, data) 

File 
"/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", 
line 466, in save_form_data 
setattr(instance, self.name, data) 

File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
 line 286, in __set__ 
manager.add(obj) 

File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
 line 346, in add 
obj.save() 

File "/usr/local/lib/python2.7/dist-packages/mezzanine/core/models.py", line 
339, in save 
super(Orderable, self).save(*args, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 
546, in save 
force_update=force_update, update_fields=update_fields) 

File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 
650, in save_base 
result = manager._insert([self], fields=fields, return_id=update_pk, 
using=using, raw=raw) 

File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 
215, in _insert 
return insert_query(self.model, objs, fields, **kwargs) 

File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 
1661, in insert_query 
return query.get_compiler(using=using).execute_sql(return_id) 

File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", 
line 936, in execute_sql 
for sql, params in self.as_sql(): 

File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", 
line 894, in as_sql 
for obj in self.query.objs 

File 
"/usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py", 
line 1047, in get_db_prep_save 
connection=connection) 

File 
"/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", 
line 304, in get_db_prep_save 
prepared=False) 

File 
"/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", 
line 548, in get_db_prep_value 
value = self.get_prep_value(value) 

File 
"/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", 
line 555, in get_prep_value 
return int(value) 

ValueError: invalid literal for int() with base 10: '<!DOCTYPE html> <html> 
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" 
content="IE=edge' 


<WSGIRequest 
path:/admin/pages/richtextpage/add/, 
GET:<QueryDict: {}>, 
POST:<QueryDict: {u'status': [u'2'], u'_meta_title': [u''], u'description': 
[u''], u'title': [u'Test'], u'slug': [u''], u'content': [u'<p>test</p>'], 
u'in_sitemap': [u'on'], u'keywords_1': [u'undefined'], u'keywords_0': 
[u'<!DOCTYPE html>\r\n<html>\r\n\r\n <head>\r\n <meta charset="utf-8">\r\n 
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\r\n 
<title>Perceptyx - Know Now</title>\r\n <link rel="stylesheet" 
href="main.css">\r\n </head>\r\n <body>\r\n \r\n\r\n <div class="content">\r\n 
<div class="left-side">\r\n <img src="img/robot.jpg" width="250" alt="Perceptyx 
Robot">\r\n </div>\r\n <div class="right-side">\r\n <h1>Uh oh.</h1>\r\n 
<p>\u2026Well that\'s not supposed to happen. The server may be busy or there 
may be a problem, in which case our team is working on a 
solution.<br><br>Please try again in a few moments.</p>\r\n <img 
src="img/logo.jpg" width="250" alt="Perceptyx logo">\r\n </div>\r\n <div 
class="copyright">&copy; 2013 Perceptyx, Inc.</div>\r\n </div>\r\n 
</body>\r\n</html>\r\n'], u'expiry_date_0': [u''], u'expiry_date_1': [u''], 
u'csrfmiddlewaretoken': [u'Ry8Y4NlBvhoZsNRyhEo9OluH0LsVkBEU'], 
u'publish_date_0': [u''], u'in_menus': [u'1', u'2', u'3'], u'publish_date_1': 
[u''], u'gen_description': [u'on'], u'_save': [u'Save']}>, 
COOKIES:{'__utma': '211205524.327771653.1389918076.1395181709.1395258973.63', 
'__utmb': '211205524.1.10.1395258973', 
'__utmc': '211205524', 
'__utmz': 
'211205524.1394475974.58.7.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',
 
'csrftoken': 'Ry8Y4NlBvhoZsNRyhEo9OluH0LsVkBEU', 
'mezzanine-admin-toolbar': '', 
'sessionid': 'dqa7ae8cpdo4sy22h05c3yfqlk5nde78', 
'uid': 'rf69QlLW3LQ6OBvbBAt8Ag=='}, 
META:{'CONTENT_LENGTH': '2917', 
'CONTENT_TYPE': 'multipart/form-data; 
boundary=----WebKitFormBoundaryxuzewbyC6OKuHOKX', 
u'CSRF_COOKIE': u'Ry8Y4NlBvhoZsNRyhEo9OluH0LsVkBEU', 
'DOCUMENT_ROOT': '/var/www/pyx', 
'GATEWAY_INTERFACE': 'CGI/1.1', 
'HTTP_ACCEPT': 
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 
'HTTP_CACHE_CONTROL': 'max-age=0', 
'HTTP_CONNECTION': 'close', 
'HTTP_COOKIE': 'uid=rf69QlLW3LQ6OBvbBAt8Ag==; 
sessionid=dqa7ae8cpdo4sy22h05c3yfqlk5nde78; 
__utma=211205524.327771653.1389918076.1395181709.1395258973.63; 
__utmb=211205524.1.10.1395258973; __utmc=211205524; 
__utmz=211205524.1394475974.58.7.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided);
 mezzanine-admin-toolbar=; csrftoken=Ry8Y4NlBvhoZsNRyhEo9OluH0LsVkBEU', 
'HTTP_HOST': 'www.perceptyx.com', 
'HTTP_ORIGIN': 'http://www.perceptyx.com', 
'HTTP_REFERER': 'http://www.perceptyx.com/admin/pages/richtextpage/add/', 
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36', 
'HTTP_X_FORWARDED_FOR': '71.177.42.118', 
'HTTP_X_REAL_IP': '71.177.42.118', 
'PATH_INFO': u'/admin/pages/richtextpage/add/', 
'PATH_TRANSLATED': '/var/www/pyx/wsgi.py/admin/pages/richtextpage/add/', 
'QUERY_STRING': '', 
'REMOTE_ADDR': '173.254.188.10', 
'REMOTE_PORT': '28708', 
'REQUEST_METHOD': 'POST', 
'REQUEST_URI': '/admin/pages/richtextpage/add/', 
'SCRIPT_FILENAME': '/var/www/pyx/wsgi.py', 
'SCRIPT_NAME': u'', 
'SCRIPT_URI': 'http://www.perceptyx.com/admin/pages/richtextpage/add/', 
'SCRIPT_URL': '/admin/pages/richtextpage/add/', 
'SERVER_ADDR': '10.232.6.91', 
'SERVER_ADMIN': '[email protected]', 
'SERVER_NAME': 'www.perceptyx.com', 
'SERVER_PORT': '80', 
'SERVER_PROTOCOL': 'HTTP/1.0', 
'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at 
www.perceptyx.com Port 80</address>\n', 
'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 
'mod_wsgi.application_group': 'ip-10-232-6-91.us-west-2.compute.internal|', 
'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': '80', 
'mod_wsgi.process_group': '', 
'mod_wsgi.queue_start': '1395258709342139', 
'mod_wsgi.request_handler': 'wsgi-script', 
'mod_wsgi.script_reloading': '1', 
'mod_wsgi.version': (3, 4), 
'wsgi.errors': <mod_wsgi.Log object at 0x7f073d7aa230>, 
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object 
at 0x7f073d8c6d50>, 
'wsgi.input': <mod_wsgi.Input object at 0x7f073d7aa930>, 
'wsgi.multiprocess': True, 
'wsgi.multithread': True, 
'wsgi.run_once': False, 
'wsgi.url_scheme': 'http', 
'wsgi.version': (1, 0)}>

Reply via email to