HI,
I'm interested to use the acidfree functionnality to my 1st drupal site (I'm very excited to discover drupal and the community). I went through the installation process (filemanager and acidfree), patched filemanager with the acidfree patch etc..
Acidfree creates the albums, seems to upload the files correctly but the system doesn't access the pictures. See screenshot.
Any ideas? I will try again from scratch tomorrow anyway. Thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | filemanager_1.module | 23.33 KB | zirafi |
| Picture 3.png | 271.92 KB | 1zero |
Comments
Comment #1
vhmauery commentedI just committed a bunch of updates. The code should be repacked and available in about 12 hours. Try again. Take note that you will have to RE-PATCH the original filemanager sources with the new filemanager-acidfree.patch. Let me know if this helps. I have also updated the README.
Comment #2
zirafi commentedAcidfree did not work for me and it causes the following error one the module is enable.
warning: Invalid argument supplied for foreach() in /var/apache2/www/modules/acidfree.module on line 113.
warning: array_keys() [function.array-keys]: The first argument should be an array in /var/apache2/www/modules/acidfree.module on line 189.
warning: Invalid argument supplied for foreach() in /var/apache2/www/modules/acidfree.module on line 189.
Here are the steps i've done:
1. Install filemanger module and attachment module prior to download the Acidfree module
2. Untar the Acidfree module file into a downloads directory
3. cd to "/var/apache2/www/modules" to apply the patch like this:
# patch -p0 filemanager.module < /export/home/rm111832/downloads/acidfree/filemanager-acidfree.patch
Looks like a unified context diff.
done
#
4. Add the db tables:
/mysql -u root -p mydatabse < /export/home/myhome/downloads/acidfree/acidfree.mysql
5. Copy the acidfree.module file to /var/apache2/www/modules
6. Try to enable the module and the browser comes up with the above errors.
Comment #3
zirafi commentedI tried to disable this module and my test site comes up with white page except these lines:
warning: Invalid argument supplied for foreach() in /var/apache2/www/modules/acidfree.module on line 113.
warning: array_keys() [function.array-keys]: The first argument should be an array in /var/apache2/www/modules/acidfree.module on line 189.
warning: Invalid argument supplied for foreach() in /var/apache2/www/modules/acidfree.module on line 189.
warning: Cannot modify header information - headers already sent by (output started at /var/apache2/www/includes/common.inc:384) in /var/apache2/www/includes/common.inc on line 192.
i removed acidfree.module from modules dir. to get my site back.
thanks
Comment #4
vhmauery commentedYou can't just copy acidfree.module to the modules dir. Acidfree depends on more than just that one file. You must put the entire acidfree directory in the modules dir. Try that and see if it works for you. The reason it is saying array_keys is having problems is because it couldn't find any class_*.inc files that were acidfree image/video/album class files.
Comment #5
zirafi commentedYes, i thought so. I wanted make sure before moving whole acidfree dir. to modules dir. of Drupal. Now acidfree is configured fine and all the errors on browser are gone. But i've problem in uploading images. I will post the error in the respective thread.
Thanks
Comment #6
vhmauery commentedI just posted some additions to acidfree. Either download the latest version from my website
(http://vernon.mauery.com/projects/acidfree/4.6/acidfree-4.6.tar.gz) or get it from http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/acidfree/acidfree.module?rev=1.2.2.26
The addition I would like you to see is the built-in self-test function. Direct your browser to the acidfree/test page and you will see the results of the test. It will help with directions to fix any problems it finds. If that doesn't fix you problem, I will add a test that discovers your problem when we figure it out. That way, future
users will benefit from this bug.
I really hate answering the same question over and over, so I wrote the self test. It tests all the problems I could think of that I have answered in the recent past. So maybe it will help with yours.
Comment #7
vhmauery commentedIt appears that this support request has been filled. So I am closing it. I just can't deal with idle bugs/requests in my list. So if I closed it prematurely, reopen it and give me something new to work with.
Comment #8
1zero commentedThanks for you great work VH. I will come back to your module in a near future using the new files you provided.