Cannot Add HTML Content
Permalink
This is a problem that progressively got worse to the point where I'm at 100% of the time it not working. When I add a block and choose HTML, whatever I enter, when I hit "Add" I am brought to a blank page. Absolutely nothing on it. Viewing the source code shows... nothing, not even <html>.
Formerly, hitting refresh would sometimes fix it (and initially, I didn't even have this problem). I didn't upgrade c5 or anything, but it got to the point where for HTML blocks, I can't add them.
I tailed Apache's error logs and there were no errors. I event turned on error reporting for php errors in .htaccess and still no errors. I keep firebug open for all of this and see no errors. I tailed the access logs and noticed nothing is being requested nor served upon hitting "Add". Interestingly enough, when I try this in Opera, I get "Connection closed by remote server".
I have multiple sites on this server, others running php and only this site is experiencing any issues.
Formerly, hitting refresh would sometimes fix it (and initially, I didn't even have this problem). I didn't upgrade c5 or anything, but it got to the point where for HTML blocks, I can't add them.
I tailed Apache's error logs and there were no errors. I event turned on error reporting for php errors in .htaccess and still no errors. I keep firebug open for all of this and see no errors. I tailed the access logs and noticed nothing is being requested nor served upon hitting "Add". Interestingly enough, when I try this in Opera, I get "Connection closed by remote server".
I have multiple sites on this server, others running php and only this site is experiencing any issues.

in the block's folder make sure all the files are there it might be missing one.
I just double-checked and all the files are there. Given that I didn't have the problem before, it makes sense that missing files isn't the culprit.
Now a further development, again without changing any of the code. The only thing I did was try to delete the cache files.
Now instead of consistently 100% of the time going to blank, I now get
Fatal error: Call to undefined function class_exists() in /var/www/vhosts/staging.vanderstahl.com/httpdocs/concrete/libraries/loader.php on line 372
half the time.
Now instead of consistently 100% of the time going to blank, I now get
Fatal error: Call to undefined function class_exists() in /var/www/vhosts/staging.vanderstahl.com/httpdocs/concrete/libraries/loader.php on line 372
half the time.
Update: it seems deleting the cache files, then restarting apache did the trick. I don't know why, but I'm happy to be able to work on my site again.