Image block in element theme footer throws an error blocking the edit.
Permalink
Hi guys.
I have a problem with my footer. I tried to place an image block underneath the Legal statement block with my logotype in it.
The logotype is a PNG-file with transparency. When I first put the image there it rendered a white rectangle. I then edited the block to see if there was something I missed. I made one adjustment: restrain size and I put the max height to 75.
After that the footer crashed with the following message:
"An unexpected error occured"
"Length of either side cannot be 0 or negative. The size is now 1x0"
I can no longer edit anything in the footer. I tried to go back to earlier versions, but the error is constantly there.
I then tried to edit the image itself from my File repository. Nope... I then tried to delete the image all together. A new error message appears:
"Call to a member function read() on a non-object"
Ahrrgh! I am stuck!!! Any ideas on how to tackle this? Could I delete the block in the Mysql database some how? In what table should I look? There are quite a few....
Thanks in advance...
I have a problem with my footer. I tried to place an image block underneath the Legal statement block with my logotype in it.
The logotype is a PNG-file with transparency. When I first put the image there it rendered a white rectangle. I then edited the block to see if there was something I missed. I made one adjustment: restrain size and I put the max height to 75.
After that the footer crashed with the following message:
"An unexpected error occured"
"Length of either side cannot be 0 or negative. The size is now 1x0"
I can no longer edit anything in the footer. I tried to go back to earlier versions, but the error is constantly there.
I then tried to edit the image itself from my File repository. Nope... I then tried to delete the image all together. A new error message appears:
"Call to a member function read() on a non-object"
Ahrrgh! I am stuck!!! Any ideas on how to tackle this? Could I delete the block in the Mysql database some how? In what table should I look? There are quite a few....
Thanks in advance...
I would like to know the answer to this as well because it has got me once and I ended up deleting and reinstalling (luckily I was at the beginning).
When the problem is that a file isn't there, it would be helpful to know WHICH file!!
When the problem is that a file isn't there, it would be helpful to know WHICH file!!
I have now fixed the problem by deleting the offending block manually from the database. But there must be an easier way! You should not have to hack the database to get your website up and running again!
With me it turned out that replacing the image file was not enough because the original image file had been "replaced" via the menu and it was deleting the file that was supposedly replaced that caused the problem.
But the root of the problem was recovering from an svg image that the system did not like for some reason. Unfortunately instead of letting me edit the offending block, it refused to do anything.
Along the way, I discovered that a feature block is easy to edit via the btfeature table in the database. I wish btimagecontent was just as easy to edit.
With me it turned out that replacing the image file was not enough because the original image file had been "replaced" via the menu and it was deleting the file that was supposedly replaced that caused the problem.
But the root of the problem was recovering from an svg image that the system did not like for some reason. Unfortunately instead of letting me edit the offending block, it refused to do anything.
Along the way, I discovered that a feature block is easy to edit via the btfeature table in the database. I wish btimagecontent was just as easy to edit.
It was the table "Blocks" (as simple as that) :-)
BUT... I stil wonder what happened and how to fix it in a "normal" way, so if anyone has an idea I sure would appreciate it.