Page 1 of 2

[SOLVED]MultiThread Addon not sending

PostPosted: Thu Jul 10, 2014 2:22 pm
by sid
Hi,
I've installed and activated the MultiThread addon successfully but when I try to send a campaign it gets stuck and in the Email Scheduler just says " In Progress (Sent 0 / 6)"
I've checked the cli.php --status and the threads remains at 0%

Hope you can help me to get things moving
Many thanks!
---
Sid

Re: MultiThread Addon not sending

PostPosted: Thu Jul 10, 2014 3:43 pm
by MaBoRaK
loading........

Probably your php.exe binary was not detected, please modify:

multithread/config/config.php

The next lines
Code: Select all
define("MULTITHREAD_FORCE_PHP_PATH",false);   //path to PHP , sometimes: /usr/bin/php
define("MULTITHREAD_PHP_PATH","/usr/local/bin/php");   //path to PHP , sometimes: /usr/bin/php


change to:

Code: Select all
define("MULTITHREAD_FORCE_PHP_PATH",true);   //path to PHP , sometimes: /usr/bin/php
define("MULTITHREAD_PHP_PATH","/usr/local/bin/php");   //change here, probably: C:\php.exe


Change the value "MULTITHREAD_PHP_PATH" to your correct php.exe binary location.

Thank you.

connection closed.

Re: MultiThread Addon not sending

PostPosted: Fri Jul 11, 2014 9:40 am
by sid
Hi
I've tried with both:

Code: Select all
define("MULTITHREAD_PHP_PATH","C:/Progra~2/PHP/v5.4");

and
Code: Select all
define("MULTITHREAD_PHP_PATH","C:/Program Files (x86)/PHP/v5.4");   


both neither worked
is there a way to test and see if the path is working for the addon?
Thanks

Re: MultiThread Addon not sending

PostPosted: Fri Jul 11, 2014 11:57 am
by MaBoRaK
loading.........

nono, you need to put the path to php.exe
In your case probably is:

Code: Select all
define("MULTITHREAD_PHP_PATH","C:/Program Files (x86)/PHP/v5.4/bin/php.exe");


connection closed.

Re: MultiThread Addon not sending

PostPosted: Wed Jul 16, 2014 11:19 am
by sid
HiHi,

How can I check whether the path is recognised correctly or not?

I've tried
Code: Select all
C:\Program Files (x86)\PHP\v5.4\php.exe

and
Code: Select all
C:/Program Files (x86)/PHP/v5.4/php.exe


but it just doesn't seem to work. so wondering how we can diagnose further, maybe there's a log file I can check?

Thanks

Re: MultiThread Addon not sending

PostPosted: Wed Jul 16, 2014 8:21 pm
by MaBoRaK
loading.......

There is a log file located in:

Code: Select all
/path/to/Interspire Email Marketer/admin/addons/multithread/install/backup/thread_logger/job_XYZ/log.txt


Where XYZ is the job ID, and you can check the log id with this method ( https://www.maborak.com/forum/installation-and-configuration/tip-how-get-the-jobid-t76.html )



connection closed.

Re: MultiThread Addon not sending

PostPosted: Thu Jul 17, 2014 5:27 am
by sid
Hi,
There doesn't seem to be any errors or failiures in the log but the last line:

Code: Select all
[July 16 2014 16:20:01] Starting CRON Thread:ID: 30, Command: "" "D:\Websites\www.xxxxxx.com\emailmarketer_v6.1.3\admin/cron/cron.php" --jobid=330559 --multithread-shoot=30


seems a bit odd, should there be a path to the php.exe after the Command: bit? at the moment it's just ""

At the moment it's still stuck at Sending 0/6 and doesn't move.

Re: MultiThread Addon not sending

PostPosted: Thu Jul 24, 2014 9:02 pm
by MaBoRaK
loading.......

Hello, after our last session, please share with us if the PHP path problem has been fixed.

Cheers.

connection closed.

Re: MultiThread Addon not sending

PostPosted: Thu Jul 24, 2014 11:44 pm
by sid
Hi
Thanks for the session, that resolved the issue and now my campaigns are sending really really fast!

In my case I was hosting under a Windows Server and below are the configs I changed:

Set this to true
Code: Select all
define("MULTITHREAD_FORCE_PHP_PATH",true);


Set full path to php.exe with / in path backslash will escape some characters otherwise.
Code: Select all
define("MULTITHREAD_PHP_PATH","C:/Progra~2/PHP/v5.4/php.exe");

Re: [SOLVED]MultiThread Addon not sending

PostPosted: Sun Feb 01, 2015 12:44 pm
by uddhab
need help need help need help need help need help ...........................

hi i install MultiThread addon,
i think it not working
can any one tell me why
need any corn setting for this.
when i active MultiThread i see something wrong
Image