News:

AbanteCart v1.4.2 is released.

Main Menu
support

Error when send newsletter

Started by Trendslink, April 28, 2016, 09:44:57 AM

Previous topic - Next topic

Trendslink

Can somebody help me about this error? i'm newbie here. I trying to send newsletter to subscriber and other users


Basara

Hello.

Can you check for last few errors in your AbanteCart error log?

Trendslink

#2
Error log

Quote2016-04-28 13:51:46 - App Error: AbanteCart core v.1.2.6 Cannot run task step #69. Unknown settings for it. in /home/trendsli/public_html/admin/controller/task/sale/contact.php on line 161

2016-04-28 13:51:46 - warning: AbanteCart core v.1.2.6 Invalid argument supplied for foreach() in <b>/home/trendsli/public_html/admin/controller/task/sale/contact.php</b> on line <b>119</b>


What i found at line 119 public_html/admin/controller/task/sale/contact.php

Quoteforeach($step_info['settings']['to'] as $to){


What i found at line 161 public_html/admin/controller/task/sale/contact.php

Quote$error = new AError($error_text);

abolabo

Looks like your scheduled tasks steps cannot be finished..

can you post data from database tables "tasks" and "task_steps" here?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Trendslink

#4
Quote from: abolabo on May 04, 2016, 11:32:38 AM
Looks like your scheduled tasks steps cannot be finished..

can you post data from database tables "tasks" and "task_steps" here?


Is it this one?

Quote-->
- <pma:structure_schemas>
- <pma:database name="trendsli_xxxx" collation="latin1_swedish_ci" charset="latin1">
  <pma:table name="abpc_tasks">CREATE TABLE `abpc_tasks` ( `task_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `starter` int(11) DEFAULT NULL, `status` int(11) DEFAULT '0', `start_time` datetime DEFAULT NULL, `last_time_run` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `progress` int(11) NOT NULL DEFAULT '0', `last_result` int(11) NOT NULL DEFAULT '0', `run_interval` int(11) NOT NULL DEFAULT '0', `max_execution_time` int(11) DEFAULT '0', `date_added` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `date_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`task_id`), UNIQUE KEY `task_name_idx` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;</pma:table>
  </pma:database>
  </pma:structure_schemas>
- <!--

abolabo

no.. we need data (content) of tables. not structure.
P.S. you can send me it as  private message.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Trendslink

Quote from: abolabo on May 04, 2016, 02:28:18 PM
no.. we need data (content) of tables. not structure.
P.S. you can send me it as  private message.

PM sent

abolabo

bug related to database column type limitation.
To solve it just run this query via phpMyAdmin

ALTER TABLE ac_task_details
CHANGE COLUMN `settings` `settings` MEDIUMTEXT NULL DEFAULT NULL ;

ALTER TABLE ac_task_steps
CHANGE COLUMN `settings` `settings` MEDIUMTEXT NULL DEFAULT NULL ;


where ac_ - your table name prefix
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -