Bug 863905 - Caught "Database Error" when trying to access drupal and wordpress application.
Summary: Caught "Database Error" when trying to access drupal and wordpress application.
Keywords:
Status: CLOSED DUPLICATE of bug 861064
Alias: None
Product: OKD
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-08 03:03 UTC by Yujie Zhang
Modified: 2015-05-15 02:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-08 13:11:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
drupal error (141.92 KB, image/png)
2012-10-08 03:03 UTC, Yujie Zhang
no flags Details
wordpress error (60.38 KB, image/png)
2012-10-08 03:04 UTC, Yujie Zhang
no flags Details

Description Yujie Zhang 2012-10-08 03:03:50 UTC
Created attachment 623251 [details]
drupal error

Description of problem:

After I created a drupal application and wordpress application, I tried to access them , but I caught "Database Error".

Version-Release number of selected component (if applicable):
devenv_2295

How reproducible:always


Steps to Reproduce:
1.Go to openshift website and login
2.Create a drupal application and a wordpress application
3.Try to access the applications
  
Actual results:

Caught "Database Error" when tring to access drupal application and wordpress application.
The error message of drupal application is as following:

Error
The website encountered an unexpected error. Please try again later.
Error message

    Notice: Undefined index: OPENSHIFT_DB_USERNAME in include_once() (line 186 of /var/lib/openshift/941db442dde645b4ad112a3f8274fe10/app-root/runtime/repo/php/sites/default/settings.php).
    Notice: Undefined index: OPENSHIFT_DB_PASSWORD in include_once() (line 187 of /var/lib/openshift/941db442dde645b4ad112a3f8274fe10/app-root/runtime/repo/php/sites/default/settings.php).
    Notice: Undefined index: OPENSHIFT_DB_HOST in include_once() (line 188 of /var/lib/openshift/941db442dde645b4ad112a3f8274fe10/app-root/runtime/repo/php/sites/default/settings.php).
    Notice: Undefined index: OPENSHIFT_DB_PORT in include_once() (line 189 of /var/lib/openshift/941db442dde645b4ad112a3f8274fe10/app-root/runtime/repo/php/sites/default/settings.php).
    PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in lock_may_be_available() (line 164 of /var/lib/openshift/941db442dde645b4ad112a3f8274fe10/app-root/runtime/repo/php/includes/lock.inc).

The error message of wordpress application is as following:

Error establishing a database connection

Details see in attachment.


Expected results:

The drupal application and wordpress applications should be accessed successfully.

Additional info:

Comment 1 Yujie Zhang 2012-10-08 03:04:27 UTC
Created attachment 623252 [details]
wordpress error

Comment 2 Dan McPherson 2012-10-08 13:11:39 UTC

*** This bug has been marked as a duplicate of bug 861064 ***


Note You need to log in before you can comment on or make changes to this bug.