after wordpress site hacked only displaying white page - wordpress

Recently a clients site got hacked on Rackspace and since then I have been trying to recover certain items on the site.
I have cleaned everything up and did a framework upgrade.
Now when I am trying to install something new, make changes, or simply post an update it renders a white page after success...
I have disabled all my plugins and still the same issue.
Have any of you experienced this before and what are some of the steps you could give to recover this...
Thanks in advanced.

Ok, so I have managed to find some good tips that has helped.
Ultimately disabled all plugins, reinstalled wordpress, there were some issues in the following files.
wp-config.php, pluggable.php and class.wp-scripts.php - all these missed a closing ?>
And make sure that your themes functions.php file doesn't have any whitespace.

Related

Wordpress - Theme stuck at loading after migration

I have been recently tasked to migrate a Wordpress page to another hosting services. Task, which should be quite easy, took me last 2 days and I still can't figure out what is wrong. After migrating (tried it with Duplicator plugin, manual copying and changing links in database) pages won't load. I managed to get into backend and after changing theme to any default Wordpress theme (twentysixteen, twentyseveteen etc.) site works fine but when I try use designated theme (Proxima, https://themeforest.net/item/proxima-responsive-business-multipurpose-theme/8094780) it just won't load. Page is trying to load but in the end it shows 503 error. Same thing if I want to see the preview of theme in backend, loading animation appears and nothing happened. I tried a lot of things to fix it: changing file permissions, disabling plugins, updating Wordpress, downgrading Wordpress, changing php version, changing MySQL version and nothing works. My theme support has expired and before I renew it I just wanted to ask if anyone had that problem before. Maybe there is super easy fix and I just don't see it.
Thanks in advance for any help
Problem solved with hosting support. Bad media path was the problem.

Wordpress post text area missing issue

I have an issue that is in wordpress when i click on add new post button the post form appears it is showing everything on that form except the main content text area it's simply not there. I just updated my wordpress and this happens.
Now I have also downgraded my wordpress to previous version but still same issue.
Can anyone help me please.
Make sure all your plugins and theme are up to date, compatible with 4.8.1
Flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as CloudFlare.
If that does not resolve the issue, try deactivating ALL plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
Or
Edit manually wp-config.php file.
Find the line
define('DISALLOW_FILE_EDIT', true);
(it is probably true by default installation)
and change in
define('DISALLOW_FILE_EDIT', false);
That might solve your issue. Hope this will helpful for you.

Wordpress Dashboard broken, displays “flashbacks” of comments/plugins/updates

I’m using the latest version of Wordpress (4.7.4).
I have something very weird going on in my Dashboard. Not sure when this started.
Can’t say for sure it started with the latest version of Wordpress or not.
My Dashboard became completely useless.
It’s like it’s showing me a flashback of a Dashboard from a few days or hours ago:
Comments I’ve deleted in the Dashboard (hitting “trash”) are suddenly back there, awaiting my moderation.
Plugins I’ve deactivated or even deleted are all back there and according to Dashboard still running (while in my FTP folder they’re certainly gone).
The plugin page cannot be trusted anymore as it shows some plugins are activated that aren’t and vice versa. I have to check on my actual website to confirm which ones are running.
Updates aren’t shown correctly. Once I’ve updated a plugin, a few minutes later it shows me again that there’s a new update.
As you can tell it’s all pretty much the same phenomenon.
It’s as if I’m seeing an older version of my Dashboard.
Not sure what else is broken.
The only other thing I noticed is that even on my actual blog I still see a comment. Blog post says “1 comment”, but the actual comment doesn’t show up.
At first, this all sounds like a “cache problem”.
But I’ve already turned off all caching:
No caching plugin installed
Turned off server caching via htaccess
Disabled leverage browser caching
Emptied my own browser cache
Other things I tested:
Turn off all plugins.
Switch to the standard Wordpress theme “Twenty Twelve”
I tried WP_DEBUG, but nothing related shows up.
I researched the internet, but nobody has described a similar problem, so I suppose this is not a common Wordpress issue.
The issue remains.
Unfortunately I’m not a developer and don’t know too much about the Wordpress codex etc.
But to me it sounds that the mistake is definitely not in the plugin or theme folder.
The problem is that I’ve reached the point where I really cannot turn off plugins via Dashboard properly anymore. It’s so annyoing!
My questions are:
Is it safe to assume that this is related to the Wordpress core
files?
What files exactly are in “charge of” the Dashboard?
Should I just try to re-download the newest Wordpress version and replace a few files (if so which ones)?
Should I do a clean Wordpress re-install or would that be too drastic?
Any other suggestions?
EDIT:
Additionally I tried now:
I manually downloaded the newest version of Wordpress and did just as
described on the Wordpress.org website. I manually replaced wp-admin,
wp-include folders and all root files. The issue remains...
The way my Dashboard is right now, I really can’t use it.
Please advice!
I contacted my host service again.
They just gave me the same line to insert into my .htaccess file and I told them I already tried it and it didn't work.
I then showed them my .htaccess file and they deleted the whole part that concerned their server caching.
Now server caching is completely off and everything works again.
Still not sure why this previously never caused issues.
In the end, it had nothing to do with Wordpress.
I hope this answer will help people who run into similar problems.

WordPress: Theme Migration

I'm trying to help move a website, and I copied a clean version of the twentyfourteen themes from spot A into spot B, but it did not take effect.
Our site (as mentioned earlier) had been injected, so we're relocating our site with a fresh install. On the original WordPress site export did not work properly for the pages, so I do not think it would work for a theme.
Does anyone had any tricks they'd like to share?
Thank you!
The original theme seems to be stuck as the active theme in your database. Do you have any plugins running yet? ...More specifically a plugin that can cache your site?
If there aren't any plugins running, it's probably stuck in your server's cache and needs a bit of time to roll over.

The whole wordpress website got RESET

My wordpress blog was working perfectly fine, until one day when suddenly my blog got down. All I could see was a blank white page. I still don't know the reason.
But initially, I was able to figure out the Debug messages, which were some compatibility issues between prototype of function Walker() and some theme function extending Walker(). So, I somehow managed to resolve those issues, by changing the theme function prototype.
But still, I could only view a blank page without any error. Then, I went through my child theme files and I found that there was some PHP code written to upload image file in child "style.css". Fortunately, I had backup of my Blog so I restored my child style.css.
After so many efforts, I still couldn't restore my complete Blog.
Although, All the posts and everything is there in DB, but I can't see any post on my Blog and Admin panel. It seems that my created categories are no longer there in Admin panel, when I restored theme.
Can anyone please help me to find out...
Why it happened and How my blog got reset ?
How can I restore my blog and reflect all my posts from DB to Admin-panel & Blog ?
It looks like somebody hacked you up. And, edited some files on your server.
Wordpress, actually doesn't offer any backup features. But, most of the web hosting services have a usual backup option. So, you might consider that.
Or, if your Wordpress database is right in place, as before, then you the possible error is that your Wordpress core files are corrupted or edited by anyone. So, you might consider, deleting your Wordpress and reinstalling it, (without deleting your databases). This would not affect your blog at all, because all Wordpress information is stored in the databases. But, remember to backup the files of wp-content folder and copy them to your new installation.

Resources