I have built a pretty big wordpress website, and wanted to move to different hosting and domain...
I moved files, database, changed wp-config file and even changed all mentions of old domain to new one in the mysql database content.
Also, I had to change TYPE=InnoDB to ENGINE (manually), but I don't think it could cause some problems.
So, the problem is that, the website doesn't show any content, menues... etc. I can only see header and footer. Admin Panel works but when I go to pages/media It shows 0 result... nothing is there. However, phpMyAdmin shows that the pages, posts... etc. is on place.
What could the problem be?
Thanks
The problem was in database compatibility, I set it as MySql323 and it worked for me.
Related
Context: I have a WordPress site on Bluehost with a theme by Thrive. I set the 'homepage' to a Landing Page that I'm dubbing id 51 (post id is 51). We launched the website with a new Landing Page (id 399). This page is completely fresh, new title, new content, new everything. I changed the "Front Page" or "Homepage" in the General > Reading to this new LP. Everything seemed to be flawless. I deleted the old page (moved it to trash, but never emptied it). This same day, we noticed that when we type in our URL on this nice MacPro on Chrome, everything is fine; however, when browsing to the same URL on, say, Safari, it somehow pulls up that old content--deleted content.
I'm clearly not knowledgeable, but I can get into and investigate things:
So far, I've tried:
clearing individual browser caches from a visitor's perspective. Unsuccessful.
Purging All from the cache within WordPress
This appeared to work for maybe 8-12 hours before we discovered the browser went BACK to the BAD/OLD content. I will say, by Default, I believe Bluehost has that cache level set to 1, maybe? Assets only? 2 months ago, I set it to 3 with performance in mind while building out the website. Could be storing there? ...but I PURGE it, and it returns later... That doesn't compute in my computer. Now, I've set it to 0 and the issue is currently gone, but I'm not gonna hold my breath.
I restored the old page, id 51, from the trash, and tried renaming the slug hoping it wouldn't find it, haha. Then, I even imported the correct, modified theme template from post 399 to post 51 hoping I could just treat the wound rather than solve it. (Thrive has an "architect" feature for WYSIWYG building so I kinda cut and paste.) This appeared to work temporarily as well.
My next step was to dive into the database. I've gone through the entire thing, even unrelated website databases on my host through phpmyadmin. I can't find a single reference to the old title, slug, or its content. post id 51 has my updated information as well. In fact, it's showing all of the corrected content from when I overwrote it.
All that said, The page is totally fine, and ALWAYS fine on Chrome, but Safari browsers seem to work for a while, then revert to this pesky page. I don't know enough about how a page loads to trace 1) why it loads incorrectly on a particular browser, and 2) where it would even pull outdated, DELETED content/data from to begin with...
I just feel like I broke something, and currently, am praying to the WordPress gods that 0 caching will permanently solve this ghost-site issue...
I'll update this in a few days if the problem stays away, or sooner if it persists. Hopefully, someone can point me in the right direction. Sorry for the lengthy novel. Trying to be detailed as this is my first post and I wanna be as detailed as possible as I'm just not knowledgeable enough... Thank you.
So, there's a code that I've recycled multiple times on sites as it's well liked by my company. I am trying to update and recreate my portfolio due to my old hosting company wiping my entire file system. My fault for not having a back up, but lesson learned. Makattak.com Using this code here, I am unable to get anything to display.
A site I've used it on is here: Bowhunting.com
Here is a photo of my repeater field in ACF. I followed the same structure but still cannot get anything to display.
Can anyone offer some suggestions as far as what I am doing wrong? I've tried cutting things out, I've tried rebuilding from scratch, I just can't seem to get the loop to happen.
I am using the latest version of WordPress, and the latest purchased copy of ACF: Advanced.
I know this my sounds stupid but, did you assign the template to a page and select the page on the wordpress Reading settings?
Thanks to both Dre and Raul Cruz, I was able to find the issue.
I didn't set the Reading Settings to Home Page, static.
I revamped my code to change the_sub_field('field'); to
get_sub_field('field')
a change I made while debugging but didn't revert back
There was an issue with my syntax, and when writing the code back in, line by line, testing after each line, I was able to get what I needed back in working order
Thank you both for the help.
I moved my WordPress website to another server and URL, and now my homepage is coming up blank, even when I preview it in the dashboard.
EDIT: I tried to jerryrig it so that an index.html file would redirect to a faux homepage (start.php), and I'd then change my menus. But when I used my homepage template, I got a blank result, even if the page wasn't set as my home page.
your problem is a plugin Contact Form 7 ( I just deactivate this plugin).
Pdt: Change the admin password.
It's possible these error log errors may have existed on your other site- they don't seem like deal breakers.
Here are some things I often try to troubleshoot when come across problems in moving sites:
Flush permalinks (Settings->Permalinks and hit Save)
Make sure you changed the url in wp_options (home and siteurl)
If your Dashboard is coming up, that's a good sign. Make sure your database has been imported, and that the correct theme is activated
To troublesheet, start deactivating plugins (try deactivating all first and add them on one by one)
Check that the PHP (and MySQL) version of your new server matches your old server (http://php.net/manual/en/function.phpinfo.php)
Check that the settings for PHP shorthand are the same on both servers (broke one of mine for me once: http://www.php.net/manual/en/ini.core.php#ini.short-open-tag)
Check that your php.ini file for your new server matches your old one to some extent- something breaking could be due to a different setting (this option is similar to the previous suggestions)
Good luck!
You likely had this issue before, but error reporting was set not to show E_NOTICE. This is the default, to show all errors except E_NOTICE
error_reporting(E_ALL ^ E_NOTICE);
the best way to move wordpress server is to use a importer .There are many importer plugins for that purpose .I suggest you to have a fresh installation and than import the posts that would solve your problem in the process
There is something that does an output before the header is send....
if you see the message, cannot modify header.... click on show source of the browser and look what invokes the output directly before the first <br />
<br />
<b>Warning</b>: Cannot modify header information … in <b>…</b> on line <b>…</b><br />
I have a drupal site which I deved a few years ago. We duplicated it to a new site/domain/db (which pulls from a subdirectory of the original site)
I tried to only duplicate the site settings (views and content types), and leave out all the site node data (it is a content driven site, and we are launching a sister site). Everything wen OK. Unfortunately, in the new site, I find that I cannot update "site information" (which means I cannot set my front page). I tried to update the data in the DB, but that let to the relevant site settings field to appear blank
I i had to implement a ridiculous hack to deal with the fact that the front page is now technically a 404. Even more weirdly, the original site has the same problem now (all I can guess is that I updated the table from the wrong DB by mistake?!? ).
As best I can tell, this data is stored in "variable" in the DB. I have imported a good "variaable" table from an old copy of the site, but to no avail.
So I am completely stuck. If anybody has any leads whatsoever, I would be incredible grateful.
Thanks!
I moved my old site to my new url http://www.polestardistribution.com with no problem. Imported the old files, imported the old database, everything was super smooth until I checked the sites pages and posts.
For some reason I have to use the default permalink settings, no other settings will work and throw me into a redirect loop to no where.
Any suggestions would be great, I'm willing to try anything.
I'm using Yahoo! hosting,not by my choice, if that helps.
try replacing any instances of your old domain name in your database and .htaccess file with the new domain name.