Image Paths in Multisite are "Not Found" #733

Closed
lindleywhite opened this Issue Apr 5, 2013 · 7 comments

Comments

Projects
None yet
5 participants
@lindleywhite

I believe this is a Roots issue. When working with Roots child themes on a multisite and the uploads folder being rewritten to /assets, the images in the sister sites do not show up anywhere. They are being "Not Found"
ss 2013-04-05 at 01 15 27

I believe this is a rewrite issue. Can anyone offer any advice?

@retlehs

This comment has been minimized.

Show comment Hide comment
@retlehs

retlehs Apr 5, 2013

Member

probably just a permissions issue on the assets directory - try searching for past issues related to this

Member

retlehs commented Apr 5, 2013

probably just a permissions issue on the assets directory - try searching for past issues related to this

@jdcauley

This comment has been minimized.

Show comment Hide comment
@jdcauley

jdcauley Apr 19, 2013

Generally has been my experience that changing file paths on Multisite doesn't work. You may be better off reverting to standard child paths in network admin

Generally has been my experience that changing file paths on Multisite doesn't work. You may be better off reverting to standard child paths in network admin

@hixen

This comment has been minimized.

Show comment Hide comment
@hixen

hixen Apr 26, 2013

Oh I had this issue on all of my Multisite installs, I solved it this way:

goto settings for each sister site and change:

Upload path: assets
Upload Url Path: /assets

notice the difference assets and /assets

hixen commented Apr 26, 2013

Oh I had this issue on all of my Multisite installs, I solved it this way:

goto settings for each sister site and change:

Upload path: assets
Upload Url Path: /assets

notice the difference assets and /assets

@Fouppy

This comment has been minimized.

Show comment Hide comment
@Fouppy

Fouppy May 2, 2013

Contributor

I had the same problem. Using /assets for multisite didn't work either. I ended up with that bit of code:

if (!is_multisite()) {
update_option('upload_path', 'assets');
} else {
update_option('upload_path', '');
}

Contributor

Fouppy commented May 2, 2013

I had the same problem. Using /assets for multisite didn't work either. I ended up with that bit of code:

if (!is_multisite()) {
update_option('upload_path', 'assets');
} else {
update_option('upload_path', '');
}

@retlehs

This comment has been minimized.

Show comment Hide comment
@retlehs

retlehs May 3, 2013

Member

@Fouppy can you pls submit a pull req with that change to activation.php?

Member

retlehs commented May 3, 2013

@Fouppy can you pls submit a pull req with that change to activation.php?

@Fouppy

This comment has been minimized.

Show comment Hide comment
@Fouppy

Fouppy May 4, 2013

Contributor

Done. Hope I did the right things, I'm kinda new to Git/GitHub.

Contributor

Fouppy commented May 4, 2013

Done. Hope I did the right things, I'm kinda new to Git/GitHub.

@retlehs

This comment has been minimized.

Show comment Hide comment
@retlehs

retlehs May 6, 2013

Member

thx @Fouppy - perfect. closed by fba4b0c

Member

retlehs commented May 6, 2013

thx @Fouppy - perfect. closed by fba4b0c

@retlehs retlehs closed this May 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment