TinyMCE HTML Button produces blank screen

336 views
Skip to first unread message

Josh B

unread,
Aug 13, 2012, 2:07:39 AM8/13/12
to mezzani...@googlegroups.com
Stumped on this issue. Not seeing any JS or Python errors. I just upgraded to see if that would fix the issue, but it did not. If anyone has any ideas or suggestions, I am open.

Here is my PIP freeze.

Django==1.4.1
Mezzanine==1.2.1
MySQL-python==1.2.3
PIL==1.1.7
Pillow==1.7.7
South==0.7.5
argparse==1.2.1
bleach==1.1.4
filebrowser-safe==0.2.10
grappelli-safe==0.2.8
gunicorn==0.14.5
html5lib==0.95
psycopg2==2.4.5
pytz==2012d
wsgiref==0.1.2
 
Screen Shot 2012-08-12 at 11.56.17 PM.png

Ken Bolton

unread,
Aug 13, 2012, 8:53:26 AM8/13/12
to mezzani...@googlegroups.com
Is this consistent across browsers/versions? We fixed an issue in IE a
few weeks ago that appeared identical to what you are observing. Can
you replicate it on the demo site? And a fresh installation?

Lorin Hochstein

unread,
Aug 13, 2012, 11:29:53 AM8/13/12
to mezzani...@googlegroups.com
On Aug 13, 2012, at 2:07 AM, Josh B <josh.ba...@wearetopsecret.com> wrote:

Stumped on this issue. Not seeing any JS or Python errors. I just upgraded to see if that would fix the issue, but it did not. If anyone has any ideas or suggestions, I am open.

Josh:

Are you running behind a web server? We faced the same problem when running with gunicorn and nginx with ssl. In our case, we had to set some additional nginx proxy options to get it to do the right thing:

    location  / {
        proxy_redirect        off;
        proxy_set_header      Host             $host;
        proxy_set_header      X-Real-IP        $remote_addr;
        proxy_set_header      X-Forwarded-For  $proxy_add_x_forwarded_for;
        proxy_set_header      X-Forwarded-Protocol   ssl;
        proxy_pass            http://127.0.0.1:8000;
        client_max_body_size  10m;
    }

You can also search for "static_proxy", which relate to how mezzanine proxies the content for TinyMCE to avoid cross-site-scripting blockers. 


Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.




Josh B

unread,
Aug 13, 2012, 9:10:59 PM8/13/12
to mezzani...@googlegroups.com
Thanks Guys. Lorin your solution fixed it for me. I had to take out the "proxy_set_header X-Forwarded-Protocol   ssl;" since I am not running SSL.

Probably need to add this to the docs for other people.

Stephen McDonald

unread,
Aug 14, 2012, 5:15:39 PM8/14/12
to mezzani...@googlegroups.com
Not sure if that was in the nginx.conf provided by Mezzanine at some point, but it's currently the following which should work either way:

proxy_set_header    X-Forwarded-Protocol    $scheme;
--
Stephen McDonald
http://jupo.org

Sachin Shende

unread,
Feb 6, 2013, 7:13:42 PM2/6/13
to mezzani...@googlegroups.com, st...@jupo.org
I was wondering if anyone has an equivalent apache conf settings to fix this issue. I am getting blank html screen when ssl is enabled. Inside virtualhost I have following:
    RequestHeader set X-Forwarded-Proto "https"
    ProxyRequests Off
    ProxyPreserveHost On
    ServerName  www.myservername.com
    
    SSLProxyEngine on
    SSLEngine On
    SSLCertificateFile path_to.crt
    SSLCertificateKeyFile path_to.key

Thanks
Sachin

Benoît Fabre

unread,
Dec 23, 2014, 3:50:49 AM12/23/14
to mezzani...@googlegroups.com, st...@jupo.org
Hi,

sorry to bring up an old topic, but does anyone have solved this issue for apache virtualhost ?
I have similar issue at this adress :

Thanks !
Reply all
Reply to author
Forward
0 new messages