I am new to Drupal and may be missing something obvious, but I am recieving the following error when applying the bluemasters theme (though other complex themes such as "Grunge" seem to work):
"Fatal error: Call to undefined function upload_load() in /public_html/drupal/themes/bluemasters/node.tpl.php on line 31"
Looking at the code on that line in node.tpl gives the function definition: $files = upload_load(node_load($nid)
When setting the theme as default the admin section seems to re-theme, but the main page errors as above without fully loading. The only related Drupal documentation I could find is here:http://drupal.org/node/128878. I am running Drupal v6.20
Thanks for your help, and if I can provide any more info let me know!
Dave
Comments
Comment #1
wack0 CreditAttribution: wack0 commentedI fixed this by enabling the Upload module
Comment #2
madsailor CreditAttribution: madsailor commentedThanks for the help wack0. Enabling the Upload module fixed the error and the theme seems to be *partly* loading now. On to changing font size and adding images to the JS area on the frontpage after digging through some more tuts & docs to figure out how.
Comment #3
skounis CreditAttribution: skounis commentedComment #4
skounis CreditAttribution: skounis commentedThe code that cause this issue was an experimental attempt to handle attachments automatically. Was removed.
Other unnecessary code from node.tpl was removed.
New node.tpl committed to HEAD
Comment #5
skounis CreditAttribution: skounis commentedfixed in version 1.1
Comment #6
skounis CreditAttribution: skounis commented