I just installed Drupal to my website. I ran the install script & all that. However, there's no theme on the page, and I'm getting this error message:

warning: init_theme(./themes/engines/phptemplate/phptemplate.engine) [function.init-theme]: failed to open stream: No such file or directory in /home/sigweb/public_html/includes/theme.inc on line 78.
warning: init_theme() [function.include]: Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/usr/lib/php') in /home/sigweb/public_html/includes/theme.inc on line 78.

Any idea what's going on, or how I can fix it?

Thanks in advance!!

Comments

cog.rusty’s picture

Check if the file themes/engines/phptemplate/phptemplate.engine
- exists in exactly that subdirectory under Drupal's directory
- looks undamaged (for example not zero length and doesn't contain garbage)
- has permissions at least 644 so that the server can read it.

As it happens with all required core files, if it has been moved elsewhere (for example under sites/) it won't work.

MissMaria’s picture

Ahh, that was the problem. The error message made no sense to me- thanks for helping me decode it! Everything's working now :)