Note: I haven’t been able to confirm the following on demo.cs-cart.com because that doesn’t allow me to create an HTML Block. Could someone test this on their 2.0.12 install, please?
The bug: SQL-like words that may appear in your HTML Block content can trigger a 500 Internal Server Error on Block Edit Save. The bug only happens under very unique circumstances:
[QUOTE]sometext SELECT sometext FROM sometext[/QUOTE]
So, If my HTML Block text reads:
[QUOTE]Select an item from a category…[/QUOTE]
saving the block will throw the 500 error.
CS-Cart has the “sixth sense.”
Can I get a price check on aisle 3? Seriously, could someone test an HTML block with “Select an item from a category” in the body of the block? I don’t want to submit a bug ticket if this is only a problem with my install.
Can you be a little more clear on how you have your block set up? I can’t seem to duplicate what you are talking about, but without knowing the exact steps you took I don’t think I will be able to duplicate it.
It’s pretty simple:
- Go to admin/design/blocks
- Add block
- Set “Block Content” to HTML block
- Add a block name
- Put this in the “Block text” field: Select an item from a category
- Click “Create”
In my 2.0.12 install, I get a 500 error.
I can’t seem to be able to duplicate the problem.
The new block is in the top left
This is using 2.0.12 without too many modifications.
Thanks for testing it. Looks like I must have something funky going on with my install.
I wish I could help you there, but that is definitely getting outside of my knowledge. Hopefully someone else might have some ideas.