I've tried to install the current safe version of OpenChurch on a Media Temple Dedicated Virtual server. I've gotten through the install process until it actually installs the site but that's when it stops. I get the following errors:

Warning: file_put_contents(public:///.htaccess): failed to open stream: "DrupalPublicStreamWrapper::stream_open" call failed in file_create_htaccess() (line 505 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/includes/file.inc).
Warning: file_put_contents(public:///.htaccess): failed to open stream: "DrupalPublicStreamWrapper::stream_open" call failed in file_create_htaccess() (line 505 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/includes/file.inc).
Notice: Undefined property: stdClass::$uri in file_save() (line 573 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/includes/file.inc).
Notice: Undefined property: stdClass::$filemime in media_is_type() (line 196 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).
Notice: Undefined property: stdClass::$uri in media_is_type() (line 209 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).
Notice: Undefined property: stdClass::$filemime in media_is_type() (line 196 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).
Notice: Undefined property: stdClass::$uri in media_is_type() (line 209 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).
Notice: Undefined property: stdClass::$filemime in media_is_type() (line 196 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).
Notice: Undefined property: stdClass::$uri in media_is_type() (line 209 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).
Notice: Undefined property: stdClass::$filemime in media_is_type() (line 196 of /var/www/vhosts/washingtonbaptistchurch.org/httpdocs/profiles/openchurch/modules/contrib/media/includes/media.types.inc).

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'uri'

I'm new to Drupal in general and I've had a lot of success with OpenChurch running in my localhost on my computer but I can't seem to get it to work on a live server. I contacted my host and they don't actually offer support for installing drupal distros but tried to help, they said it was a permissions issue.

Anyone ever had these issues or am I skipping something before install that I need? I've successfully created the database so that shouldn't be the problem. (Also, I'm not sure if this is the correct place to post this or not)

Comments

jamesacoker’s picture

Assigned: jamesacoker » Unassigned
Code Monkey’s picture

I am guessing, but it appears that you have some file permissions or file ownership problems. These problems are not allowing the files to be created or opened.

jamesacoker’s picture

Status: Active » Fixed

I managed to figure it out. I extracted the folder into the root and it worked fine. I was trying to extract the files in and it gave me the error.

drupalninja99’s picture

What version are you using 1.10 or 2x dev? 2x dev is only for testing.

jamesacoker’s picture

I'm using 1.10 but I got it to work.

Status: Fixed » Closed (fixed)

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