X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

Unable to recover a session

Được đăng

My firefox crashed and I guess it reset itself or something because when I opened it, the restore session option just came up blank. There were no pages to restore or anything. Anyways, I used Recuva and I have the recovery.bak file with all my lost tabs/windows in it. But I can't find any way to restore it.

I've tried renaming the recovery.bak to sessionstore.bak and replacing the file, but that didn't work. I've also tried editing all of the restore & session files with that as well. But when I open firefox, it comes up with the main homepage and the session restore option comes up, but that's blank! So it's still not restoring my pages. I don't know what to do and I could really use some help.

Thanks.

My firefox crashed and I guess it reset itself or something because when I opened it, the restore session option just came up blank. There were no pages to restore or anything. Anyways, I used Recuva and I have the recovery.bak file with all my lost tabs/windows in it. But I can't find any way to restore it. I've tried renaming the recovery.bak to sessionstore.bak and replacing the file, but that didn't work. I've also tried editing all of the restore & session files with that as well. But when I open firefox, it comes up with the main homepage and the session restore option comes up, but that's blank! So it's still not restoring my pages. I don't know what to do and I could really use some help. Thanks.

Được chỉnh sửa bởi PinkWoods vào

Chi tiết hệ thống bổ sung

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36

Thông tin chi tiết

Application Basics
------------------
Name: Firefox
Version: 43.0.4
Build ID: 20160105164030
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Multiprocess Windows: 0/1 (default: false)
Safe Mode: false
Crash Reports for the Last 3 Days
---------------------------------
All Crash Reports
Extensions
----------
Name: Avast Online Security
Version: 10.3.3.13
Enabled: true
ID: wrc@avast.com
Name: Session Manager
Version: 0.8.1.8
Enabled: true
ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30}
Name: Adobe Acrobat - Create PDF
Version: 1.2
Enabled: false
ID: web2pdfextension@web2pdf.adobedotcom
Graphics
--------
Adapter Description: Intel(R) HD Graphics 4600
Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
Adapter RAM: Unknown
Asynchronous Pan/Zoom: none
Device ID: 0x0416
Direct2D Enabled: true
DirectWrite Enabled: true (6.3.9600.17111)
Driver Date: 10-1-2013
Driver Version: 10.18.10.3316
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
Subsys ID: 1962103c
Supports Hardware H264 Decoding: No; DXVA2D3D9 crashes detected in the past
Vendor ID: 0x8086
WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote: true
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
(#0) Error: DXVA2D3D9 video decoding is disabled due to a previous crash.
Important Modified Preferences
------------------------------
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 1
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 7
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20160105164030
browser.startup.homepage: about:home
browser.startup.homepage_override.buildID: 20160105164030
browser.startup.homepage_override.mstone: 43.0.4
dom.apps.reset-permissions: true
dom.ipc.plugins.enabled.nptnt2.dll: false
dom.mozApps.used: true
extensions.lastAppVersion: 43.0.4
font.internaluseonly.changed: false
gfx.crash-guard.d3d11layers.appVersion: 43.0.4
gfx.crash-guard.d3d11layers.deviceID: 0x0416
gfx.crash-guard.d3d11layers.driverVersion: 10.18.10.3316
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle: true
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle: true
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11: false
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp: false
gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.d3d9video: 3
gfx.crash-guard.status.glcontext: 2
gfx.direct3d.last_used_feature_level_idx: 0
gfx.driver-init.appVersion: 42.0
gfx.driver-init.deviceID: 0x0416
gfx.driver-init.driverVersion: 10.18.10.3316
gfx.driver-init.feature-d2d: true
gfx.driver-init.feature-d3d11: true
gfx.driver-init.status: 2
media.gmp-eme-adobe.abi: x86-msvc
media.gmp-eme-adobe.lastUpdate: 1447720472
media.gmp-eme-adobe.version: 15
media.gmp-gmpopenh264.abi: x86-msvc
media.gmp-gmpopenh264.lastUpdate: 1451493142
media.gmp-gmpopenh264.version: 1.5.3
media.gmp-manager.buildID: 20160105164030
media.gmp-manager.lastCheck: 1452820857
media.hardware-video-decoding.failed: false
media.youtube-ua.override.to: 43
network.auth.allow-subresource-auth: 2
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1452441070
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
print.printer_Adobe_PDF.print_bgcolor: false
print.printer_Adobe_PDF.print_bgimages: false
print.printer_Adobe_PDF.print_colorspace:
print.printer_Adobe_PDF.print_command:
print.printer_Adobe_PDF.print_downloadfonts: false
print.printer_Adobe_PDF.print_duplex: 1515870810
print.printer_Adobe_PDF.print_edge_bottom: 0
print.printer_Adobe_PDF.print_edge_left: 0
print.printer_Adobe_PDF.print_edge_right: 0
print.printer_Adobe_PDF.print_edge_top: 0
print.printer_Adobe_PDF.print_evenpages: true
print.printer_Adobe_PDF.print_footercenter:
print.printer_Adobe_PDF.print_footerleft: &PT
print.printer_Adobe_PDF.print_footerright: &D
print.printer_Adobe_PDF.print_headercenter:
print.printer_Adobe_PDF.print_headerleft: &T
print.printer_Adobe_PDF.print_headerright: &U
print.printer_Adobe_PDF.print_in_color: true
print.printer_Adobe_PDF.print_margin_bottom: 0.5
print.printer_Adobe_PDF.print_margin_left: 0.5
print.printer_Adobe_PDF.print_margin_right: 0.5
print.printer_Adobe_PDF.print_margin_top: 0.5
print.printer_Adobe_PDF.print_oddpages: true
print.printer_Adobe_PDF.print_orientation: 0
print.printer_Adobe_PDF.print_page_delay: 50
print.printer_Adobe_PDF.print_paper_data: 0
print.printer_Adobe_PDF.print_paper_height: 11.00
print.printer_Adobe_PDF.print_paper_name:
print.printer_Adobe_PDF.print_paper_size_type: 1
print.printer_Adobe_PDF.print_paper_size_unit: 0
print.printer_Adobe_PDF.print_paper_width: 8.50
print.printer_Adobe_PDF.print_plex_name:
print.printer_Adobe_PDF.print_resolution: 1515870810
print.printer_Adobe_PDF.print_resolution_name:
print.printer_Adobe_PDF.print_reversed: false
print.printer_Adobe_PDF.print_scaling: 1.00
print.printer_Adobe_PDF.print_shrink_to_fit: true
print.printer_Adobe_PDF.print_to_file: false
print.printer_Adobe_PDF.print_unwriteable_margin_bottom: 0
print.printer_Adobe_PDF.print_unwriteable_margin_left: 0
print.printer_Adobe_PDF.print_unwriteable_margin_right: 0
print.printer_Adobe_PDF.print_unwriteable_margin_top: 0
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1451030270
ui.osk.debug.keyboardDisplayReason: IKPOS: Rotation sensor not found.
Important Locked Preferences
----------------------------
JavaScript
----------
Incremental GC: true
Accessibility
-------------
Activated: true
Prevent Accessibility: 0
Library Versions
----------------
NSPR
Expected minimum version: 4.10.10
Version in use: 4.10.10
NSS
Expected minimum version: 3.20.2 Basic ECC
Version in use: 3.20.2 Basic ECC
NSSSMIME
Expected minimum version: 3.20.2 Basic ECC
Version in use: 3.20.2 Basic ECC
NSSSSL
Expected minimum version: 3.20.2 Basic ECC
Version in use: 3.20.2 Basic ECC
NSSUTIL
Expected minimum version: 3.20.2
Version in use: 3.20.2
Experimental Features
---------------------

FredMcD
  • Top 10 Contributor
4247 giải pháp 59412 câu trả lời
Được đăng

You may have corrupt sessionstore file(s).

Type about:support in the address bar and press enter.

Under the page logo on the left side you will see Application Basics. Under this find Profile Folder. To it’s right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Locate the sessionstore file(s). Then rename or delete them. Restart Firefox.

You may have corrupt '''sessionstore''' file(s). Type '''about:support''' in the address bar and press enter. Under the page logo on the left side you will see '''Application Basics.''' Under this find '''Profile Folder.''' To it’s right press the button '''Show Folder.''' This will open your file browser to the current Firefox profile. Now '''Close Firefox.''' Locate the '''sessionstore''' file(s). Then rename or delete them. Restart Firefox.
cor-el
  • Top 10 Contributor
  • Moderator
17479 giải pháp 157962 câu trả lời
Được đăng

You will normally find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

See also:

You will normally find these files in the sessionstore-backups folder: previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully) recovery.js (latest version of the sessionstore written during runtime) recovery.bak (previous version of the sessionstore written during runtime) upgrade.js-<build_id> (backup created during an upgrade of Firefox) You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js). See also: *http://www.ghacks.net/2014/06/27/mozilla-launches-improved-session-restore-firefox-33/

Người tạo câu hỏi

cor-el said

You will normally find these files in the sessionstore-backups folder: previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully) recovery.js (latest version of the sessionstore written during runtime) recovery.bak (previous version of the sessionstore written during runtime) upgrade.js-<build_id> (backup created during an upgrade of Firefox) You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

As I said above, I've already tried this and it didn't make any difference when I reopened FireFox. That's my issue. This option isn't working.

''cor-el [[#answer-831609|said]]'' <blockquote> You will normally find these files in the sessionstore-backups folder: previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully) recovery.js (latest version of the sessionstore written during runtime) recovery.bak (previous version of the sessionstore written during runtime) upgrade.js-<build_id> (backup created during an upgrade of Firefox) You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js). </blockquote> As I said above, I've already tried this and it didn't make any difference when I reopened FireFox. That's my issue. This option isn't working.

Người tạo câu hỏi

FredMcD said

You may have corrupt sessionstore file(s). Type about:support in the address bar and press enter. Under the page logo on the left side you will see Application Basics. Under this find Profile Folder. To it’s right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox. Locate the sessionstore file(s). Then rename or delete them. Restart Firefox.

That didn't make any change either.

''FredMcD [[#answer-831605|said]]'' <blockquote> You may have corrupt '''sessionstore''' file(s). Type '''about:support''' in the address bar and press enter. Under the page logo on the left side you will see '''Application Basics.''' Under this find '''Profile Folder.''' To it’s right press the button '''Show Folder.''' This will open your file browser to the current Firefox profile. Now '''Close Firefox.''' Locate the '''sessionstore''' file(s). Then rename or delete them. Restart Firefox. </blockquote> That didn't make any change either.
cor-el
  • Top 10 Contributor
  • Moderator
17479 giải pháp 157962 câu trả lời
Được đăng

You need to rename recovery.bak to sessionstore.js to make Firefox use this file. You may have to check "History > Recently Closed Tabs/Windows"

See also Emergency Firefox Session Restore:

You need to rename recovery.bak to sessionstore.js to make Firefox use this file. You may have to check "History > Recently Closed Tabs/Windows" See also Emergency Firefox Session Restore: *https://firefox-session-restore.herokuapp.com/

Người tạo câu hỏi

See, I get the restore previous session option but when I click it, either nothing happens or I get this page.

But this is the file it should be reading this and these are the files that it should be restoring.

https://mega.nz/#!bsQmSTqA (this is the a file containing what's inside of the sessionstore.bak file. It was too big/long to upload to pastebin. :( )

See, I get the restore previous session option but when I click it, either nothing happens or I get this page. But this is the file it should be reading this and these are the files that it should be restoring. https://mega.nz/#!bsQmSTqA (this is the a file containing what's inside of the sessionstore.bak file. It was too big/long to upload to pastebin. :( )

Người tạo câu hỏi

cor-el said

You need to rename recovery.bak to sessionstore.js to make Firefox use this file. You may have to check "History > Recently Closed Tabs/Windows" See also Emergency Firefox Session Restore:

That's what I'VE BEEN DOING. That's what I've said like 3 times now... It's not working!!

I will check that link though and give that a try. Hold on.

(edit) It says "An error occured, please reload the page and try again"whenever I try to upload the contents of the file...

''cor-el [[#answer-831631|said]]'' <blockquote> You need to rename recovery.bak to sessionstore.js to make Firefox use this file. You may have to check "History > Recently Closed Tabs/Windows" See also Emergency Firefox Session Restore: *https://firefox-session-restore.herokuapp.com/ </blockquote> That's what I'VE BEEN DOING. That's what I've said like 3 times now... It's not working!! I will check that link though and give that a try. Hold on. (edit) It says "An error occured, please reload the page and try again"whenever I try to upload the contents of the file...

Được chỉnh sửa bởi PinkWoods vào

cor-el
  • Top 10 Contributor
  • Moderator
17479 giải pháp 157962 câu trả lời
Được đăng

Sounds that the file is corrupted if both Firefox and the website isn't able to process the file.

You can try to open the file in Firefox or in the Scratchpad for inspection. In the Scratchpad you can click the "Pretty Print" button. A JSON file is a plain text file without any line breaks. You can compare the file with a working file.

See also some posts in this MozillaZine forum thread about inspecting a sessionstore file and extracting URLs.

Sounds that the file is corrupted if both Firefox and the website isn't able to process the file. You can try to open the file in Firefox or in the Scratchpad for inspection. In the Scratchpad you can click the "Pretty Print" button. A JSON file is a plain text file without any line breaks. You can compare the file with a working file. See also some posts in this MozillaZine forum thread about inspecting a sessionstore file and extracting URLs. *http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60&p=12098147#p12098147 *http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=45&p=10768811#p10768811

Người tạo câu hỏi

cor-el said

See also Emergency Firefox Session Restore:

Now this site isn't working... I get this error,

Application Error An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

''cor-el [[#answer-831631|said]]'' <blockquote> See also Emergency Firefox Session Restore: *https://firefox-session-restore.herokuapp.com/ </blockquote> Now this site isn't working... I get this error, Application Error An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details.
cor-el
  • Top 10 Contributor
  • Moderator
17479 giải pháp 157962 câu trả lời
Được đăng

If the website isn't working then you can try other ways described in this thread.

A possible way to inspect a sessionstore.js file or a file in the sessionstore-backups folder is opening the file in a Firefox tab and evaluate this JavaScript code in the Web Console (Firefox/Tools > Web Developer). Paste the code in the command line of the Web Console and press the Enter key to evaluate the code. This will only work if the file isn't corrupted. If the file is corrupted then you have have to use other means like searching for specific data. You can check the mozillaZine forum thread I mentioned in my above reply.


eval("ss = "+document.body.innerHTML.replace("<pre>","").replace("</pre>",""));
sd='';
for (var i = 0; i < ss.windows[0].tabs.length; i++) {
 var ent = ss.windows[0].tabs[i].entries;
 var last = ent[ent.length-1];
 sd+="["+(i+1)+"]:"+"<a href="+last.url+">"+last.url+"</a><br />";
}
document.body.innerHTML=sd;
If the website isn't working then you can try other ways described in this thread. A possible way to inspect a sessionstore.js file or a file in the sessionstore-backups folder is opening the file in a Firefox tab and evaluate this JavaScript code in the Web Console (Firefox/Tools > Web Developer). Paste the code in the command line of the Web Console and press the Enter key to evaluate the code. This will only work if the file isn't corrupted. If the file is corrupted then you have have to use other means like searching for specific data. You can check the mozillaZine forum thread I mentioned in my above reply. *[[/questions/1104793#answer-831919]] ---- <pre><nowiki>eval("ss = "+document.body.innerHTML.replace("<pre>","").replace("</pre>","")); sd=''; for (var i = 0; i < ss.windows[0].tabs.length; i++) { var ent = ss.windows[0].tabs[i].entries; var last = ent[ent.length-1]; sd+="["+(i+1)+"]:"+"<a href="+last.url+">"+last.url+"</a><br />"; } document.body.innerHTML=sd;</nowiki></pre>

Được chỉnh sửa bởi cor-el vào

Người tạo câu hỏi

cor-el said

If the website isn't workink the you can try other way described in this thread....

Yeah... I checked there and I don't understand a single things that I read... I'm so lost and confused...

''cor-el [[#answer-833359|said]]'' <blockquote> If the website isn't workink the you can try other way described in this thread.... </blockquote> Yeah... I checked there and I don't understand a single things that I read... I'm so lost and confused...