Tagged: add media, not working
Hello,
Please go to http://dev.thecgschool.com/
Whenever I create a page, I can upload media. However, after I save the page & edit it again, the “upload media” area does not work. I’m assuming this is a permission issue as the “add media” works when I switch to another theme & have deactivated all the plugins (only have 4 including Jetpack but even when activated all I have working is the stats).
Can you send me a list of directories that are sensitive to needing full / almost full permission sets? Our server is more secure than most hosts as we get lots of traffic and don’t want hackers coming in easily through open permissions across the entire site. Thanks!
Hey Brian!
Do you get any error messages? as far as i know nothing gets uploaded to the theme, just make sure your /wp-content/uploads folder is writable.
Cheers!
Josue
Josue,
Yep, the uploads folder is setfacl set with writeable permissions (just not public writeable permissions). Also the max_file_uploads = 20, upload_max_filesize= 200M, post_max_size = 8M – is that all OK? No error messages pop-up when I click “add media”.
Hey!
I can’t think of anything that would need to be adjusted within the theme unless you’ve changed any chmod permissions on the theme folders/files themselves after installing the theme.
If you open dev tools (with your browser) do you get any javascript errors showing when clicking on add media? Can you add media from the layout builder elements (images, slideshows etc).
Best regards,
Devin
Devin,
You are on the right path & I believe this post fixed the problem: http://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation
And refer to this article: http://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation
Brian
Hi!
Great, glad you found a solution :)
Cheers!
Peter