I just installed Wordpress on an up-to-date Debian Testing system.  I set 
everything up according to the README.Debian file.  I created my sites using 
the /usr/share/doc/wordpress/examples/setup-mysql script.

I am experiencing the same issue as the original bug reporter.

I can upload a picture to my system.  The file is saved into the correct 
directory.  But it cannot be displayed by Wordpress.  Instead of showing the 
file I get an empty rectangle with the broken image icon in the upper right 
hand corner.

URL:  http://sycsrt.stoutner.net


/etc/wordpress/config-sycsrt.stoutner.net.php

<?php
define('DB_NAME', 'syscrt');
define('DB_USER', 'syscrt');
define('DB_PASSWORD', 'P8XEn4rE');
define('DB_HOST', 'localhost');
define('SECRET_KEY', 'NB20QqnonGR0fM6mQbmyWwWYbgdlSQLhJKvHiUBgEI');

#This will disable the update notification.
define('WP_CORE_UPDATE', false);

$table_prefix  = 'wp_';
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
$upload_path = "/srv/www/wp-uploads/sycsrt.stoutner.net";
$upload_url_path = "http://sycsrt.stoutner.net/wp-uploads";;
?>


Sample image is called image002.jpg and should display as a logo on the main 
page.

Sample image is located at /srv/www/wp-
uploads/sycsrt.stoutner.net/image002.jpg with file permissions of 644 
(automatically created by system.

Attempting to browse to either http://sycsrt.stoutner.net/wp-
uploads/image002.jpg or http://sycsrt.stoutner.net/wp-uploads/ produces an 
error.

Following the instructions given by Wayne Conrad do indeed work, but they 
switch the storage location of the image to /usr/share/wordpress/wp-
content/uploads, which creates problems with multiple hosted Wordpress sites 
because all sites would be storing their pictures in the same place and could 
see all the other pictures from every other site.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to