My Account, Log In, not loading page error, why?
-
Hello
Recently i made a post in WordPress Support forum.
I have an error:
[Unknown column ‘attackLogTime’ in ‘field list’]
SELECT MAX (attackingLogTime) FROM ***_wfHitsCan you help?
I have outlined the detail below:
scoozerdoops
Member
Posted 1 week ago #Hello
I’m running WordPress 4.5.3.
And WooCommerce 2.6.1, and WC Vendors 1.9.1.
I’m running other Woo plugins too.
Woo currency switcher
Woo auto added coupons 2.3.1
Custom product tabs lite
Direct checkout
Product fees
Smart manager for wp e commerce 3.9.16Ok.
The site has been working fine during development. Until now.
When i go to the My Account, Shop Settings, or Orders pages, then the Firefox browser says that it might be set to not accept cookies.
But when i clear the cookies in option the problem persists.
I was chugging along fine.
I pulled some pages out of trash, and changed their URL’s, using Search Replace DB. All this went like clockwork.
Later, i logged out of wp-admin.
Then i went to my test profile to login at localhost/my-account but no luck.
I restarted and no luck.
What do you have in mind? To fix this problem?
Thank you in advance.
RossMitchell
Member
Posted 6 days ago #Have you tried different browsers ? Firefox / Chrome / Safari / InternetExplorer maybe you will get a different and informative reaction.
Have a look at your webserver error logs, there may be some clues there.
Turn on DEBUG in your wp-config.php file, find the line:
“define(‘WP_DEBUG’, false);”
and change it to:
error_reporting(E_ALL); ini_set(‘display_errors’, 1);
define( ‘WP_DEBUG’, true);You can turn these off later, be sure to do this before you deploy the site.
scoozerdoops
Member
Posted 4 days ago #Hello RM
Thank you for your help.
I am fairly new to WP, and a bit rusty at web development, thus i forgot about viewing error.
The error is:
[Unknown column ‘attackLogTime’ in ‘field list’]
SELECT MAX (attackingLogTime) FROM ***_wfHitsI did some further research and found this post here:
I think the post i made a for this problem should be moved to that location though…
But i still have problems.
I have increased the php.ini memory to 512M,.
And the wp-config.php i have added this:
define(‘WP_MEMORY_LIMIT’, ‘512M’);
define(‘WP_MAX_MEMORY_LIMIT’, ‘512M’);Also, once i had already updated the memory to 512M in both php.ini and wp-config.php and rebooted then re activated Wordfence plugin then my db was still not like this:
id
attackLogTime
ctime
IP
jsRun
statusCode
isGoogle
userID
newVisit
URL
referer
UA
action
actionDescription
actionData*****But instead it is like this:
id
ctime
IP
jsRun
statusCode
isGoogle
userID
newVisit
URL
referer
UAIt looks like i have 4 tables missing. That are:
attackLogTime
action
actionDescription
actionDataThank you for your help Ross.
I am sure once this post is relocated i’ll have many people jumping on board.
Thanks again.
scoozerdoops
Member
Posted 4 days ago #Oh, BTW, i uploaded WF 4.6.12 before activating again.
scoozerdoops
Member
Posted 4 days ago #Typo, that should be: 6.1.12
RossMitchell
Member
Posted 4 days ago #How did your tests using a different browser go ?
Are cookies enabled in your browser ?
I would be surprised if the PHP memory settings are causing this.scoozerdoops
Member
Posted 3 days ago #Hello again
Thank you for your reply. I am still baffled by this problem.
I tried to upload Safari, but it isn’t for windows anymore. And i don’t have a Mac.
I tried to upload Chrome, and it wanted to connect to the internet. I am running localhost on a machine well away from any internet connection.
I used IE browser, and it wouldn’t load the My Account page. It seems the problem is persistant across many browsers. At lease IE and Firefox.
I still don’t know what to do?
Do i manually create the columns that are missing for wfHits table? Is this wise? Or not?
I did everything recommneded. I deleted the tables. Reinstalled the Wordfence plugin too. I checked the columns and 4 are missing.
Thank you for your help RossMitchell, it is very much appreciated. I don’t know what i’d do without member input here. It is great to see a healthy forum amongst fellow WP users.
Thank you again.
RossMitchell
Member
Posted 2 days ago #If you are not even near the internet then why do you need Wordfence ?
Disable wordfence plugin, what happens then ?
Disable your other plugins, are any of them causing the problem ?scoozerdoops
Member
Posted 2 days ago #Ok.
When i disable Wordfence, and delete its db’s, then the error disappears completely.
I’m building a site with security in mind.
I’d prefer to use Wordfence when its live…
Thank you again. I’m confident this problem will be solved.
Whether after my site is live, or before isn’t the matter.
It’s just great to have help.
scoozerdoops
Member
Posted 2 days ago #Hello again
I just disabled every plugin.
Then i activated Wordfence.
But still only 11 fields in the wfHits table. Not 15.
Do you think i should contact Wordfence support?
Maybe that would save you time RossMitchell. I understand you must be very busy too.
Let me know your thoughts.
Thank you
RossMitchell
Member
Posted 18 hours ago #Yes let Wordfence know that in your unusual situation that they have a bug.
For yourself, once you make your site live, then activate Wordfence then.Reply
- The topic ‘My Account, Log In, not loading page error, why?’ is closed to new replies.