Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Sync Unknown Error: forms failed: ReferenceError: dbConnection is not defined

  • 1 svar
  • 1 har detta problem
  • 2 visningar
  • Senaste svar av guigs

more options

I have never had success with Firefox sync and it's getting really frustrating. The sync log appears to fail at this line:

Sync.ErrorHandler DEBUG forms failed: ReferenceError: dbConnection is not defined (resource://gre/modules/FormHistory.jsm:407:4) JS Stack trace: dbCreateAsyncStatement@FormHistory.jsm:407:5 < makeSearchStatement@FormHistory.jsm:274:10 < formHistorySearch@FormHistory.jsm:781:16 < FormWrapper._searchSpinningly@forms.js:51:5 < FormStore.prototype.getAllIDs@forms.js:149:19 < SyncEngine.prototype._syncStartup@engines.js:919:22 < SyncEngine.prototype._sync@engines.js:1518:7 < WrappedNotify@util.js:148:21 < Engine.prototype.sync@engines.js:668:5 < _syncEngine@enginesync.js:199:7 < sync@enginesync.js:149:15 < onNotify@service.js:1295:7 < WrappedNotify@util.js:148:21 < WrappedLock@util.js:103:16 < _lockedSync@service.js:1285:12 < sync/<@service.js:1277:14 < WrappedCatch@util.js:77:16 < sync@service.js:1265:5

any ideas how to fix?

Thanks.

I have never had success with Firefox sync and it's getting really frustrating. The sync log appears to fail at this line: Sync.ErrorHandler DEBUG forms failed: ReferenceError: dbConnection is not defined (resource://gre/modules/FormHistory.jsm:407:4) JS Stack trace: dbCreateAsyncStatement@FormHistory.jsm:407:5 < makeSearchStatement@FormHistory.jsm:274:10 < formHistorySearch@FormHistory.jsm:781:16 < FormWrapper._searchSpinningly@forms.js:51:5 < FormStore.prototype.getAllIDs@forms.js:149:19 < SyncEngine.prototype._syncStartup@engines.js:919:22 < SyncEngine.prototype._sync@engines.js:1518:7 < WrappedNotify@util.js:148:21 < Engine.prototype.sync@engines.js:668:5 < _syncEngine@enginesync.js:199:7 < sync@enginesync.js:149:15 < onNotify@service.js:1295:7 < WrappedNotify@util.js:148:21 < WrappedLock@util.js:103:16 < _lockedSync@service.js:1285:12 < sync/<@service.js:1277:14 < WrappedCatch@util.js:77:16 < sync@service.js:1265:5 any ideas how to fix? Thanks.

Vald lösning

Hi deeptii, Thank you for reporting this issue. This is an issue that we saw in a Nightly version and has been fixed. What the error means is that the database is not accessible on the local computer's Firefox profile folder.

In order to check the permissions on the Firefox profile folder you can go to:

  1. Open a new window in Firefox and click on the Firefox Menu.
  2. Click on the question mark at the bottom of the menu
  3. Next click on the 'Troubleshooting' information and a new tab should load called about:support
  4. From here there is a button next to "Profile Folder", this will open up the directory where the profile folder is. If its not showing: Profiles - Where Firefox stores your bookmarks, passwords and other user data
  5. Right click on the folder and click "Properties". From this menu make sure that it is not set to "Read Only" (This may be a bit different in Windows 10 please search the Microsoft help if this is no longer in this menu)
  6. Restart Firefox, does the error come up again?

The other work around is to delete this folder in the profile: formhistory.sqlite (This file contains form filled content, simply removing it from the directory will create a new profile as well when you restart Firefox, if there is a concern for dataloss )

Please also post back with these results as well as please copy the information that appears in the about:support page.

Thank you!

Läs svaret i sitt sammanhang 👍 0

Alla svar (1)

more options

Vald lösning

Hi deeptii, Thank you for reporting this issue. This is an issue that we saw in a Nightly version and has been fixed. What the error means is that the database is not accessible on the local computer's Firefox profile folder.

In order to check the permissions on the Firefox profile folder you can go to:

  1. Open a new window in Firefox and click on the Firefox Menu.
  2. Click on the question mark at the bottom of the menu
  3. Next click on the 'Troubleshooting' information and a new tab should load called about:support
  4. From here there is a button next to "Profile Folder", this will open up the directory where the profile folder is. If its not showing: Profiles - Where Firefox stores your bookmarks, passwords and other user data
  5. Right click on the folder and click "Properties". From this menu make sure that it is not set to "Read Only" (This may be a bit different in Windows 10 please search the Microsoft help if this is no longer in this menu)
  6. Restart Firefox, does the error come up again?

The other work around is to delete this folder in the profile: formhistory.sqlite (This file contains form filled content, simply removing it from the directory will create a new profile as well when you restart Firefox, if there is a concern for dataloss )

Please also post back with these results as well as please copy the information that appears in the about:support page.

Thank you!