Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am getting a fatal error when I lick the configure link. So I am unable to configure the theme settings. I tried reinstalling to no avail. Please offer some advice.
ERROR:
Fatal error: Call to undefined function phptemplate_default_theme_settings() in /home/public_html/drupal/themes/acquia_slate/theme-settings.php on line 35
Comment | File | Size | Author |
---|---|---|---|
#3 | template.php.txt | 32.43 KB | rajaito |
Comments
Comment #1
rajaito CreditAttribution: rajaito commentedAlso I am not sure if this helps, but below is a list of error I was getting on the blocks admin page in reference to the themes, but then I switched to Marvin as the default and back to Acquia Slate the errors on the blocks page went away.
I still am receiving the Fatal error on line 35 though.
* warning: include_once(themes/chameleon/marvin/template.php) [function.include-once]: failed to open stream: No such file or directory in /home/familymo/public_html/bassface/themes/acquia_slate/theme-settings.php on line 34.
* warning: include_once() [function.include]: Failed opening 'themes/chameleon/marvin/template.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/familymo/public_html/bassface/themes/acquia_slate/theme-settings.php on line 34.
* warning: include_once(themes/chameleon/marvin/template.php) [function.include-once]: failed to open stream: No such file or directory in /home/familymo/public_html/bassface/themes/acquia_slate/theme-settings.php on line 34.
* warning: include_once() [function.include]: Failed opening 'themes/chameleon/marvin/template.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/familymo/public_html/bassface/themes/acquia_slate/theme-settings.php on line 34.
* warning: include_once(themes/chameleon/marvin/template.php) [function.include-once]: failed to open stream: No such file or directory in /home/familymo/public_html/bassface/themes/acquia_slate/theme-settings.php on line 34.
* warning: include_once() [function.include]: Failed opening 'themes/chameleon/marvin/template.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/familymo/public_html/bassface/themes/acquia_slate/theme-settings.php on line 34.
Comment #2
jwolf CreditAttribution: jwolf commentedLine 42 of template.php has the phptemplate_default_theme_settings() function. Please verify that you have template.php, that the function exists in template.php, that you have not enabled page caching, and you cleared cached data under the Performance section of Drupal administration: /admin/settings/performance or Administer > Performance
Additionally, please check the permissions of the theme's files on your server.
Comment #3
rajaito CreditAttribution: rajaito commentedThank you,
I confirm that I have template.php in the Acquia Slate theme folder.
I have attached the template.php file I have uploaded to my site.
I confirm that cache is disabled and the cache data is cleared.
Comment #4
rajaito CreditAttribution: rajaito commentedupdate:
I switched my admin theme to chameleon, the marvin template errors are no more, but I am still getting the Fatal error when trying to configure Acquia Slate
Fatal error: Call to undefined function phptemplate_default_theme_settings() in /home/public_html/drupal/themes/acquia_slate/theme-settings.php on line 35
thank you for your help
Comment #5
jwolf CreditAttribution: jwolf commentedI tried a fresh install of Drupal, activated Acquia Slate and do not have any problems; I can not reproduce this.
Please check the permissions of the theme's files on your server; make sure that they are all world readable.
Comment #6
illepic CreditAttribution: illepic commentedI experienced this error as well but have fixed it. In my case, I had included the acquia_slate theme at /sites/all/themes. It appears that in a recent Acquia Drupal update, they have now included acquia_slate at /themes by default. Having both of these was causing errors. So back up your /sites/all/themes/acquia_slate directory (for any custom css you might have), delete it and make sure you're only using /themes/acquia_slate.
Comment #7
rajaito CreditAttribution: rajaito commentedyes this happened right after the last update.
But alas, I am not using: /sites/all/themes/
I have only installed the theme at: /themes/acquia_slate
Comment #8
rajaito CreditAttribution: rajaito commentedHey jwolf & illepic, thanks for your help with this. Please be patient with me. This is my first real attempt at producing a site with Drupal. Overall I am really impressed with the capability and support Drupal has. What makes me nervous is the only problems I have had, only came after installing the required updates. I am hoping I can get the few issues I am having worked out so I can really be a part of the Drupal Community.
------------------
My fresh install of Drupal and Acquai Slate did not have the fatal error problem either.
However, when I recently updated from Drupal 6.10 to 6.12, and updated Acquia Slate to 6.x-2.x-dev, the error and another major error with ImageCache Profiles became evident. (You can see my issue with IC.P. here: http://drupal.org/node/482630). Because I already had everything working together nicely, and both problems happened right after running the updates, I can't help but wonder if they are somehow connected.
The last thing you asked me to do was to "check the permissions of the theme's files on your server". I have done so, and the permissions are set at 755 (which appears to be "world-readable")
Please let me know what else I can do? I feel a little lost here.
Comment #9
stephthegeek CreditAttribution: stephthegeek commentedUgh, this is indeed a new bug introduced in this release when you have an administration theme enabled. Working on it.
Comment #10
jwolf CreditAttribution: jwolf commented@rajaito - Are you using a different theme for the administration of Drupal? Administration theme? If you disable the admin theme, does the problem go away?
Comment #11
jwolf CreditAttribution: jwolf commentedComment #12
jwolf CreditAttribution: jwolf commentedThis has been fixed as of dev-snapshot dated June 7 2009
Thanks for reporting this.
Comment #13
rajaito CreditAttribution: rajaito commentedthank you!