Helpful Docs to read before posting: (All Docs) | Config Docs | General FAQ | Mailing List Sending FAQ | Error FAQ

Undefined subroutine &Params::Validate::validate called

Can't get Dada Mail to send messages?

Undefined subroutine &Params::Validate::validate called

Postby bhhanxue » Sun Apr 15, 2012 6:13 pm

There Seems to be a Problem

SQL Connect Error

There's been a problem with connecting to the SQL server. Make sure your login information is correct.

Complete error message:

Undefined subroutine &Params::Validate::validate called at /DADA/App/Guts.pm line 636, line 1.


I found that my host space usage is rising up dramatically and is going to get its limit, so need to delete some files. found that the files named "core1056" "core2351" for example, are newly generated and they are big files, 20~40M each and there are tens of these files, so I delete them. there are two folders which have these files, one is directly under /dada/ folder, and the other is under/dada/plugins/, when I delete these files under /dada/ folder, there is no problem and I still send mails for many days, but after I delete these files under /dada/plugins/, i sent mail normally for a while, but after a night, I go the the program again it tells above problem.

I do not know if it is the reason which I described above that cause the problem, just tells what I did before the problem. Can anyone help? Thanks in advance.
bhhanxue
 
Posts: 10
Joined: Thu Mar 15, 2012 9:53 am

Re: Undefined subroutine &Params::Validate::validate called

Postby justin » Sun Apr 15, 2012 8:19 pm

core files are usually a bad sign, they're there so someone can pick through them and see what may have happened. Seeing as they're so big, it's not always a fun task.

This error:

Code: Select all
Undefined subroutine &Params::Validate::validate called at /DADA/App/Guts.pm line 636, line 1.


May be related to this bug:

https://github.com/justingit/dada-mail/issues/262

Which was fixed in 5.0.1
User avatar
justin
 
Posts: 4583
Joined: Wed Feb 13, 2008 8:41 pm
Location: Denver, CO

Re: Undefined subroutine &Params::Validate::validate called

Postby bhhanxue » Sun Apr 15, 2012 11:50 pm

thanks for your fast reply. according to viewtopic.php?f=4&t=2921, i delete the, dada/DADA/perllib/Params directory, and then try to install MouseX::Params::Validate (0.04) and Params::Validate (1.06) via cpanel CPAN, but it says failed. However, when I come back to dadamail, it works! Thank you.
bhhanxue
 
Posts: 10
Joined: Thu Mar 15, 2012 9:53 am

Re: Undefined subroutine &Params::Validate::validate called

Postby bhhanxue » Thu May 03, 2012 6:49 pm

is there a way to not generate the core files. because my host plan have only 3G space but not unlimited, after other scripts installed, i do not have much space, so need to delete these files every day. but i still recommend this host because it allow to send 1000 emails per hour. but there is another problem, in mass mailing preferences, i set send 1 email per batch and then wait and sleep 5 seconds, 2 email per batch then wait 10 seconds, 4 emails per batch and then wait 20 seconds, under all of these situations the system notify that Messages will be sent at a rate of up to 720 Messages/Hour. but I find that whatever the situation, it can not get to this rate and usually much lower rate except at the very beginning of the mailing. however, 1 email per batch and then wait and sleep 5 seconds, this is the fastest according to my experience. i do not dare to set over 1000 messages/hour to get a result that it send at a rate of actually less than 1000 messages/hour because i ever did this and there are bounce email said send quantity limit.
bhhanxue
 
Posts: 10
Joined: Thu Mar 15, 2012 9:53 am

Re: Undefined subroutine &Params::Validate::validate called

Postby justin » Thu May 03, 2012 8:53 pm

is there a way to not generate the core files.


It's not something that I believe is configurable, it really, really shouldn't be dumping core. As I mentioned, it probably means something isn't working very well.

but I find that whatever the situation, it can not get to this rate and usually much lower rate except at the very beginning of the mailing.


Well, you're not setting the speed here, you're setting how many messages go out in a batch, and then the time between. Slight, but important difference. This is mentioned in the FAQ

http://dadamailproject.com/support/docu ... ch_sending

I'm sure the program dumping core is not helping this.
User avatar
justin
 
Posts: 4583
Joined: Wed Feb 13, 2008 8:41 pm
Location: Denver, CO


Return to General Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Loading