Answers.Body: <p>There was a problem with the URL of the image.</p>
  
  <p>The RebrandController class removes '?' querystrings from the URL but in my case I had a '&amp;'. Removing that solved the issue and Brad has confirmed this fix has been rolled into the next release.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-07T07:38:30.117Z
Answers.LastActivityDate: 2015-01-07T07:38:30.117Z
Answers.UserDisplayName: Russ Back
Body: <p>I've just installed Craft on a new Laravel Homestead environment and all seems to be running fine, with the exception of being able to upload a logo in the General settings.</p>
  
  <p>The logo uploads and displays in the popup for cropping, but when I save it, I get this error flashed up:</p>
  
  <blockquote>
    <p>Something went wrong when processing the logo.</p>
  </blockquote>
  
  <p>I've checked the permissions and everything seems fine - the storage dir is set to 777 on my local box just to be doubly sure and I can see Craft is creating files and folders in there.</p>
  
  <p>The $imagePath variable in the RebrandController::RebrandController() method is as follows:</p>
  
  <blockquote>
    <p>/home/vagrant/sites/craft-base/craft/storage/runtime/temp/uploads/Rally-Digital-Logo.png&amp;d=1420216657</p>
  </blockquote>
  
  <p>Aside from permissions, what could cause this?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-02T18:42:46.257Z
Comments.Text: Check your `craft\storage\runtime\logs` files and search for `[error]` to get the underlying error message.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-02T19:24:19.147Z
Comments.Text: Thanks, Brad. I can see the following:
  2015/01/02 19:23:26 [error] [application] Could not delete the file /home/vagrant/sites/craft-base/craft/storage/runtime/temp/uploads/Rally-Digital-Logo.png&d=1420226600 because the file does not exist.
  in /home/vagrant/sites/craft-base/craft/app/helpers/IOHelper.php (1313)
  in /home/vagrant/sites/craft-base/craft/app/controllers/RebrandController.php (134)
  in /home/vagrant/sites/craft-base/craft/app/etc/web/WebApp.php (754). The file must exist though surely, as it was shown in the crop view?
Comments.UserDisplayName: Russ Back
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-02T19:39:18.157Z
Comments.Text: Yeah, and that shouldn't be a fatal error, too.  Do you have a `phperrors.log` file in that folder?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-02T20:17:13.603Z
Comments.Text: Nope - I cleared out the logs dir and that's all there is.
Comments.UserDisplayName: Russ Back
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-02T21:52:36.600Z
Comments.Text: Hrm... can you enable devMode, reproduce the issue, zip up your logs folder and send it over to support@buildwithcraft.com?  I'll update here with any results.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-02T22:20:37.347Z
Comments.Text: I've sent to you via the widget on the admin panel. Let me know if you haven't got them. Thanks.
Comments.UserDisplayName: Russ Back
Tags: <config><upload>
Title: Something went wrong when processing the logo
ThreadText: # Something went wrong when processing the logo
  
  (Asked by: username_0 on 2015-01-02)
  
  I've just installed Craft on a new Laravel Homestead environment and all seems to be running fine, with the exception of being able to upload a logo in the General settings.
  
  The logo uploads and displays in the popup for cropping, but when I save it, I get this error flashed up:
  
  > Something went wrong when processing the logo.
  
  I've checked the permissions and everything seems fine - the storage dir is set to 777 on my local box just to be doubly sure and I can see Craft is creating files and folders in there.
  
  The $imagePath variable in the RebrandController::RebrandController() method is as follows:
  
  > /home/vagrant/sites/craft-base/craft/storage/runtime/temp/uploads/Rally-Digital-Logo.png&d=1420216657
  
  Aside from permissions, what could cause this?
  
  **Tags:** config, upload
  
  > **Comments:**
  > **username_1**: Check your `craft\storage\runtime\logs` files and search for `[error]` to get the underlying error message.  
  > **username_0**: Thanks, username_1. I can see the following: 2015/01/02 19:23:26 [error] [application] Could not delete the file /home/vagrant/sites/craft-base/craft/storage/runtime/temp/uploads/Rally-Digital-Logo.png&d=1420226600 because the file does not exist. in /home/vagrant/sites/craft-base/craft/app/helpers/IOHelper.php (1313) in /home/vagrant/sites/craft-base/craft/app/controllers/RebrandController.php (134) in /home/vagrant/sites/craft-base/craft/app/etc/web/WebApp.php (754). The file must exist though surely, as it was shown in the crop view?  
  > **username_1**: Yeah, and that shouldn't be a fatal error, too.  Do you have a `phperrors.log` file in that folder?  
  > **username_0**: Nope - I cleared out the logs dir and that's all there is.  
  > **username_1**: Hrm... can you enable devMode, reproduce the issue, zip up your logs folder and send it over to support@buildwithcraft.com?  I'll update here with any results.  
  > **username_0**: I've sent to you via the widget on the admin panel. Let me know if you haven't got them. Thanks.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-01-07. Score: 1 | Accepted answer
  
  There was a problem with the URL of the image.
  
  The RebrandController class removes '?' querystrings from the URL but in my case I had a '&'. Removing that solved the issue and username_1 has confirmed this fix has been rolled into the next release.
  
  
  ---
  
  