I have a new Drupal 6 site and was in the process of checking out various themes. I've enabled four themes without issue, but when ever I attempt to enable 'newswire' I get the following error:
Fatal error: require_once() [function.require]: Failed opening required './sites/all/themes/newswire/theme-settings.php' (include_path='.:/usr/share/php:/usr/share/pear') in .../modules/system/system.admin.inc on line 514

If I set the Newswire theme to the default theme, it takes the site down.
I noticed there was no thumbnail image of the theme in the admin/build/themes list.

The logs report the following errors:
include_once(./sites/all/themes/newswire/template.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /var/www/wso/themes/engines/phptemplate/phptemplate.engine on line 15.
include_once() [<a href='function.include'>function.include</a>]: Failed opening './sites/all/themes/newswire/template.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in .../themes/engines/phptemplate/phptemplate.engine on line 15.

The site was installed using Drush, as were all modules and themes.
I have the following modules installed:
advanced_help, globalredirect, imagecache, path_redirect, token, wysiwyg, backup_migrate, image, img_assist, pathauto, views, better_formats, imageapi, kaltura, skinr, and wp2drupal

Comments

Jeff Burnz’s picture

Hmmm, wondering if this is a permissions issue, I had some real weird permission issues a while ago.

kpm’s picture

it does look like it... but i've never experienced it before with the multitudes of themes i have downloaded in the past. So thought I should post here in case its a bug...

Jeff Burnz’s picture

The problem we had was the packing script that Drupal runs when it generates the archive for the theme, it was doing strange things with permissions for some of the files in this theme, took me ages to figure out why people were having strange issues like this, I thought it was fixed but I will download it and check them.

kpm’s picture

Yes, it certainly is a permissions issue. I changed permissions recursively on the newswire theme directory to match the other themes I have (chmod -R newswire 755). Then I could access and it worked. I grabbed the directory again using Drush, and that killed the site again, until I changed permissions again. So, if it has to do with the other issue mentioned here about permissions and CVS messing with them, well, then I guess that support request needs to be changed from 'fixed' to active again. ???

Thanks

SKrossa’s picture

I just experienced the same problem with freshly downloaded newswire theme, and fixed it by recursively changing permissions for newswire directory to 755

venusrising’s picture

We just starting getting this error too anyone have any idea how to fix this? It is referring from Elysia cron