Closed (fixed)
Project:
File Framework
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2011 at 19:45 UTC
Updated:
4 Aug 2012 at 14:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
Ether commentedUpdate to ARC2 2011-12-01 did not help
Comment #2
johanneshahn commentedDo u Run update.php and installed latest bitcache dev Version?
Comment #3
johanneshahn commentedIf you still have problems
Change adapter column from file2 to file in table bitcache_repositories
And delete File2_adapter.inc
Comment #4
johanneshahn commentedComment #5
Ether commentedYes, I run update.php.
Dev version of bitcache did not help.
Changing adapter column from file2 to file removed WSOD but:
when going to /admin/content/bitcache or /admin/settings/file getting error "The directory does not exist." and do not see any bitstreams. Attempt to download file gives error 404.
Anything else ?
Comment #6
Ether commentedAnd yes, I renamed file2_adapter.inc to file2_adapter.inc_deleted
Comment #7
johanneshahn commentedok
i forgot theres also a function called file_bitcache_adapters() {
in file.module line 283. please remove this function too.
Comment #8
Ether commentedRemoved. Nothing changed.
Comment #9
johanneshahn commentedcan you post me the row from bitcache_repository table
it has to be look like screenshot
Comment #10
Ether commentedAttached.
Comment #11
johanneshahn commentedin the options field there is the missing
path to your bitcache files.
replace the options field in bitcache_repository table with this
a:3:{s:5:"title";s:14:"File framework";s:11:"description";s:50:"A repository for the file framework managed files.";s:8:"location";s:35:"[file-directory-path]/bitcache/file";}Comment #12
Ether commentedOk, I have no "The directory does not exist." error now. But all my saved files return error 404. And I have lost all my bitstreams.
Any way to get them back ? I'm using File Framework repository.
Comment #13
Ether commentedAnything ?
Comment #14
johanneshahn commentedRestore with the backup before u Run this update
Comment #15
johanneshahn commentedComment #16
justin.hopkins commentedI was able to reproduce this. Not by choice or with intent mind you, but I did have this problem. The fixes you suggested did work, namely:
* Removing file_bitcache_adapters() from fileframework/file.module
* Changing file2 to file in the bitcache_repositories table
* Replacing the contents of the options column for the file adapter in bitcache_repositories tables
Comment #17
Ether commentedAnd run update.php after ?
Comment #18
johanneshahn commentedrun update is not needed.
Comment #19
johanneshahn commentedfixed in first stable
Comment #20
four99 commentedBUMP...
Still having this issue with current stable releases of Bitcache/FileFramework/RDF
Same error:
Fatal error: Cannot redeclare class Bitcache_FileStream in /home/wsadmin/public_html/home/sites/all/modules/bitcache/adapters/file.inc on line 305
Comment #21
johanneshahn commentedhi,
im currently working on that issue.
to solve this temporally remove on of the class class Bitcache_FileStream
in /bitcache/adapters/file.inc or fileframework.
Comment #22
johanneshahn commentedfixed?
reopen if still