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

CommentFileSizeAuthor
#3 template.php.txt32.43 KBrajaito
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rajaito’s picture

Status: Postponed (maintainer needs more info) » Active

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

jwolf’s picture

Status: Active » Postponed (maintainer needs more info)

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

rajaito’s picture

Status: Active » Postponed (maintainer needs more info)
FileSize
32.43 KB

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

rajaito’s picture

Status: Postponed (maintainer needs more info) » Active

update:

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

jwolf’s picture

Status: Active » Postponed (maintainer needs more info)

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

illepic’s picture

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

rajaito’s picture

yes 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

rajaito’s picture

Assigned: rajaito » Unassigned
Status: Postponed (maintainer needs more info) » Active

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

stephthegeek’s picture

Component: User interface » Code
Category: support » bug
Priority: Normal » Critical

Ugh, this is indeed a new bug introduced in this release when you have an administration theme enabled. Working on it.

jwolf’s picture

Status: Active » Postponed (maintainer needs more info)

@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?

jwolf’s picture

Status: Postponed (maintainer needs more info) » Active
jwolf’s picture

Status: Active » Fixed

This has been fixed as of dev-snapshot dated June 7 2009

Thanks for reporting this.

rajaito’s picture

thank you!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.