Jump to content

Uploaded images not appearing in PW admin or public site


MarcC
 Share

Recommended Posts

I'm working on a Dreamhost-hosted PW 2.1 install and I am encountering this issue:

I can upload an image OK.

I can open the image for editing in e.g. Photoshop from the /site/assets/files/#### folder via SFTP and confirm that it exists. This is true for all resized versions, too.

The link shown in the HTML source is correct; i.e., it points to the right file.

PW's admin image field shows a "?" indicating that it can't display the image.

The public front end also shows a broken image indicator.

Here is the owner/permission information:

Owner: My user

Perms: 777

Checking another thread here at the forum, and following instructions: It seems that Dreamhost has safe_mode turned off (Edit:just confirmed that) but I will confirm this. I also added this line to .htaccess:

php_value upload_tmp_dir /home/baggageclaim/marccarson.com/clients/cortechamber/site/assets/cache/

Thanks for any ideas or other assistance!

Link to comment
Share on other sites

Thanks--I just noticed that the URL was being rewritten when I loaded it directly. It turns out an .htaccess file a few folders back had this line:

ReDirectMatch 301 /site(.*) http://www.example.com$1

Which was pretty obsolete anyway so I took it out. Problem solved! ;D I have no idea what I should do if I wanted to keep that line, because I'm assuming it was conflicting with PW's "site" folder.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...