[SOLVED]MultiThread Addon not sending

Forum to discuss Optimizations and Implementation of threads connections for SMTP

[SOLVED]MultiThread Addon not sending

Postby sid » Thu Jul 10, 2014 2:22 pm

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
sid
 
Posts: 5
Joined: Thu Jul 10, 2014 2:09 pm

Re: MultiThread Addon not sending

Postby MaBoRaK » Thu Jul 10, 2014 3:43 pm

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.
CEO in Maborak Technologies and Interspire Addons Developer
MaBoRaK
Site Admin
 
Posts: 120
Joined: Thu Jul 18, 2013 10:41 am

Re: MultiThread Addon not sending

Postby sid » Fri Jul 11, 2014 9:40 am

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
sid
 
Posts: 5
Joined: Thu Jul 10, 2014 2:09 pm

Re: MultiThread Addon not sending

Postby MaBoRaK » Fri Jul 11, 2014 11:57 am

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.
CEO in Maborak Technologies and Interspire Addons Developer
MaBoRaK
Site Admin
 
Posts: 120
Joined: Thu Jul 18, 2013 10:41 am

Re: MultiThread Addon not sending

Postby sid » Wed Jul 16, 2014 11:19 am

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
sid
 
Posts: 5
Joined: Thu Jul 10, 2014 2:09 pm

Re: MultiThread Addon not sending

Postby MaBoRaK » Wed Jul 16, 2014 8:21 pm

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.
CEO in Maborak Technologies and Interspire Addons Developer
MaBoRaK
Site Admin
 
Posts: 120
Joined: Thu Jul 18, 2013 10:41 am

Re: MultiThread Addon not sending

Postby sid » Thu Jul 17, 2014 5:27 am

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.
sid
 
Posts: 5
Joined: Thu Jul 10, 2014 2:09 pm

Re: MultiThread Addon not sending

Postby MaBoRaK » Thu Jul 24, 2014 9:02 pm

loading.......

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

Cheers.

connection closed.
CEO in Maborak Technologies and Interspire Addons Developer
MaBoRaK
Site Admin
 
Posts: 120
Joined: Thu Jul 18, 2013 10:41 am

Re: MultiThread Addon not sending

Postby sid » Thu Jul 24, 2014 11:44 pm

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");
sid
 
Posts: 5
Joined: Thu Jul 10, 2014 2:09 pm

Re: [SOLVED]MultiThread Addon not sending

Postby uddhab » Sun Feb 01, 2015 12:44 pm

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
uddhab
 
Posts: 3
Joined: Sun Feb 01, 2015 10:20 am

Next

Return to Multithreading

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest