Editing blocks giving errors

Permalink
Hi
I have few sites build in C5 and they all using the same theme. I was trying to edit something on one of the site today and when I click on save, it gives me error popup saying "javascript disabled error" and 100's line of code.

I am using the same theme (nuron) for all the sites and all the sites giving me same errors.

Please help!

 
JohntheFish replied on at Permalink Reply
JohntheFish
Is JavaScript enabled in your browser?
sumeetwork replied on at Permalink Reply
Yes, it's enabled.
JohntheFish replied on at Permalink Reply
JohntheFish
It may help if you can post a screengrab of the whole browser window with the error showing.
sumeetwork replied on at Permalink Reply 1 Attachment
Please have a look at the attached image
JohntheFish replied on at Permalink Reply
JohntheFish
I suspect your error is arising from the c5 core passing html (that would include javascript) back to the browser in a broken state. Perhaps missing tags or quotes, in a way that the dialog in the browser sees the javascript part as text, not as javascript.

If its not specific to saving just one block, I would look at any special block templates you have developed or provided by your theme, for things like mis-matched tags, unclosed quotes, or other poorly formed html.
sumeetwork replied on at Permalink Reply
got it..

I have changed my .htaccess file for SEO purpose but then I don't know how to make both work. Everytime I have to change the .htaccess file to make updated and then put the SEO one back.

.htaccess contents:

# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule (.*)https://%{HTTP_HOST}%{REQUEST_URI}... [L,R=301]
## hide the following two lines when editing content in C5
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$http://www.legalwise.co.za/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --