I just installed AcidFree on a server.
After installation and an attempt to create a new album I get this error.
Fatal error: Call to undefined function: acidfree_album_view() in /home/site/public_html/site/v1/sites/all/modules/acidfree/acidfree.module on line 156

The host is running Php 4.4 I think. I get this error when I try to view the node as well as when I submitted a new node.

I just thought I'd report the bug, I'm not sure what is causing it but Acid Free won't work.

Comments

vhmauery’s picture

If that function is undefined, it means that class_album.inc never got included. This could be because it got delete or moved. Otherwise, I can't imagine what happened. The function is defined in class_album.inc.

sds’s picture

Same here -- can't view the node, or add anything to acidfree.

On top of aforementioned error, I'm also getting an error about the following undefined function "_nid_from_tid" (acidfree/acidfree.module on line 1181).

All required acidfree files do reside on the server: I have double checked -- twice. It looks like a PATH problem to me. I've just upgraded a Drupal install (4.7 to 5.2) and moved Drupal into its own directory at the same time. Acidfree was working fine before.

By the way, server is running PHP 4.4.7

vhmauery’s picture

Status: Active » Postponed (maintainer needs more info)

I am not sure what to tell you. It works fine for me, but then again, it bloody well better work for me, I wrote it. :)

But if I cannot reproduce it, I can't fix it. I am running php 5, so that is one difference... Have you cleared out your caches?

mysql> truncate cache; truncate cache_filter; truncate cache_menu; truncate cache_page; truncate cache_views;

Other than that, not sure what to say. For problems like this, sending me the patch that fixes it is the best route to go.

garthee’s picture

Problem with acidfree albums
1. Works fine in my xampp with php 5
2. receiving glob() error in the freeserver i m using to test
3. but not working in my webserver

Solution
1. Enable glob() function as this might be disabled in some servers, (and I suggest acidfree to look for other methods rather than infamous glob() )
2. Second if you have option to choose between or upgrade to php5 use that. Don't use default (when you have php 4 and 5 boht) option as well

1.Finally it works fine in the freeserver(where glob disabled) with a patch made to acidfree.module at line 361 to use alternates
2. Works in mysever, after changing php extensions from Default to PHP5

Hope this helps you

Garthee
www.theebgar.net

brainpeel’s picture

Priority: Normal » Critical

I'm getting "Fatal error: Call to undefined function acidfree_album_view() in /home/www/villaditodi.com/htdocs/sites/all/modules/acidfree/acidfree.module on line 166" when I try to view the gallery. Only cropped up after I updated the module from an eariler 5.x dev (around september 2007) to the current 5.x.

mwheinz’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing. No activity in 2 years.