Closed (works as designed)
Project:
Sunflower
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
4 Jun 2006 at 17:50 UTC
Updated:
4 Jun 2006 at 18:03 UTC
after i load the sunflower theme (into my themes directory) and set Sunflower as my default theme, i lose my drupal system completely. in particular, the following error is produced:
Fatal error: Call to undefined function: theme_onload_attribute() in /Volumes/www/my_domain.com/drupal/themes/sunflower/sunflower.theme on line 41
...after which is completely fffff'ed! becasue no drupal page is available - not even the theme management page which would otherwise allow me to reset to default theme. the only way to recover from this is to go into the database and manually reset the theme values. not fun.
any idea what is causing this?
best,
shea sie
Comments
Comment #1
TDobes commentedYou need to use the 4.7 version of sunflower with Drupal 4.7.x. You're using the 4.6 version of sunflower, which calls theme_onload_attribute().
Ensure that the second line of your sunflower.theme file states that you have version 1.25.
FYI: Misbehaving themes can be disabled by simply deleting the theme files or moving them away into a temporary directory elsewhere.
Comment #2
TDobes commentedFor some reason, Drupal.org is listing sunflower 4.6 as the latest release. It you go to "view other releases", you'll find a 4.7 version. This sounds like a project.module bug.
Anyway, here's the link you want: http://ftp.osuosl.org/pub/drupal/files/projects/sunflower-4.7.0.tar.gz