hi everybody

i would like to use acidfree for mass import media files..
i use drupal 4.7.0, and have an acidfree 4.7.0 but in the modules only filemanager 4.6.0 or filemnager cvs exist, so what should i do now?

filemanager cvs version doesnt work with acidfree 4.0.7...

Comments

annabug’s picture

AcidFree doesn't seem to want to recognize FileManager CVS or 4.6 when using it with Drupal 4.7. I've tried both. So I'm responding to this comment in hopes of bumping it and maybe finding an answer? Any help is more than appreciated.

Thank you.

-- Anna

annabug’s picture

Right after I posted the above, I continued to screw around with things and finally got it to work! YES!

Here's what I did.

1. I have Drupal 4.7 , Acid Free 4.7 and Filemanager CVS installed

2. AcidFree and FileManager are both enabled on my modules list.

3. Then I went into SETTINGS --> FileManager. It gave me an error that 'private' did not exist. Once I created this directory in my ./files/ directory and again on my drupal root, things are working SWIMMINGLY!

I hope this helps out others!

-- Anna

avolve’s picture

I have just installed acidfree to play with and i get the following error message

user warning: Unknown column 'share' in 'field list' query: SELECT class,large,small,thumb,weight,visited,votes,share FROM acidfree WHERE aid = 17 in ...drupal/includes/database.mysql.inc on line 120.

anyone have similar problems???

Any advice?

avolve designs | ethical by design

janit0r’s picture

"[...] anyone have similar problems???"
Yeah, just this morning I ran into that same user warning. I think that I rushed through the acidfree and file manager module installations and I forgot to update the database at some key point. Anyway, this is how I sorted it out:

Following comment #5 here:
http://drupal.org/node/81539

I ran update.php and selected '2' from the acidfree drop down menu. This didn't work because the share column was already present in the acidfree table in my mysql database.

When I went to add acidfree content I received an error about a missing database table named 'file'. Running update.php for the file manager module didn't remedy the problem, so I compared my new database with a previous working database and I found the missing 'file' table. I exported 'file' from the working database, imported it into my new database and now the acidfree and file manager modules are working properly.

I imported the following SQL Dump into my database (some identifying information has been changed):

-- phpMyAdmin SQL Dump
-- version 2.8.0.3
-- http://www.phpmyadmin.net
-- 
-- Host: mysql.domain.topleveldomain
-- Generation Time: Sep 21, 2006 at 09:46 AM
-- Server version: 5.0.18
-- PHP Version: 4.4.2
-- 
-- Database: `thenameofthedrupaldatabase`
-- 

-- --------------------------------------------------------

-- 
-- Table structure for table `file`
-- 

CREATE TABLE `file` (
  `fid` int(10) unsigned NOT NULL,
  `area` varchar(255) NOT NULL,
  `directory` tinyint(3) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `mimetype` varchar(255) NOT NULL,
  `size` int(12) NOT NULL,
  `active` char(1) NOT NULL,
  `working` char(1) NOT NULL,
  `private` char(1) NOT NULL,
  PRIMARY KEY  (`fid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
glyphman’s picture

I did what anna bug said and created the dir myself...still didn't work, I had to go in and set the read/write permissions to everyone, just make sure that private is writable to everyone