Wordpress Edit Image Button Disappeared - php

Have a UGC app being run by WP 3.7.1 (I know I need to upgrade to 3.8.1). Users upload images, admin can approve/reject, all good. Admin also HAD the ability to edit an image (rotate being the biggest need) directly in the WP Media Edit screen. All of sudden this button has disappeared.
I have seen this as a fairly common bug from a few years past, but common solutions don't seem to be working.
I have confirmed that PHP GD is running on the server and I have disabled a number of plugins. These are the two common solutions I've seen listed before. Neither have resolved this issue for me.
Any thoughts to why this button would have disappeared or ways to ensure it is enabled?

Check is dir '/wp-content/uploads' writable.

Related

Why is my WordPress visual editor not working?

I have website running WordPress 4.6.2 and I can't use the visual editor right now, only the text editor. When I open the browser console it show various errors.
I've been working on this problem for a good few hours and tried:
restoring WordPress
deactivating plugins
deactivate the custom CSS used in the site
Looking for can_compress_scripts in the DB and all various stuff that I stumble upon internet but with no success whatsoever
Used theme is Spacious
Include define('CONCATENATE_SCRIPTS', false); into wp-config.php
Replaced TinyMCE folder content with TinyMCE content from clear installation
A screenshot of the error from my web browser's console (below):
Apparently deleting few plugins solved the problem. The weird thing is that the problematic plugins were YoastSEO and Akismet and even after their reinstall i got tons of errors too.
I was able to fix this by installing the TinyMCE Advanced Plugin, then hitting save so the settings took effect and it worked.
I have found a workaround or possibly the solution if you dont want to go deep into codes.
This is the fix: (It worked in my case and I am sure it can work for others with similar issue.)
Install Visual Composer(Wpbackery or others)
Go to => Role manager => Post type => custom => Select both for post and page.
That's all.
I found this workaround that is very good and can work in other case after running into this case where I could not switch from visual editor to text editor on wordpress.
I simply adjusted my WPbackery setting and everything works fine now on my site.
Before then I had tried so many solutions and even included define('CONCATENATE_SCRIPTS', to my config but to no avail.
I don't know if there is the need to explain all the things I have done on the cause of troubleshooting for this for a whole day. But with the solution I posted above it would solve your issue.

Images not showing up with visual composer in wordpress

The 3 images on the home page of aaleather.com are no longer showing up, and I can't figure out why. The content was added with the WPBaker Visual Composer and they were there previously with no problems. I don't know what would cause them to decide not to show up anymore!
The links they direct to still work. The title and text below them are there. Just the images aren't appearing.
I checked to make sure the images are still in our media uploads.
And as I was just looking at the elements in the dev tools, I noticed the img tags are not self closing. I don't know if that matters here? If you have any idea what is going on here, I could use some help! Thanks!
Screenshot
It looks the images are loading fine from our side, the reason might be with the stored cookies. try the below steps in order.
CTRL + F5(refresh) your browser.
if that doesn't work.
Try to deactivate the recent plugins you installed one by one and see which one is causing the issue and find an alternative to that plugin.
Create a backup of your website using wp clone or another plugin for emergency
download the latest version of visual composer plugin
deactivate , then delete the existing visual composer plugin (do not delete the pages by mistake)
upload the latest version of visual composer plugin and activate it
Try refreshing your webpage if that helps
if not, go to "edit that page" , open that image block and re-add the image, now update page and see the progress.

Wordpress page wp-admin/edit blank for almost all functions

I am trying to figure out a solution to a problem that have occured for my father, who has absolutely no knowledge of Wordpress or what he's been doing with his page. Me myself don't have too much knowledge of Wordpress or its functions, but have tried to find a solution on my own.
The problem: After logging on to the Wordpress admin page (wp-admin/edit) from the webpage (http://[webpagename].com/wp-login.php) only the left panel is visible for almost all functions except a few. Only the following page-tabs return pages with information
Admin->Akismet statistics
Addons->Configure Akismet
Tool->Backup
Settings->Google analytics
Settings-> MapPress
Settings->Language
Settings->Coming soon
Contact
All other tabs turn out as white pages to the right. I have tried in up to date browsers Google Chrome, IE 11 and Firefox. The webpage is fully visible and functional in itself, it is only when trying to change it via wp-admin link I have problem.
I have read the answers to similiar problems in the links related to this post: wp-admin shows blank page, how to fix it? (I can not post the links myself since I am a new member).
But all of above seems to use an installed program to configure the pages and the solution mostly boils down to disable installed plugins or running the page in debug mode. Since we don't have a program installed nor have the choice to disable any plugins or configuring any files, none of these solutions are applicable as I can see it.
Does anyone know why we can't configure the web page anymore using the http://[webpagename].com/wp-login.php page?
Thank you for your time.
Regards
Rasmus

Wordpress update cause visual editor blank

I updated my wordpress website version with 3.9.2. After updating when i try to add or update any page or post, visual editor tab shows blank. It does not display toolbar buttons or page or post content. Text tab works fine
I tried following solutions provided on different sites with no luck
1) clear browser cache
2) deactivating all plugins
3) change to default theme and again change to desired one
The people who had the same issue had cured the problem by doing one of these suggestions:
1) Install “Use Google Libraries” plugin
2) Add to your wp-config.php file:
define( ‘CONCATENATE_SCRIPTS’, false );
3) Download a refresh version of WordPress from WordPress.org and via ftp replace /wp-includes/js/tinymce folder
4) Download a refresh version of WordPress from WordPress.org and via ftp replace /wp-includes folder
I tried all above solutions but no success :(
I also refer following links but could not find solution
Wordpress Visual Editor broken
Visual editor not working in wordpress 3.8.1?
I have attached screen-shoot for visual editor tab and text editor tab for one page
Please help
I had this issue on APlus.net Hosting and had one heck of a time fixing it. All the text in the Visual Editor was white, and I couldn't get to the HTML tab. The Visual Editor was missing all the formatting buttons -- it was just a white empty space.
After trying everything listed across the web without success, I was finally able to track down the culprit on APlus hosting. It turns out APlus hosting injects their own analytics tracking code into even the WordPress Admin pages. The code for their analytics wasn't written properly -- the code was missing a final ending apostrophe, which resulted in breaking all the code that came after it. In my scenario, the injected code broke the Page Editor TinyMCE JS code.
I checked the Google Chrome inspector to find the error in the code, and after talking with a Tech Support rep at APlus I was able to fix it by deleting the analytics file on the server via FTP:
/private/.wmcnum
I hope this helps. If anything check out the Google Chrome inspector and look for errors. If it's something you can't change, definitely get in touch with your hosting provider.
I've seen an issue like this before. For me, the site we were updating had many out of date plugins. The one that caused our issue was WP Polls. Something went wrong during the update process, and certain files were missing from the plugin directory. I kept a backup of all of the files from before the update, but even re-uploading them didn't fix it. We ended up removing the plugin that was causing the issues and re-installing it. If you can narrow down which plugin might have some discrepancies, then I'd recommend backing everything up (including your database), deleting the plugin, and re-installing it.
If it was simply a WordPress update, it may be that not all of the WordPress files copied over. If you can get a fresh install of WordPress 3.9.2, you can compare the differences between those files and the files on your site. If you're getting an error from somewhere in wp-admin, I'd start my check there.
This is the solution that worked for me:
“Use PHPMyAdmin (or another database editor) to search inside your WordPress database in your “wp_options” table for the record called “can_compress_scripts”. and if it has a value of “1” for the “option_value”, change this to “0” and save the change. You will find your editor working again! (Note: Sometimes this record won’t even exist, so in that case you need to add it. Look for a WordPress database that does have it in order to see what you need to add.)"
original answer by digbymaass:
https://wordpress.org/support/topic/visual-editor-missing-buttons-not-working-white-text-help-1/
In my experience I've had some problems with the tinymce editor. Some of my clients reported they've 'lost' some of the buttons in the editor (or all of them).
I found that disabling emojis with the tiny_mce_plugins filter not also disables emojis but half the buttons in the editor.
Maybe you have somewhere in functions.php this line, just comment it and refresh cache. Let's see if that helps.
add_filter( 'tiny_mce_plugins', 'disable_emojicons_tinymce' );
I checked all over about this. I could not edit or see text in wordpress posts or pages. It seemed to narrow down to the tinymce plugin where I found errors through the Chrome console. I tried a number of things without luck. So I disabled tinymce and all is running smoothly. How simple for a problem with so many variables and options for a fix.

Issues migrating Wordpress site from local to live with NextGen Gallery

I've migrated a local test of a Wordpress site to a live server but I'm encountering a weird issue. Everything works fine, but one of the plugins that I'm using (NextGEN Gallery) is attempting to download a few CSS and JS files from the old location at 127.0.0.1/powwptest.1/.
I cannot figure this issue out for the life of me. I have done repeated searches for 127.0.0.1, localhost, and powwptest.1 or powwptest in the database through phpMyAdmin, I have manually searched the .SQL file with Sublime Text, and searched all 1600+ PHP files with Sublime Text to no avail. Absolutely nothing is found.
If there is no record of 127.0.0.1/powwptest.1 in the database or in any of the files, why is it still attempting to download from the local server?
A few of the calls, for an example:
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.css?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.easing-1.3.pack.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js?ver=3.6
I've cleared cache, cookies, tried in multiple browsers, and even used a third-party (Pingdom) to make sure I'm not crazy. They are all detecting the connection errors as well. I've tried updating the Wordpress plugin on the live server, to no avail. Any ideas?
The new team that's been developing NextGen Gallery seems to have broken a lot of things. I've ran into some crazy problems with this plugin and site moves.
Try resetting permalinks as well as the plugin settings (which, if I recall correctly, you can do from the plugin settings page in WordPress). This won't clear your galleries, only settings set in the plugin settings.
I figured it out finally, hopefully this works for others having an issue with NextGen Gallery. From your WordPress dashboard, go to Gallery -> Other Options -> Lightbox Effects -> (Show Advanced Settings). At this point you can delete the http://127.0.0.1/ etc. entirely from each entry. You'll have to do this once for each type of Lightbox.
It seems to me that this information is stored on a 3rd party server, otherwise there is no reason it could reappear in the DB.
I've just spent 3 hours of solving same issue. Finally, I've found out, look into DB
select * from wp_postmeta where meta_value like '%127.0.0.1%';

Categories