Bug 1139632

Summary: Blank page returns when create own cloud quickstart with php-5.3
Product: OpenShift Online Reporter: Wenjing Zheng <wzheng>
Component: TemplatesAssignee: Andy Goldstein <agoldste>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jokerman, mmccomas, qixuan.wang
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-10 00:51:15 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 Wenjing Zheng 2014-09-09 11:12:55 UTC
Description:
Blank page returns for own cloud quickstart with php-5.3, succeed with php-5.4:
[root@ip-10-179-190-45 ownphp]# rhc tail owncloud
==> app-root/logs/mysql.log <==
140909 10:33:44 InnoDB: highest supported file format is Barracuda.
140909 10:33:44  InnoDB: Waiting for the background threads to start
140909 10:33:45 InnoDB: 5.5.37 started; log sequence number 1595675
140909 10:33:45 [Note] Server hostname (bind-address): '127.12.199.130'; port: 3306
140909 10:33:45 [Note]   - '127.12.199.130' resolves to '127.12.199.130';
140909 10:33:45 [Note] Server socket created on IP: '127.12.199.130'.
140909 10:33:45 [Warning] 'proxies_priv' entry '@ root@ip-10-179-190-45' ignored in --skip-name-resolve mode.
140909 10:33:45 [Note] Event Scheduler: Loaded 0 events
140909 10:33:45 [Note] /opt/rh/mysql55/root/usr/libexec/mysqld: ready for connections.
Version: '5.5.37'  socket: '/var/lib/openshift/540f0f459236cbfd4c0001fe/mysql//socket/mysql.sock'  port: 3306  MySQL Community Server (GPL)
==> app-root/logs/php.log <==
[Tue Sep 09 10:35:42 2014] [error] [client 127.12.199.129] PHP Parse error:  syntax error, unexpected '[' in /var/lib/openshift/540f0f459236cbfd4c0001fe/app-root/data/current/config/autoconfig.php on line 15
10.66.128.37, 66.187.233.202 - - [09/Sep/2014:10:35:42 -0400] "GET /index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131023 Firefox/17.0"
[Tue Sep 09 10:35:56 2014] [error] [client 127.12.199.129] PHP Parse error:  syntax error, unexpected '[' in /var/lib/openshift/540f0f459236cbfd4c0001fe/app-root/data/current/config/autoconfig.php on line 15
10.66.128.37, 66.187.233.202 - - [09/Sep/2014:10:35:56 -0400] "GET /index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131023 Firefox/17.0"
[Tue Sep 09 10:37:06 2014] [error] [client 127.12.199.129] PHP Parse error:  syntax error, unexpected '[' in /var/lib/openshift/540f0f459236cbfd4c0001fe/app-root/data/current/config/autoconfig.php on line 15
10.66.128.37, 66.187.233.202 - - [09/Sep/2014:10:37:06 -0400] "GET /index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131023 Firefox/17.0"
10.66.128.37, 66.187.233.202 - - [09/Sep/2014:10:37:12 -0400] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131023 Firefox/17.0"
[Tue Sep 09 10:37:13 2014] [error] [client 127.12.199.129] PHP Parse error:  syntax error, unexpected '[' in /var/lib/openshift/540f0f459236cbfd4c0001fe/app-root/data/current/config/autoconfig.php on line 15, referer: http://ownphp-wzheng.dev.rhcloud.com/
10.66.128.37, 66.187.233.202 - - [09/Sep/2014:10:37:13 -0400] "GET /index.php HTTP/1.1" 500 - "http://ownphp-wzheng.dev.rhcloud.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131023 Firefox/17.0"
203.114.244.84 - - [09/Sep/2014:10:38:23 -0400] "HEAD / HTTP/1.1" 200 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.3.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2"

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

How reproducible:
always

steps to Reproduce:
1. rhc app create owncloud php-5.3 mysql-5.5 cron-1.4
2. cd owncloud
git remote add upstream -m master git://github.com/openshift/owncloud-openshift-quickstart.git
git pull -s recursive -X theirs upstream master
3. git push
4. Access the main page

Actual results:
Blank page displays although it returns 200 when curl the page.

Expected results:
It should displays like php-5.4

Additional info:

Comment 2 Qixuan Wang 2014-09-10 02:34:22 UTC
Tested on devenv_5155, the owncloud quickstart with php-5.3 cartridge returns correct login page when accessing it. So verified it, thanks.

[root@localhost owncloud]# rhc tail owncloud
==> app-root/logs/mysql.log <==
140910  2:22:24 InnoDB: highest supported file format is Barracuda.
140910  2:22:24  InnoDB: Waiting for the background threads to start
140910  2:22:25 InnoDB: 5.5.37 started; log sequence number 1595675
140910  2:22:25 [Note] Server hostname (bind-address): '127.1.244.2'; port: 3306
140910  2:22:25 [Note]   - '127.1.244.2' resolves to '127.1.244.2';
140910  2:22:25 [Note] Server socket created on IP: '127.1.244.2'.
140910  2:22:25 [Warning] 'proxies_priv' entry '@ root@ip-10-102-146-152' ignored in --skip-name-resolve mode.
140910  2:22:25 [Note] Event Scheduler: Loaded 0 events
140910  2:22:25 [Note] /opt/rh/mysql55/root/usr/libexec/mysqld: ready for connections.
Version: '5.5.37'  socket: '/var/lib/openshift/540feb33098002cd9c000001/mysql//socket/mysql.sock'  port: 3306  MySQL Community Server (GPL)

==> app-root/logs/cron_minutely.log <==
__________________________________________________________________________
__________________________________________________________________________
Wed Sep 10 02:23:05 EDT 2014: END minutely cron run - status=0
__________________________________________________________________________
__________________________________________________________________________
Wed Sep 10 02:24:05 EDT 2014: START minutely cron run
__________________________________________________________________________
__________________________________________________________________________
Wed Sep 10 02:24:06 EDT 2014: END minutely cron run - status=0
__________________________________________________________________________

==> app-root/logs/php.log <==
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:24 -0400] "GET /apps/firstrunwizard/js/jquery.colorbox.js?v=cf866614b6b18cda13fe699a3a65661b HTTP/1.1" 200 26018 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:25 -0400] "POST /index.php/core/ajax/translations.php HTTP/1.1" 200 75 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/img/loading-dark.gif HTTP/1.1" 200 3208 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/img/actions/user.svg HTTP/1.1" 200 1722 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/img/actions/password.svg HTTP/1.1" 200 525 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/img/logo.svg HTTP/1.1" 200 5051 "http://owncloud-d.dev.rhcloud.com/core/css/header.css?v=cf866614b6b18cda13fe699a3a65661b" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/fonts/OpenSans-Regular.woff HTTP/1.1" 200 20544 "http://owncloud-d.dev.rhcloud.com/core/css/fonts.css?v=cf866614b6b18cda13fe699a3a65661b" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/fonts/OpenSans-Bold.woff HTTP/1.1" 200 21272 "http://owncloud-d.dev.rhcloud.com/core/css/fonts.css?v=cf866614b6b18cda13fe699a3a65661b" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /core/img/breadcrumb.svg HTTP/1.1" 200 455 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
10.66.136.8, 66.187.233.202 - - [10/Sep/2014:02:23:26 -0400] "GET /cron.php HTTP/1.1" 200 20 "http://owncloud-d.dev.rhcloud.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"