Cannot Upload Media & Warning: Cannot modify header information
-
I would be very grateful to anyone who can help me with this issue:
Problem:
1 – Cannot upload media – receive following message: “The uploaded file could not be moved to C:\Inetpub\wwwroot/wp-content/uploads.”
2 – Cannot edit theme’s files – receive following message: “Warning: Cannot modify header information – headers already sent by (output started at C:\Inetpub\wwwroot\wp-admin\theme-editor.php:84) in C:\Inetpub\wwwroot\wp-admin\theme-editor.php on line 99”
Steps Taken and Failed To Resolve:
1 – make sure all file permissions are set to 777 and they were
2 – add a new folder to server for uploads – changed WP settings to upload to the new folder but received same error message
3 – check for whitespace in theme-editor.php – there was no errors there
4 – took the theme from the server, put it into a zip folder, uploaded it to a different server – and it worked fine.Other Notes:
I am working with a client who has someone that runs their server-side of things. It’s not my field so I don’t know much about it, but he made a change to something on the server last night and since then I have gotten this error. He is very hard to work with and is saying this is an error in my php coding when I strongly believe it is not, based on my research and the fact the same files work fine on my server.
I need a strong answer to fix this and let my client know the status. As it stands now – the website cannot have any new media added to it which is a huge issue for them of course.
Thank you in advance.
- The topic ‘Cannot Upload Media & Warning: Cannot modify header information’ is closed to new replies.