Cronjob problem after upgrading to 3.0.7

Once you've installed phpList... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

Cronjob problem after upgrading to 3.0.7

Postby niravshastri » 11:26am, Tue 26 Aug, 2014

In new version of phplist 3.0.7 below cron is not working....

http://www.mydomain.com/emailer/admin/
index.php?page=action&action=processqueue&login=username&password=pass

It gives error of ""Error, incorrect session token""

Please reply solution....
niravshastri
phpLister
 
Posts: 10
Joined: 12:12pm, Fri 28 Feb, 2014

Re: Cronjob problem after upgrading to 3.0.7

Postby duncanc » 11:40am, Tue 26 Aug, 2014

See this topic http://forums.phplist.com/viewtopic.php?f=35&t=41522#p102714.

Also, when you have a problem please start a new topic instead of adding to an existing topic that has been solved.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: Cronjob problem after upgrading to 3.0.7

Postby niravshastri » 11:44am, Tue 26 Aug, 2014

the same URL cron as I mentioned above and also write again below is working fine in previously version of phplist 3.0.6.

But it is not working in newly updated version of phplist 3.0.7.

http://www.mydomain.com/emailer/
admin/index.php?page=action&action=processqueue&login=username&password=pass

the bounce cron is working fine on the all version.
niravshastri
phpLister
 
Posts: 10
Joined: 12:12pm, Fri 28 Feb, 2014

Re: Cronjob problem after upgrading to 3.0.7

Postby kerberos » 7:53pm, Mon 01 Sep, 2014

The solution in the bug report isn't that obvious as such, so here it is. Mind you, this is just a temporary hack until it is resolved properly.

In …/admin/actions/processqueue.php, comment the line (right at the beginning of the file) "verifyCsrfGetToken();" by adding 2 forward slashes, like so:

Code: Select all
//verifyCsrfGetToken();


Our system processes the queue in a cron-called script that among other things runs the following via cURL:

Code: Select all
http://www.domain.org/lists/admin/index.php?page=pageaction&action=processqueue&login=' . $listadminuser . '&password=' . $listadminpswd;
kerberos
PL Geek
 
Posts: 67
Joined: 9:54pm, Tue 12 Sep, 2006


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: No registered users and 2 guests