kriss8416
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Class ‘WP_Post_Type’ not found inHi Tferral,
I was going to move the site and I noticed that: the home page is as it was before all that occurred, but if you click on “reading more” in the post, or on images they aren’t any more!Instead appears the page “Oops! That page can’t be found” and you are on the new Wp installation…
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Class ‘WP_Post_Type’ not found inYep, I want to move the site from WP subdirectory to the root.
That’s where it all started :-D!If you don’t mind give me the detailed instructions it would be the ideal otherwise I could stick to the points you wrote, it’s not a problem! Anyway thanks you a lot!
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Class ‘WP_Post_Type’ not found inYou are my hero! 🙂
It did work!!I can now access both admin and home page!
And there are all my contents!!!
Thank you so much :-)!!The name of the subdirectory containing the messed up copy of WP is “WP”
I wait for new instructions.Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Class ‘WP_Post_Type’ not found inHi Tferral,
your explanations were really clear and actually, you guessed every step I took!I stuck to your instructions and now I have an installation of WP that works.
As you were suggesting that it’s always better to ask, so here the question is:
What I have to do to transfer all the previous contents into this new installation?
Should I do it by using Filezilla?
Thank you again for your help!- This reply was modified 7 years, 1 month ago by kriss8416.
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Class ‘WP_Post_Type’ not found inHi Tferral,
thank a lot for your help.
Yes, I was trying to move the wp installation to the root.
The website where I found the instructions is this: https://www.alfonsostriano.it/spostare-wordpress-da-una-sottocartella-alla-cartella-principale/
I did the backup following the instructions of this website: https://www.unsitoweb.it/come-eseguire-il-backup-per-un-sito-wordpress.html
Those are in Italian but I hope they could easily be translated with google translator.
The site in the subdirectory doesn’t work, it is screwed. I can’t even get to the admin pages.
When I say that I removed the site file from the builder I mean that I went to FileZilla, clicked on the root (www.example.com) to open it, selected all the directories (.htaccess, softaculous and cgi-bin) except the wp one and deleted them.
Then I went to WP admin dashboard, general settings, web site URL and I changed the URL: from “https://example.it/wp ” to “https://example.it/”
After I returned to FileZilla, I cut and pasted index.php from the subdirectory WP-Admin to the root, I modified it in this way:
From:
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
To:
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );
As those operations weren’t successful I went to Filezilla, select the root (www.example.it) and deleted it.
Then I opened the BackUp Directory, I selected all the directories and uploaded them to the Server.
I hope I have been more clear this time but if it’s not, ask me for more information and I will try to answer you. Thank you again for helping me!Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Class ‘WP_Post_Type’ not found inThank you T-P
I created a.htaccessfile in root folder but I’m still getting the same error… 🙁