PDA

View Full Version : Getting database error emails despite removing email for config file


kurt@triffetdes
01-21-2017, 12:16 AM
Getting database error emails despite removing email in config file.
I went into the config today, and saw that I've not ever entered an email.
How did the notification errors find me?

How do I fix this?

Thanks!

Dave
01-21-2017, 12:17 AM
So in /includes/config.php, the variable $config['Database']['technicalemail'] = 'dbmaster@example.com'; is left empty?
Do you have PHP caching extensions enabled? Might have to restart PHP-fpm/cgi in order for the changes to take effect.

Lynne
01-21-2017, 12:53 AM
And also, if you have Queued Emails, then the email is already set for those. Do you have any Queued Emails shown on the main page of the /admincp?

kurt@triffetdes
01-21-2017, 07:21 PM
No caching. It's been sending errors for months, but only recently have I been getting so many, that it's clogging my mailbox. Not worth the time to try and decode the errors.
No idea how it's getting my email.

--------------- Added 1485034032 at 1485034032 ---------------

0 Queued Emails, and the admin contact listed in the CP is not the email that all the errors are going to.

kurt@triffetdes
01-24-2017, 09:10 PM
Any other ideas?
TIA

Dave
01-24-2017, 10:05 PM
Try this: AdminCP > Settings > Options > Error Handling & Logging > Disable Database Error Email Sending > Set to "Yes".

RichieBoy67
01-24-2017, 11:10 PM
Would also be a good idea to maybe try fixing the actual database error. :)

kurt@triffetdes
01-29-2017, 08:04 PM
Would also be a good idea to maybe try fixing the actual database error. :)

Easier said than done. ;-) Part of it, after substantial time with web.com techs, was that they moved the database. My bigger issue was that after I updated the PHP version, their new servers cap the database size to 300MB. Mine was 421. Now, I'm locked out until I can figure out a way to clean up my database. Optimizing through their control panel does nothing. Forum has been down since.

Are their certain tables I can simply trash?

Paul M
01-30-2017, 12:58 AM
Are their certain tables I can simply trash?
No - and you seriously need to move to a proper host a.s.a.p.
Capping a database like that is the stupidest thing I have ever heard, sounds like a total mickey mouse outfit.

kurt@triffetdes
01-30-2017, 03:03 PM
No - and you seriously need to move to a proper host a.s.a.p.
Capping a database like that is the stupidest thing I have ever heard, sounds like a total mickey mouse outfit.

Doing that this week. Web.com is the culprit.