[WorksForMe] Filters reset on browser close - Firefox

Posting here is no longer possible, please use the corresponding product forum.
Locked
Sakkyun
Posts: 4
Joined: Wed Apr 18, 2012 2:29 am

[WorksForMe] Filters reset on browser close - Firefox

Post by Sakkyun »

I have the similar problem as the OP in this thread, except I'm using Firefox and my ABP version is 2.0.3.

I attempted the fix found here but I can't remove the patterns.ini file because it's "open in System." I also don't have a patterns-backupN.ini file.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Filters reset on browser close - Firefox

Post by mapx »

you must CLOSE firefox (firefox is blocking your file)

delete patterns.ini (better if you login like administrator)

then (if you dont see backup files)I uploaded for you a patterns.ini file:

http://www.mediafire.com/?e7x1d25qdg87q37
Wladimir Palant

Re: Filters reset on browser close - Firefox

Post by Wladimir Palant »

This is typically an issue with the file permissions, they got corrupted somehow. Easiest solution is removing the adblockplus directory in your Firefox profile. On next Firefox start this directory will be created again and everything will hopefully work correctly then.
Sakkyun
Posts: 4
Joined: Wed Apr 18, 2012 2:29 am

Re: Filters reset on browser close - Firefox

Post by Sakkyun »

I tried both mapx's method and removing the entire directory, neither worked.
Wladimir Palant

Re: Filters reset on browser close - Firefox

Post by Wladimir Palant »

Could you copy "chrome://adblockplus/content/errors.html" (without the quotation marks) into the location bar and see whether it shows any errors?
Sakkyun
Posts: 4
Joined: Wed Apr 18, 2012 2:29 am

Re: Filters reset on browser close - Firefox

Post by Sakkyun »

You are running Adblock Plus 2.0.4b.3451, build 3451.

Errors related to Adblock Plus:
Error: No data in the file

Location: chrome://adblockplus-modules/content/FilterStorage.jsm line 381
Wladimir Palant

Re: Filters reset on browser close - Firefox

Post by Wladimir Palant »

Sakkyun wrote:I attempted the fix found here but I can't remove the patterns.ini file because it's "open in System."
Oh, I overlooked that. Well, that's the source of your issue. Some application on your computer locked the patterns.ini file and prevents it from being changed. You can probably figure out which one it is that using the handle utility but it is not trivial. But maybe you can simply rename the file (e.g. into "patterns.ini.bak) instead of removing it.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Filters reset on browser close - Firefox

Post by mapx »

if blocked you cant rename it

you could use a simple utility, unlocker to see who blocks and unblock the file you need

the last is 1.9.1, I'm using 1.8.5 : http://www.filehippo.com/download_unlocker/

with unlocker installed, right click on the file and choose unlocker ..
Last edited by mapx on Fri May 04, 2012 3:59 pm, edited 1 time in total.
Wladimir Palant

Re: Filters reset on browser close - Firefox

Post by Wladimir Palant »

mapx wrote:if blocked you cant rename it
On NTFS you very often can.
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Filters reset on browser close - Firefox

Post by lewisje »

Wladimir Palant wrote:
mapx wrote:if blocked you cant rename it
On NTFS you very often can.
This is true; anyway, if Unlocker doesn't work (it doesn't seem to do anything in Windows 7 64-bit), try LockHunter: http://lockhunter.com/
Then you can right-click the file and choose "What's locking this file?"
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Sakkyun
Posts: 4
Joined: Wed Apr 18, 2012 2:29 am

Re: Filters reset on browser close - Firefox

Post by Sakkyun »

The problem seems to have gone away since the new update. Thanks for your help guys.
Locked