Thread Starter
JohnJay
(@jjacoberger)
I am also getting this message when trying to upload
?elementor_library=maintenance&elementor:1 XMLHttpRequest cannot load https://www.doylestownphotoclub.org/wp-admin/async-upload.php. Response for preflight is invalid (redirect)
Plugin Author
ArielK
(@arielk-1)
Please try to turn off the Maintenance Mode (Elementor > Tools) and let me know if it works for you.
Thread Starter
JohnJay
(@jjacoberger)
Maintenance mode is disabled – I was trying to upload an image into a template called ‘maintenance’.
I’ve also found that I can’t save Elementor changes on my production site. The Save just spins and spins and never ends and nothing appears in the console.
Very curious since I have the exact same plugins installed and configured on my hosting site as my local development PC (I’m developing with wamp64), and I imported all the production pages and database so I was working on an exact copy of everything.
I’m a little bummed out….after 3 weeks of re-designing the site on a local server, I was all set to start moving to the live site but that can’t happen unless I can get Elementor working in production.
Have you tried going to Elementor > Tools in wp-admin and using Elementor’s built-in Replace URL functionality to update Elementor data in your production database? Might help if there are still URLs in your production database related to your local development copy.
Also try re-saving permalinks on the production site to force WordPress to flush its cache…
Thread Starter
JohnJay
(@jjacoberger)
Here’s the thing….I have not yet moved anything at all from development to production. I started having these problems making a maintenance template before I put the site into maintenance mode to bring things over.
No matter what file I try to upload, I always get these three exact same messages. The only difference being that in the last message, ‘maintenance’ changes to be the page or template I’m trying to upload an image to.
1485037886-Sculpture-150×150.jpg:1 GET http://www.doylestownphotoclub.org/wp-content/uploads/wpforo/default_attachments/1485037886-Sculpture-150×150.jpg 404 (Not Found)
1485032201-IMG0001-150×150.jpg:1 GET http://www.doylestownphotoclub.org/wp-content/uploads/wpforo/default_attachments/1485032201-IMG0001-150×150.jpg 404 (Not Found)
?elementor_library=maintenance&elementor:1 XMLHttpRequest cannot load https://www.doylestownphotoclub.org/wp-admin/async-upload.php. Response for preflight is invalid (redirect)
Thread Starter
JohnJay
(@jjacoberger)
I did re-save permalinks as per your suggestion, but I still cannot either save an Elementor change or upload a file.
I can edit a page or template just fine…I just can’t save afterwards.
Not mentioned before, but for what it’s worth,
I have PHP. 7.0.18
Theme is OceanWP
Wordpress is 4.8
It’s clearly related to the wpForo plugin – I see from the wpForo support threads that you had problems uninstalling/reinstalling it. It would seem that it is still causing you problems. The Elementor JavaScript redirect error is almost certainly being caused by the same issue.
Go to /wp-admin/options.php and double-check that both upload_path and upload_url_path are set correctly. Other than that I’m struggling to think where else Elementor is getting the wpForo upload path from…
You could also try flushing all transients from your database using the Transient Cleaner plugin (there might still be transients related to wpForo hanging around). Just a thought…
Thread Starter
JohnJay
(@jjacoberger)
purbeckpixels: I tend to agree, that something was left behind somewhere on the server from wpforo. The options.php upload path is correct – I’m also struggling to figure out where something isn’t set right.
Thanks for your suggestions – sometimes it’s easy to overlook the obvious, but I don’t think I did this time around.
All transients have been deleted….and nothing’s any different. I need to grow more hair to pull out!
-
This reply was modified 7 years, 2 months ago by JohnJay.
@jjacoberger –
You mentioned that you deleted transients but perhaps give this plugin a go and use some very aggressive settings. I’m sure you have a backup somewhere at this stage 🙂
https://wordpress.org/plugins/rvg-optimize-database/
Cheers!
Lyle
PS> that’s why I keep my hair nice and short … can’t get a grip on it! LOL 🙂
Thread Starter
JohnJay
(@jjacoberger)
Cheers SniffleValve –
I tried that plugin – it said it deleted 1306 orphans that wp-optimize didn’t take care of, but Elementor still hangs when I click save, and I still see the same wpforo errors when I try and upload.
Interesting that even though I had loaded the production database and pages onto my PC I don’t have any of the problems, even though it was a clone of the live site
Appreciate your suggestion
Thread Starter
JohnJay
(@jjacoberger)
Well, I’m totally flummoxed by what could be going wrong, but here’s the latest:
So I don’t have to worry about mucking up the live site, I created a subdomain on my hosting server, moved all the pages, content and data over and there everything seems to be working correctly…including saving changes and uploading images. Since it’s a clone of the live site, I have no idea why it’s working. I’m going to make a few minor changes, back EVERYTHING up and they try to replace the live site in total with the subdomain content and database.
When all’s said and done, I will post whether that was a success or not.
Thanks for all the suggestions for help so far.
Thread Starter
JohnJay
(@jjacoberger)
I dropped all the tables in my database and reloaded them then deleted everything under public_html and then copied everything back. Everything is working perfectly (knock on wood) so I have no idea why it wouldn’t work before, since the data and content are what they were before.
My only thought is that possibly and index or something was messed up in the database and was resolved by re-creating and re-loading all the tables.