This forum is no longer active. Please post your questions to our new community site

Forums Drupal

Configuring themes breaks Drupal on ami-6222ca0b

Subscribe to Configuring themes breaks Drupal on ami-6222ca0b 6 post(s), 3 voice(s)

 
Avatar boatswain 4 post(s)

I’m seeing the following error using the AMI bitnami-cloud/drupal/bitnami-drupal-6.17-0-linux-ubuntu-10.04
(aka ami-6222ca0b)on Amazon.

I’ve made no config changes to Drupal.

When I try to configure any of the stock theme colors (e.g. /drupal/admin/build/themes/settings/minnelli) , I get the following error on the confirmation page.

  • The configuration options have been saved.
  • The directory sites/default/files/color/minnelli-ae623cb5 has been created.
  • warning: fopen() [function.fopen]: Filename cannot be empty in /opt/bitnami/apps/drupal/htdocs/includes/file.inc on line 788.
  • The file could not be created.
  • warning: fopen() [function.fopen]: Filename cannot be empty in /opt/bitnami/apps/drupal/htdocs/includes/file.inc on line 788.
  • The file could not be created.

From this point on, that theme is broken – it looks like the CSS is missing.

Otherwise it works fine. Thanks for the great AMI’s and any help!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Other Drupal users have the same issue http://drupal.org/node/110916
There are posted some workarounds, could you try them?

 
Avatar boatswain 4 post(s)

I tried the following from that page:

Commented out the following two lines in /sites/default/files/.htaccess:

  1. Options None
  2. Options +FollowSymLinks

sudo /opt/bitnami/ctlscript.sh restart apache

I checked php.ini and it says:

safe_mode = Off
memory_limit = 128M

but the error still occurs. :(

This is the file list under /opt/bitnami/apps/drupal/htdocs/sites/default

ls alR
.:
total 36
dr-xr-xr-x 3 daemon root 4096 2010-06-21 14:17 .
drwxr-xr-x 4 daemon root 4096 2010-06-21 14:16 ..
-rw-r
-r— 1 daemon root 9485 2009-09-14 12:59 default.settings.php
drwxr-xr-x 3 daemon root 4096 2010-07-21 23:29 files
r-r—r— 1 daemon root 9503 2010-06-21 14:16 settings.php

./files:
total 16
drwxr-xr-x 3 daemon root 4096 2010-07-21 23:29 .
dr-xr-xr-x 3 daemon root 4096 2010-06-21 14:17 ..
drwxrwxr-x 4 daemon daemon 4096 2010-07-21 23:30 color
rw-rw-r- 1 daemon daemon 96 2010-07-21 23:29 .htaccess

./files/color:
total 16
drwxrwxr-x 4 daemon daemon 4096 2010-07-21 23:30 .
drwxr-xr-x 3 daemon root 4096 2010-07-21 23:29 ..
drwxrwxr-x 2 daemon daemon 4096 2010-07-21 23:30 garland-8b86754a
drwxrwxr-x 2 daemon daemon 4096 2010-07-20 02:06 minnelli-ae623cb5

./files/color/garland-8b86754a:
total 84
drwxrwxr-x 2 daemon daemon 4096 2010-07-21 23:30 .
drwxrwxr-x 4 daemon daemon 4096 2010-07-21 23:30 ..
rw-rw-r- 1 daemon daemon 151 2010-07-21 23:30 bg-bar.png
rw-rw-r- 1 daemon daemon 133 2010-07-21 23:30 bg-bar-white.png
rw-rw-r- 1 daemon daemon 2364 2010-07-21 23:30 bg-content-left.png
rw-rw-r- 1 daemon daemon 297 2010-07-21 23:30 bg-content.png
rw-rw-r- 1 daemon daemon 2273 2010-07-21 23:30 bg-content-right.png
rw-rw-r- 1 daemon daemon 449 2010-07-21 23:30 bg-navigation-item-hover.png
rw-rw-r- 1 daemon daemon 499 2010-07-21 23:30 bg-navigation-item.png
rw-rw-r- 1 daemon daemon 104 2010-07-21 23:30 bg-navigation.png
rw-rw-r- 1 daemon daemon 119 2010-07-21 23:30 bg-tab.png
rw-rw-r- 1 daemon daemon 229 2010-07-21 23:30 body.png
rw-rw-r- 1 daemon daemon 207 2010-07-21 23:30 gradient-inner.png
rw-rw-r- 1 daemon daemon 4321 2010-07-21 23:30 logo.png
rw-rw-r- 1 daemon daemon 176 2010-07-21 23:30 menu-collapsed.gif
rw-rw-r- 1 daemon daemon 176 2010-07-21 23:30 menu-collapsed-rtl.gif
rw-rw-r- 1 daemon daemon 183 2010-07-21 23:30 menu-expanded.gif
rw-rw-r- 1 daemon daemon 175 2010-07-21 23:30 menu-leaf.gif
rw-rw-r- 1 daemon daemon 6868 2010-07-21 23:30 screenshot.png

./files/color/minnelli-ae623cb5:
total 84
drwxrwxr-x 2 daemon daemon 4096 2010-07-20 02:06 .
drwxrwxr-x 4 daemon daemon 4096 2010-07-21 23:30 ..
rw-rw-r- 1 daemon daemon 146 2010-07-20 02:06 bg-bar.png
rw-rw-r- 1 daemon daemon 133 2010-07-20 02:06 bg-bar-white.png
rw-rw-r- 1 daemon daemon 2354 2010-07-20 02:06 bg-content-left.png
rw-rw-r- 1 daemon daemon 294 2010-07-20 02:06 bg-content.png
rw-rw-r- 1 daemon daemon 2263 2010-07-20 02:06 bg-content-right.png
rw-rw-r- 1 daemon daemon 449 2010-07-20 02:06 bg-navigation-item-hover.png
rw-rw-r- 1 daemon daemon 499 2010-07-20 02:06 bg-navigation-item.png
rw-rw-r- 1 daemon daemon 96 2010-07-20 02:06 bg-navigation.png
rw-rw-r- 1 daemon daemon 119 2010-07-20 02:06 bg-tab.png
rw-rw-r- 1 daemon daemon 225 2010-07-20 02:06 body.png
rw-rw-r- 1 daemon daemon 199 2010-07-20 02:06 gradient-inner.png
rw-rw-r- 1 daemon daemon 4321 2010-07-20 02:06 logo.png
rw-rw-r- 1 daemon daemon 176 2010-07-20 02:06 menu-collapsed.gif
rw-rw-r- 1 daemon daemon 176 2010-07-20 02:06 menu-collapsed-rtl.gif
rw-rw-r- 1 daemon daemon 183 2010-07-20 02:06 menu-expanded.gif
rw-rw-r- 1 daemon daemon 175 2010-07-20 02:06 menu-leaf.gif
rw-rw-r- 1 daemon daemon 6862 2010-07-20 02:06 screenshot.png

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Everything seem scorrect. Not sure if it is a theme issue. Could you install a different theme?

 
Avatar boatswain 4 post(s)

These are the six default themes that come with Drupal6 in that Bitnami release – BlueMarine, Chameleon, Garland, Marvin, Minelli and Pushbutton.

I’ll try installing some others. I haven’t made any changes to the Bitnami image at all so I’m confused why others aren’t reporting this.

 
Avatar danoo Administrator 81 post(s)

Have you found out what was the issue. I started the same ami a minute ago and everything works fine.

Forums Drupal