Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#35642 closed defect (bug) (worksforme)

Upgrade to 4.4.1 causes site icon issues for Multisite installs

Reported by: jshare's profile jshare Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.1
Component: Customize Keywords: reporter-feedback
Focuses: multisite Cc:

Description

I just upgraded my Multisite install to 4.4.1 yesterday. Later in the day I received a ZoompfAlert with two warnings:

404 response for jobmob.co.il/wp-content/uploads/2015/08/cropped-site-icon-32x32.png

404 response for jobmob.co.il/wp-content/uploads/2015/08/cropped-site-icon-192x192.png

Zoompf sends that alert because its bot discovered calls on my site to those urls but gets 404s.

However, as I'm on Multisite, those images do exist here:

jobmob.co.il/wp-content/blogs.dir/1/files/2015/08/cropped-site-icon-32x32.png

jobmob.co.il/wp-content/blogs.dir/1/files/2015/08/cropped-site-icon-192x192.png

So somewhere on my site since the upgrade to 4.4.1, non-Multisite compatible calls are being to these images.

Change History (6)

#1 follow-up: @johnbillion
9 years ago

  • Focuses administration removed
  • Keywords reporter-feedback added

Thanks for the report @jshare.

The wp-content/uploads/... URLs are automatically rewritten to wp-content/blogs.dir/xxx/files/....

  • Did you make any changes to your HTTPS configuration recently?
  • What's the value of the ms_files_rewriting row in your wp_sitemeta database table?
  • Are you defining any of the following constants in your wp-config.php file?
    • UPLOADBLOGSDIR
    • UPLOADS
    • BLOGUPLOADDIR

#2 in reply to: ↑ 1 @jshare
9 years ago

  • Did you make any changes to your HTTPS configuration recently?

No

  • What's the value of the ms_files_rewriting row in your wp_sitemeta database table?

There are 154 rows in my wp_sitemeta, but no ms_files_rewriting or *files* or *rewriting*

  • Are you defining any of the following constants in your wp-config.php file?
    • UPLOADBLOGSDIR
    • UPLOADS
    • BLOGUPLOADDIR

No

#3 @jshare
9 years ago

Any news?

#4 @celloexpressions
8 years ago

@jshare are you still experiencing this issue?

#5 @jshare
8 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Thanks for the reminder, I forgot about this.

It turns out this was related to two Site settings being out of synch (in the Network Dashboard > Sites > (relevant Site) > Settings:

  1. Upload Path
  2. Fileupload Url

The latter was set correctly to 'jobmob.co.il/files, but the former was set to 'wp-content/uploads' when I needed it to be 'files'.

Either the upgrade to 4.4.1 put them out of synch or it simply exposed that they were already out of synch and it hadn't mattered before the Site Icon functionality.

All working fine now :)

#6 @netweb
8 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.