metrostudios
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”Well, you’re amazing. Those messages were appearing there from the main CMS due to some debugging/development settings being turned on. Once they were turned off, voila! I appreciate your help so much, I’ve spent way too much time researching this 😛
Thank you to Samuel as well for helping out, it was much appreciated!
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”I don’t know why those are there.
As far as caching plugins, none are active through WordPress but I talked with someone else and apparently we use ModPagespeed for all of our sites and so that was turned on. I have disabled it for this site and the problem seems to still be there.
Right now I am able to change a post/page and it will say there is an error but if I take the URL that the API JSON response gives me to look at the page (http://bieribrokerage.metro-studios.com/blog/new-page-123/) it shows the page/post and the changes I made also show up there. So really the autosave and the manual save are working even though it says there is an error. The only real downsides are the fact that it says there is an error and I can’t use the preview feature.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”Not sure. I’ve updated it to have /blog/ instead and that doesn’t seem to have done anything.
The .htaccess at the root of the site just has:
<FilesMatch "^\."> deny from all </FilesMatch> ErrorDocument 404 /404.php ErrorDocument 403 /404.phpand now in the wordpress directory (/blog) the .htaccess is:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPressForum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”So here is something interesting I discovered that may or may not help. I looked at the responses for one of the autosaves which seem to be working and it gives a URL for the preview and I put that in the browser and it works, the preview shows up but if you click preview on the post page it just spins and spins infinitely.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”They both have /blog at the end.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”Yes, WordPress is installed in a subdirectory right below the root directory. The main website is in a different CMS and WordPress is installed in a directory “blog”.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”Ok not sure what changed but I left the page and came back and now I am getting a JSON response for all of them:
[{"id":1,"name":"metrostudios","url":"","description":"","link":"http:\/\/bieribrokerage.metro-studios.com\/blog\/author\/metrostudios\/","slug":"metrostudios","avatar_urls":{"24":"http:\/\/0.gravatar.com\/avatar\/3b17038fff8c1a3f464937d771acc5df?s=24&d=mm&r=g","48":"http:\/\/0.gravatar.com\/avatar\/3b17038fff8c1a3f464937d771acc5df?s=48&d=mm&r=g","96":"http:\/\/0.gravatar.com\/avatar\/3b17038fff8c1a3f464937d771acc5df?s=96&d=mm&r=g"},"meta":[],"_links":{"self":[{"href":"http:\/\/bieribrokerage.metro-studios.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"collection":[{"href":"http:\/\/bieribrokerage.metro-studios.com\/blog\/wp-json\/wp\/v2\/users"}]}}]<!-- Execution Time: 0.03705 seconds --> <!-- Peak Memory Usage: 4,096.00 KB --> <!-- SQL Queries: 1 -->{"category":{"name":"Categories","slug":"category","capabilities":{"manage_terms":"manage_categories","edit_terms":"edit_categories","delete_terms":"delete_categories","assign_terms":"assign_categories"},"description":"","labels":{"name":"Categories","singular_name":"Category","search_items":"Search Categories","popular_items":null,"all_items":"All Categories","parent_item":"Parent Category","parent_item_colon":"Parent Category:","edit_item":"Edit Category","view_item":"View Category","update_item":"Update Category","add_new_item":"Add New Category","new_item_name":"New Category Name","separate_items_with_commas":null,"add_or_remove_items":null,"choose_from_most_used":null,"not_found":"No categories found.","no_terms":"No categories","items_list_navigation":"Categories list navigation","items_list":"Categories list","most_used":"Most Used","back_to_items":"← Back to Categories","menu_name":"Categories","name_admin_bar":"category"},"types":["post"],"show_cloud":true,"hierarchical":true,"rest_base":"categories","visibility":{"public":true,"publicly_queryable":true,"show_admin_column":true,"show_in_nav_menus":true,"show_in_quick_edit":true,"show_ui":true},"_links":{"collection":[{"href":"http:\/\/bieribrokerage.metro-studios.com\/blog\/wp-json\/wp\/v2\/taxonomies"}],"wp:items":[{"href":"http:\/\/bieribrokerage.metro-studios.com\/blog\/wp-json\/wp\/v2\/categories"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},"post_tag":{"name":"Tags","slug":"post_tag","capabilities":{"manage_terms":"manage_post_tags","edit_terms":"edit_post_tags","delete_terms":"delete_post_tags","assign_terms":"assign_post_tags"},"description":"","labels":{"name":"Tags","singular_name":"Tag","search_items":"Search Tags","popular_items":"Popular Tags","all_items":"All Tags","parent_item":null,"parent_item_colon":null,"edit_item":"Edit Tag","view_item":"View Tag","update_item":"Update Tag","add_new_item":"Add New Tag","new_item_name":"New Tag Name","separate_items_with_commas":"Separate tags with commas","add_or_remove_items":"Add or remove tags","choose_from_most_used":"Choose from the most used tags","not_found":"No tags found.","no_terms":"No tags","items_list_navigation":"Tags list navigation","items_list":"Tags list","most_used":"Most Used","back_to_items":"← Back to Tags","menu_name":"Tags","name_admin_bar":"post_tag"},"types":["post"],"show_cloud":true,"hierarchical":false,"rest_base":"tags","visibility":{"public":true,"publicly_queryable":true,"show_admin_column":true,"show_in_nav_menus":true,"show_in_quick_edit":true,"show_ui":true},"_links":{"collection":[{"href":"http:\/\/bieribrokerage.metro-studios.com\/blog\/wp-json\/wp\/v2\/taxonomies"}],"wp:items":[{"href":"http:\/\/bieribrokerage.metro-studios.com\/blog\/wp-json\/wp\/v2\/tags"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}}<!-- Execution Time: 0.03366 seconds --> <!-- Peak Memory Usage: 4,096.00 KB --> <!-- SQL Queries: 1 -->When clicking update it gives the updating error still but if I leave the page and go back to the same post it tells me there is a more recent version of the post in an autosave.
I can publish pages/posts even though I get an error “publishing failed”. I leave the page and look at the posts/pages and its there. The preview feature still doesn’t work though.
- This reply was modified 7 years, 5 months ago by metrostudios.
- This reply was modified 7 years, 5 months ago by metrostudios.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”So I totally clicked on the wrong site files and gave you a .htaccess for a completely different website.
Here is the correct .htaccess file:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressalso for the permalinks we are using “Post name”
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”Downloading tar.gz file and manually installing it. I’ve done it a bunch with older versions of WordPress and haven’t had anything weird with those but maybe something is different with this one as far as permissions or something.
.htaccess looks like:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressalso as far as .htaccess files go, I’m a big noob. I didn’t create any of these rules or anything so no idea what they do or why they are there.
- This reply was modified 7 years, 5 months ago by metrostudios.
- This reply was modified 7 years, 5 months ago by metrostudios.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”Okay, so something is definitely off. None of the autosaves or the manual saves (clicking update) are returning anything as you said.
https://gyazo.com/a10065bf5d556862a7290387a615d8b1
They are all returning this. The only one that starts with a JSON like object are ones for admin-ajax.
Forum: Fixing WordPress
In reply to: Gutenberg “Updating Failed”https://gyazo.com/fc1fe3aa0a04161b8c46990058a0ef6a
I don’t think this is exactly what you meant. I guess how can I tell the REST API calls apart from all of the other ones and also I’m assuming you are looking for what is in the Response tab correct?