By gmvasey on
My site has suddenly lost its theme and I have restored back ups of the database etc. to no avail.
Message says
* warning: init_theme(./themes/engines/phptemplate/phptemplate.engine) [function.init-theme]: failed to open stream: No such file or directory in /home/www/utilipointeuropeblog.com/drupal/includes/theme.inc on line 78.
* warning: init_theme() [function.include]: Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/usr/local/php4/lib/php') in /home/www/utilipointeuropeblog.com/drupal/includes/theme.inc on line 78.
Can anyone help???
Comments
It looks like you are missing
It looks like you are missing the phptemplate folder, which should be in the themes/engines folder (not sites/all/themes/engines). Check to see if it's not there. If it's missing, download the version of Drupal you are using, and put that folder in there.
Contact me to contract me for D7 -> D10/11 migrations.
Same problem here, but solved...
I had the same error message until I went into Site Building>>Themes>>Configure, and both in the actual theme and Global settings I had to redo all the checkboxes, because for some reason they lost their values in the database. The reason the site pops up without your theme is that Drupal checks on each page load which theme elements to load (logo, footer, slogan, etc...) Enable everything, save the configuration, re-upload the theme just to make sure it has all files, and re-select the theme in Site Building>>Themes. The same thing also happened to me when I moved a theme from a multisite site's own theme folder into all/themes.