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

TDobes’s picture

Assigned: sheasie » TDobes
Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (works as designed)

You 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.

TDobes’s picture

For 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