News:

AbanteCart v1.4.2 is released.

Main Menu

Can't delete a block

Started by Ollie, September 20, 2014, 11:32:14 PM

Previous topic - Next topic

Ollie

I created a block which I don't really need. I tried to delete it, but it says it can't be deleted because it's in use. I checked all layouts and I don't see any reference to this block. When it tried to turn it off, it says it's NOT in use. I don't understand the contradiction or why I cannot delete it.
Assistive technologies for people with special needs:
https://assistech.com/store/

Basara

Quote from: Ollie on September 20, 2014, 11:32:14 PM
I created a block which I don't really need. I tried to delete it, but it says it can't be deleted because it's in use. I checked all layouts and I don't see any reference to this block. When it tried to turn it off, it says it's NOT in use. I don't understand the contradiction or why I cannot delete it.

Hello.

First off all clear AbanteCart cache. After cache clearing go to layout section and check all template layouts with Block Name.
Then try to delete it again. If error still occur please post latest errors from AbanteCart error log.
Also do you have fresh installed AbanteCart or upgraded version (fresh installed 1.1.9 or upgraded 1.1.8 to 1.1.9)?

Ollie

Quote from: Basara on September 22, 2014, 02:05:52 AM
First off all clear AbanteCart cache. After cache clearing go to layout section and check all template layouts with Block Name.
Then try to delete it again. If error still occur please post latest errors from AbanteCart error log.
Also do you have fresh installed AbanteCart or upgraded version (fresh installed 1.1.9 or upgraded 1.1.8 to 1.1.9)?
I tried again after clearing cache, and got this error message: "Can't delete because this block is in use. Please visit Layout section." I checked the system messages and there was none. Where can I find the error log?

I'm using a fresh install of 1.1.9.
Assistive technologies for people with special needs:
https://assistech.com/store/

Basara

If you need to report a problem or post a question about some problem in AbanteCart, developers on the forum might ask about last record of errors in the error log.

Error log can be accessed with 2 different methods.

1. Admin Error Log can be accessed at Admin -> System -> Logs -> Error Log.

2. In case you can not access admin you can locate error log directly in the file /system/logs/error.txt

Do not post all the errors or warnings from your log. Try to point only exact error record(s) that is related to the question or problem you report.

Ollie

#4
App Error:  AbanteCart core v.1.1.9 Error: Cannot delete cache file: /home/xxxxx/public_html/store/system/cache/admin_menu/_vti_cnf! Check file or directory permissions. in /home/xxxxx/public_html/store/core/lib/cache.php on line 289

I deleted _vti_cnf!
Line 289 of cache.php reads: $error = new AError($err_text);
Still getting the same error.
Assistive technologies for people with special needs:
https://assistech.com/store/

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Ollie

Quote from: abolabo on September 23, 2014, 04:25:54 AM
Quote from: Ollie on September 22, 2014, 08:39:49 PM
Still getting the same error.

with the same path?

No, it's a different path: App Error:  AbanteCart core v.1.1.9 Error: Cannot delete cache file: /home/xxxx/public_html/store/system/cache/admin_menu/_vti_cnf! Check file or directory permissions. in /home/xxxx/public_html/store/core/lib/cache.php on line 289

I already deleted _vti_cnf and keep getting the same error.
Assistive technologies for people with special needs:
https://assistech.com/store/

Forum Rules Code of conduct
AbanteCart.com 2010 -