Bug 827322

Summary: Caught Error when visiting the url of drupal template application.
Product: OKD Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Clayton Coleman <ccoleman>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-01 08:18:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yujie Zhang 2012-06-01 06:27:59 UTC
Description of problem:

I created a drupal template application, and tried to visit the url of the application, caught the following error.

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

int.openshift.redhat.com

How reproducible:

always

Steps to Reproduce:
1.Go to openshift and login
2.Create drupal template application
3.Try to visit the url of this application
  
Actual results:

I caught the following error:

Notice: Undefined index: OPENSHIFT_DB_USERNAME in include_once() (line 186 of /var/lib/stickshift/88a741f3f9534f2ea33609c86f0a14bc/app-root/runtime/repo/php/sites/default/settings.php).
    Notice: Undefined index: OPENSHIFT_DB_PASSWORD in include_once() (line 187 of /var/lib/stickshift/88a741f3f9534f2ea33609c86f0a14bc/app-root/runtime/repo/php/sites/default/settings.php).
    Notice: Undefined index: OPENSHIFT_DB_HOST in include_once() (line 188 of /var/lib/stickshift/88a741f3f9534f2ea33609c86f0a14bc/app-root/runtime/repo/php/sites/default/settings.php).
    Notice: Undefined index: OPENSHIFT_DB_PORT in include_once() (line 189 of /var/lib/stickshift/88a741f3f9534f2ea33609c86f0a14bc/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' (2) in lock_may_be_available() (line 164 of /var/lib/stickshift/88a741f3f9534f2ea33609c86f0a14bc/app-root/runtime/repo/php/includes/lock.inc).


Expected results:

The page of drupal template application should be correct.

Additional info:

Comment 1 Xiaoli Tian 2012-06-01 08:18:37 UTC

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