Bug 1106349 - Fail to create drupal7 due to "Call to undefined function json_encode()"
Summary: Fail to create drupal7 due to "Call to undefined function json_encode()"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: libra bugs
URL:
Whiteboard:
: 1108900 (view as bug list)
Depends On: 1108017
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-09 07:13 UTC by weiwei jiang
Modified: 2016-10-30 22:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-15 10:30:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1108017 0 medium CLOSED Fail to create magento quickstart with php due to "ERROR: PHP Extensions "pdo_mysql" must be loaded" 2021-02-22 00:41:40 UTC

Internal Links: 1108017

Description weiwei jiang 2014-06-09 07:13:47 UTC
Description of problem:
When create drupal7, both php-5.3 and php-5.4, it failed with "
PHP Fatal error:  Call to undefined function json_encode() in /var/lib/openshift/539594270df40f0dbf000697/app-root/runtime/dependencies/php/phplib/pear/pear/php/drush/includes/output.inc on line 708"


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

How reproducible:
always

Steps to Reproduce:
1.Create drupal7 via web with php-5.3 or php-5.4 
2.
3.

Actual results:

Download and install the latest stable version of Drupal

PHP Fatal error:  Call to undefined function json_encode() in /var/lib/openshift/539594270df40f0dbf000697/app-root/runtime/dependencies/php/phplib/pear/pear/php/drush/includes/output.inc on line 708
Drush command terminated abnormally due to an unrecoverable error.       [error]
Error: Call to undefined function json_encode() in
/var/lib/openshift/539594270df40f0dbf000697/app-root/runtime/dependencies/php/phplib/pear/pear/php/drush/includes/output.inc,
line 708
ERROR: Unable download and install Drupal.
An error occurred executing 'gear postreceive' (exit code: 7)
Error message: CLIENT_ERROR: Failed to execute action hook 'build' for 539594270df40f0dbf000697 application drupal

For more details about the problem, try running the command again with the '--trace' option.

Expected results:


Additional info:

Comment 1 Xiaoli Tian 2014-06-13 05:47:22 UTC
*** Bug 1108900 has been marked as a duplicate of this bug. ***

Comment 2 Vojtech Vitek 2014-06-16 10:45:15 UTC
This is most likely duplicate of Bug 1108017.

@Jakub, could you please verify & close?

Comment 3 Vojtech Vitek 2014-06-18 09:16:02 UTC
Should be Duplicate of bug 1108017. Moving ON_QA for verification.

Comment 4 weiwei jiang 2014-06-19 04:18:54 UTC
Checked on devenv_4890 with
|php version|mysql version|
|php-5.3|mysql-5.1|
|php-5.3|mysql-5.5|
|php-5.4|mysql-5.1|
|php-5.4|mysql-5.5|
for https://github.com/openshift/drupal-quickstart.git, 
All above scenario work well, so verify this issue.


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