After upgrading to the latest Panopoly last week in both our servers (Test and Dev), we are suddenly unable to do normal image uploads on one of the servers (the other works fine). The images seem to upload ok and can be found on the server if we trim the URL (explained below), but they do not display correctly as a thumbnail or images on a page. Viewing the image in Content/Files, I can open the file to edit but get no thumbnail. When I click View, I only see a broken thumbnail image and the Alt text. However when I click Crop I can see the image, as it comes up with a url like: “… /file/171/edit”, and I can even crop it.
I can also place an existing image file from the library into a page without a problem.
I am getting “page not found” messages in the Message Log for the new images. Clicking Content/File/View for one of the missing pages/images I see a “Page not found” page with the bad url, for example:
…/files/styles/panopoly_image_original/public/thumbnailsizetest.jpg
Curiously, if I take the bad URL and strip out “styles/panopoly_image_original/public/”, I can view the image in its correct URL. For example, this image URL doesn’t work:
(root…) /files/styles/panopoly_image_original/public/thumbnailsizetest.jpg
But this one does work:
(root…) /files/thumbnailsizetest.jpg
It’s very hard for me to narrow it down to one question, but this seems to be getting at the heart of it:
Why am I able to see the uploaded images when I remove “styles/panopoly_image_original/public/” from their path??
I’m guessing that something has gone awry in Panopoly’s image manager. If I was to clone the Features of my working site and move them to the non-working site, which Features would I try exporting?
Any tips or suggestions would be most appreciated!
Comments
Comment #2
ptocco CreditAttribution: ptocco commentedI fixed the problem. Turns out we had removed jquery.forms.js because it was red-flagged in a security check. However Panopoly or Drupal needs it to upload files and create thumbnails etc. Restoring the file was all that was need to fix the site.