image display broken

4 replies [Last post]
arodriguez07
Offline
Last seen: 3 years 18 weeks ago
Joined: 2015-02-04

Hi. I am working through the Advanced site building series. I'm at the point where I'm adding user images and I've noticed that my image uploader in the acquia desktop instance of GiftOfGeek is broken.

I'm seeing errors that drupal can't find images.

My "files" subdirectory is writeable. There are errors in the "status" page.

I'm using Acquia Dev Desktop version 2 on Yosemite.

Any suggestions on how to fix this issue?

It's almost as if something is blocking drupal's ability to create and upload images.

When I attempt to upload an image to my admin user profile, I'm seeing this error:

http://giftofgeek.dd:8083/sites/giftofgeek.dd/files/styles/medium/public...

Note: the "medium" subdirectory is not present in my "files" subdirectory. It doesn't get created.

Thanks,

Alex

Chris Shattuck
Offline
Last seen: 7 weeks 1 day ago
Joined: 2009-08-16
Hi Alex, Have you checked to

Hi Alex,

Have you checked to make sure your temp directory is set up properly? You can go to 'Administrator -> Configuration -> Media -> File System' to see if there are any problems there.

Cheers,
Chris

timothyjturner
Offline
Last seen: 2 years 47 weeks ago
Joined: 2015-10-22
Hey, I am at the same point

Hey, I am at the same point in the tutorials and I cannot see that dang piece of corn!!

I'm not sure what is going on!

I am also running Acquia Dev Desktop 2 and when I upload the image, it displays the alt image text instead of the image.

When I inspect the element, it gives me a pretty bogus looking url:

src="http://giftofgeek.dd:8083/sites/giftofgeek.dd/files/styles/thumbnail/public/pictures/picture-1-1450264046.jpg?itok=YfVFALIh"

I checked my files and the file did get uploaded to,

...\giftofgeek\sites\GiftOfGeek.dd\files\pictures

This is where it's supposed to be, according to my user settings.

I checked the file system settings for temp files and my location is:

c:\windows\temp

This seems ok to me. But, I guess I'm not understanding what this temp file location has to do with the user account photo uploads.

I can't seem to solve this issue. Any idea what's going on here?

Thanks!

timothyjturner
Offline
Last seen: 2 years 47 weeks ago
Joined: 2015-10-22
Not sure where I went wrong

Not sure where I went wrong here and where this functionality broke, but it looks like the most recent backup file that I can restore is backup #8 (after importing products).

It does still end up looking at the same url, but the file can now be seen. So maybe the url was ok all along.

Anyhow, if anyone figures out where I went wrong, let me know, but it does look like I can just hop back a couple steps and proceed from there. So no big deal.

Thanks!

timothyjturner
Offline
Last seen: 2 years 47 weeks ago
Joined: 2015-10-22
Ahh maybe I spoke too soon.

Ahh maybe I spoke too soon. I proceeded from backup 8 and everything was working well until after I installed the user_picture_field module, updated the machine name and reuploaded the photo. Here's a screenshot of what's going on: http://i.imgur.com/4e7k4yY.png

Edit: Clearing all caches seems to fix the issue this time around. It didn't solve it the last time. Good to go again. :)

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.