Blank screen when editing content block
Permalink
I am new to Concrete5 and have recently installed 2 different websites on 2 shared hosting accounts. On the first, I am able to edit content blocks with TinyMCE. On the second site, the system hangs on a blank screen when trying to bring up TinyMCE, similar to this issue:http://www.concrete5.org/index.php?cID=21733.... The first site has a c5 root directory of /domain/c5 and in the second, I made the c5 root the same as the domain root, /domain.
In the FF log file, there is an error about jQuery is not defined at line 159 in ccm.dialog.js. This is followed by 2 tinymce is not defined errors.
As a side note, after the initial install of the second site, the system puts you into the system-created example site and I was able to use tinyMCE in that site. It was only after logging out and logging back in to the site that the tinyMCE error occurred.
I think this is a problem with redirection and I have struggled with redirect rules in .htaccess. When editing a content block, the URL includes something like /index.php?cID=123 and I suspect that this is conflicting with a rewrite rule I have. I would like to understand this a bit better. Is there any documentation / information about the URLs generated by c5 and passed back to the system for display?
Thanks for any help.
In the FF log file, there is an error about jQuery is not defined at line 159 in ccm.dialog.js. This is followed by 2 tinymce is not defined errors.
As a side note, after the initial install of the second site, the system puts you into the system-created example site and I was able to use tinyMCE in that site. It was only after logging out and logging back in to the site that the tinyMCE error occurred.
I think this is a problem with redirection and I have struggled with redirect rules in .htaccess. When editing a content block, the URL includes something like /index.php?cID=123 and I suspect that this is conflicting with a rewrite rule I have. I would like to understand this a bit better. Is there any documentation / information about the URLs generated by c5 and passed back to the system for display?
Thanks for any help.
Also be careful that you're not using php's header function incorrectly somewhere. I've seen tiny_mce break in this way when the header function is used in /single_pages
Is there any clear solution to this issue?
bdburns and ria - i had this same issue a few months ago on a site i was working on...I think it was on GoDaddy. Unfortunately, I don't remember what caused it. If either you have a link and wouldn't mind sending me the login to your c5 site, I'd be glad to take a look. I'm thinking I was able to figure it out pretty quickly...I don't remember what it was :(
In case anybody else runs into this issue: I get this error when I forget to activate my theme under Dashboard >Pages & Themes.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !(index\.php)
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>