Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Base system (internal API)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jan 2011 at 16:44 UTC
Updated:
11 Sep 2013 at 04:58 UTC
Comments
Comment #1
aiphesjust add :
with rc3 i've this error:
Could not login with user ID #0.
an ovh issue i think
Comment #2
greg.1.anderson commentedFollow the issue submission guidelines.
Comment #3
aiphesok drush status:
provence@ssh1:~$ drush status
X-Powered-By: PHP/5.2.14
Content-type: text/html
+---------------------+----+------------------------+
| PHP configuration | : | /usr/local/lib/php.ini |
| Drush version | : | 4.0-rc3 |
| Drush configuration | : | |
| Drush alias files | : | |
+---------------------+----+------------------------+
but what about the head version ? its older no ?
php -v =>>PHP 4.4.9 (cgi) (built: Aug 19 2008 13:45:28)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
php.BETA -v =>> PHP 5.2.14 (cgi) (built: Jul 28 2010 12:37:11)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
all are in cgi, not cli, so i'm looking for how to use cli on ovh shared hosting first
Comment #4
greg.1.anderson commentedHEAD is newer. You need to use the CLI php. Ask your ISP support center.
Comment #5
aiphesi thnk i found the right php version, its php.BETA and this is my new drush status :
29-Jan-2011 22:23:55 GMT; path=/
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Thu, 06 Jan 2011 18:50:35 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Content-Type: text/html; charset=utf-8
+----------------------+----+-------------------------+
| Drupal version | : | 6.19 |
| Site URI | : | http://default |
| Database driver | : | mysqli |
| Database hostname | : | mysql5-12.pro |
| Database username | : | lyceechadrupal |
| Database name | : | lyceechadrupal |
| Database | : | Connected |
| Drupal bootstrap | : | Successful |
| Drupal user | : | Anonyme |
| Default theme | : | cyrano_cg |
| Administration theme | : | rubik |
| PHP configuration | : | /usr/local/lib/php.ini |
| Drush version | : | 4.0-dev |
| Drush configuration | : | |
| Drush alias files | : | |
| Drupal root | : | /homez.353/XXX/www |
| Site path | : | sites/default |
| File directory path | : | sites/all/media |
+----------------------+----+-------------------------+
but il i do an drush rf 've the warning :
Refreshing update status information ...
Warning: fwrite(): supplied argument is not a valid stream resource in /homez.353/XXX/drush/includes/drush.inc on line 571
Done.
Comment #6
greg.1.anderson commentedYou should not be seeing http headers in your output. Get your php cli working.
It is also an option to run drush only on your local machine, and just push your dev site to live. Drush does not need to run on your isp so long as you can ssh and rsync. In this mode, the only commands that affect your live site are "drush rsync @dev @live" and "drush sql-sync @dev @live" (and the reverse). Do everything else on your local machine.
Comment #7
MentalFS commentedI'm getting the same error with my shared hoster and drush 4.2.
I had to set DRUSH_PHP to "php5 -q", because my hoster uses php4 as default.
Here's part of the output of php5-config:
php5-cli doesn't exist though. I'm not sure if php5 -q is a sufficient replacement, so maybe that is the cause of my (and the submitter's) problem.
Comment #8
aiphesin fact, its not possible to do SSH whith OVH shared plans.But it is possible whith the shared palns of always data ( french host)
Comment #9
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.