You are not logged in.
I have problems with drush (for drupal) with the newest version of php. In the comment below it seems like I need php5-json library. How can I get it? I can't find it in arch packages.
https://github.com/drush-ops/drush/commit/2142129
Another option would be to downgrade to php 5.4 or even 5.3, but I can't find old packages. How and where can I get those?
Last edited by Ventil1 (2014-03-18 12:20:15)
Offline
The oldest php package in ARM is php 5.5.3-1.
I'm not sure if https://aur.archlinux.org/packages/php53/ is php 5.3.
What exactly is the problem with drush? Post the errors you get.
Are you using https://aur.archlinux.org/packages/drush/ or https://aur.archlinux.org/packages/drush-git/ ?
Offline
Hey, thank you for your reply karol. I am using https://aur.archlinux.org/packages/drush/. See the drush error messages below:
WD rules: The reaction rule Commerce order message: order [error]
notification e-mail (rules_commerce_order_message_order_notification)
fails the integrity check and cannot be executed. Error: Data
selector entity-created:message-commerce-order for parameter data is
invalid.
Installation complete. User name: admin User password: admin [ok]
Markdown Editor for BUEditor successfully installed. Go to [status]
Administration > Configuration > BUEditor to set up
"Role-editor assignments" to select the roles that may use it.
A PHP code text format has been created. [status]
Printer-friendly Page settings are available under Administration [status]
> Configuration > User interface > Printer, email and PDF
versions
Timepicker plugin has been downloaded to sites/all/libraries [success]
patching file profiles/newsite/modules/contrib/commerce_authnet/commerce_authnet.module
patching file profiles/newsite/modules/contrib/commerce_addressbook/commerce_addressbook.module
Make new site in the current directory? (y/n): y
Beginning to build ../libraries/emogrifier.make. [ok]
emogrifier cloned from https://github.com/jjriv/emogrifier. [ok]
The following extensions will be enabled: devel, diff, context_ui, simpletest
Do you really want to continue? (y/n): y
Invalid argument supplied for foreach() bootstrap.inc:1529 [warning]
strtr(): The second argument is not an array bootstrap.inc:1546 [warning]
DRUSH_GET_CLASS_ERROR [error]
context_ui was enabled successfully. [ok]
PHP Fatal error: Call to a member function getModulePerms() on a non-object in /usr/lib/drush/commands/pm/pm.drush.inc on line 1015
Fatal error: Call to a member function getModulePerms() on a non-object in /usr/lib/drush/commands/pm/pm.drush.inc on line 1015
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function getModulePerms() on a non-object in
/usr/lib/drush/commands/pm/pm.drush.inc, line 1015
The following extensions will be enabled: newsite_wellness_menus
Do you really want to continue? (y/n): y
Invalid argument supplied for foreach() bootstrap.inc:1529 [warning]
strtr(): The second argument is not an array bootstrap.inc:1546 [warning]
DRUSH_GET_CLASS_ERROR [error]
newsite_wellness_menus was enabled successfully. [ok]
PHP Fatal error: Call to a member function getModulePerms() on a non-object in /usr/lib/drush/commands/pm/pm.drush.inc on line 1015
Fatal error: Call to a member function getModulePerms() on a non-object in /usr/lib/drush/commands/pm/pm.drush.inc on line 1015
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function getModulePerms() on a non-object in
/usr/lib/drush/commands/pm/pm.drush.inc, line 1015
Reverted newsite_blocks.fe_block_settings. [ok]
Reverted newsite_taxonomies.field_base. [ok]
Reverted newsite_taxonomies.uuid_term. [ok]
dompdf_0-6-0_beta3.tar.gz has been downloaded and extracted in [success]
/home/marko/public_html/newsite/newsite/public/sites/all/libraries
The following extensions will be enabled: print_pdf
Do you really want to continue? (y/n): y
Invalid argument supplied for foreach() bootstrap.inc:1529 [warning]
strtr(): The second argument is not an array bootstrap.inc:1546 [warning]
DRUSH_GET_CLASS_ERROR [error]
print_pdf was enabled successfully. [ok]
PHP Fatal error: Call to a member function getModulePerms() on a non-object in /usr/lib/drush/commands/pm/pm.drush.inc on line 1015
Fatal error: Call to a member function getModulePerms() on a non-object in /usr/lib/drush/commands/pm/pm.drush.inc on line 1015
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function getModulePerms() on a non-object in
/usr/lib/drush/commands/pm/pm.drush.inc, line 1015
'all' cache was cleared. [success]
All statically defined migrations have been (re)registered. [success]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'rc6.users'[error]
doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_orders' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_orders' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_orders' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_orders' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_orders' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.profile_values' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_orders' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_order_comments' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_order_comments' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_order_admin_comments' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'rc6.uc_order_admin_comments' doesn't exist
Offline
The json extension is already build in PHP. See "php -m|grep json". There is no need to install any additional package. (Some distros don't ship json due to licensing concerns; but not Arch)
Offline
Thank you both for your reply. I can't find an answer for the drush issue, so I guess I just need to downgrade then.
Offline