support

Author Topic: Can't delete a block  (Read 13529 times)

Offline Ollie

  • Sr. Member
  • ****
  • Posts: 253
  • Karma: +28/-1
    • View Profile
    • Assistech
Can't delete a block
« 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.
Assistive technologies for people with special needs:
https://assistech.com/store/

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6157
  • Karma: +286/-2
    • View Profile
Re: Can't delete a block
« Reply #1 on: September 22, 2014, 02:05:52 AM »
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)?

Offline Ollie

  • Sr. Member
  • ****
  • Posts: 253
  • Karma: +28/-1
    • View Profile
    • Assistech
Re: Can't delete a block
« Reply #2 on: September 22, 2014, 06:02:48 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/

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6157
  • Karma: +286/-2
    • View Profile
Re: Can't delete a block
« Reply #3 on: September 22, 2014, 06:10:33 AM »
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.

Offline Ollie

  • Sr. Member
  • ****
  • Posts: 253
  • Karma: +28/-1
    • View Profile
    • Assistech
Re: Can't delete a block
« Reply #4 on: September 22, 2014, 08:39:49 PM »
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.
« Last Edit: September 22, 2014, 08:49:57 PM by Ollie »
Assistive technologies for people with special needs:
https://assistech.com/store/

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2188
  • Karma: +350/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Can't delete a block
« Reply #5 on: September 23, 2014, 04:25:54 AM »
Still getting the same error.

with the same path?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Ollie

  • Sr. Member
  • ****
  • Posts: 253
  • Karma: +28/-1
    • View Profile
    • Assistech
Re: Can't delete a block
« Reply #6 on: September 24, 2014, 01:03:02 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/

 

Powered by SMFPacks Social Login Mod