Bug#639980: wordpress: shipped wp-config.php should not rely on FTP access for themes and plugins (fix included)

2011-09-17 Thread Richard van den Berg
I second this request. Adding

define(‘FS_METHOD’,'direct’);

to the wp-config.php and doing a temporary

chown -R www-data /usr/share/wordpress/wp-content/plugins

worked like a charm.

Richard



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#639980: wordpress: shipped wp-config.php should not rely on FTP access for themes and plugins (fix included)

2011-09-01 Thread Pablo Duboue
Package: wordpress
Version: 3.0.5+dfsg-0+squeeze1
Severity: normal


Hi,

The default wordpress installs that ships with Debian works fine for uploading 
images
(after following the work arounds described in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546292#29
at least)

but it chokes when trying to install themes (and I guess also plugins) 
requiring FTP
access. As per #311821, FTP access makes no sense, as the package is installed 
as root.

However, according to this comment

http://aparnam.wordpress.com/2010/02/01/wordpress-asking-for-ftp-usernamepassword-while-installing-plugin/#comment-84

all it is needed for themes and plugins to work is to add

define(‘FS_METHOD’,'direct’);

to the wp-config.php

Please consider changing the wp-config.php shipped with Debian to include that 
line.

Thanks,

P.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wordpress depends on:
ii  apache22.2.16-6+squeeze2 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [h 2.2.16-6+squeeze2 Apache HTTP Server - traditional n
ii  libapache2-mod-php55.3.3-7+squeeze3  server-side, HTML-embedded scripti
ii  libjs-cropper  1.2.1-2   JavaScript image cropper UI
ii  libjs-jquery   1.4.2-2   JavaScript library for dynamic web
ii  libjs-prototype1.6.1-1   JavaScript Framework for dynamic w
ii  libjs-scriptaculous1.8.3-1   JavaScript library for dynamic web
ii  libphp-phpmailer   5.1-1 full featured email transfer class
ii  libphp-snoopy  1.2.4-2   Snoopy is a PHP class that simulat
ii  mysql-client   5.1.49-3  MySQL database client (metapackage
ii  mysql-client-5.1 [mysq 5.1.49-3  MySQL database client binaries
ii  php-gettext1.0.10-1  read gettext MO files directly, wi
ii  php5   5.3.3-7+squeeze3  server-side, HTML-embedded scripti
ii  php5-gd5.3.3-7+squeeze3  GD module for php5
ii  php5-mysql 5.3.3-7+squeeze3  MySQL module for php5
ii  tinymce3.3.8+dfsg0-0.1   platform independent web based Jav

Versions of packages wordpress recommends:
ii  wordpress-l10n 3.0.5+dfsg-0+squeeze1 weblog manager - language files

Versions of packages wordpress suggests:
ii  mysql-server  5.1.49-3   MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.49-3   MySQL database server binaries and

-- Configuration Files:
/etc/wordpress/wp-config.php changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org