Closed (cannot reproduce)
Project:
Acidfree Albums
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2008 at 21:31 UTC
Updated:
16 Jan 2011 at 22:26 UTC
Hi,
using acidfree module, a theme function theme_acidfree_print_thumb_acidfree can't be found by the theme system.
When theme() tries to look it up using theme_get_function() it only receives an FALSE.
Shortening the function name solves the problem permanently.
A one-time solution is to clear the menu cache (sic!). Then the function is found during the next page call which will rebuild the menu cache and then on the next page call the function isn't found again.
???
Comments
Comment #1
crischan commentedUpdate:
On my live server, shortening the problem did not solve the problem.
Changing theme.inc, line 166 from
if (!isset($functions[$function])) {toif (!($functions[$function])) {fixes this though.Comment #2
dvessel commentedIsn't this an issue with acid free then? Not enough information to really decipher the problem. There are other modules like views that can have very long function names and it has never been an issue.
Comment #3
vhmauery commentedCRiSCHAN,
I need you to post specific instructions on how to reproduce this problem. I cannot seem to create it on my site. Please include instructions on beginning from a newly installed drupal site.
Comment #4
crischan commentedI'll try pinning it down after this week, as I'll be busy meeting some deadlines till next tuesday.
Comment #5
mwheinz commentedCan't reproduce.