Skip to main content
Topic: Paid Subscription Task Fails to Run (Read 1703 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Paid Subscription Task Fails to Run

The error logs shows that this task is failing to run every night.  If I try to run that task manually I get:
The 65creedmoor.com page isn’t working
65creedmoor.com is currently unable to handle this request.
HTTP ERROR 500

Re: Paid Subscription Task Fails to Run

Reply #1

 emanuele smells bug

Try that one (that is the first most evident error in the file), open ScheduledTaks.class.php (directory sources/subs), search:
Code: [Select]
		while ($row = $db->fetch_assoc($request))
{
require_once(ADMINDIR . '/ManagePaid.controller.php');
removeSubscription($row['id_subscribe'], $row['id_member']);
}
and replace it with:
Code: [Select]
		require_once(SUBSDIR . '/PaidSubscriptions.subs.php');
while ($row = $db->fetch_assoc($request))
{
removeSubscription($row['id_subscribe'], $row['id_member']);
}
Bugs creator.
Features destroyer.
Template killer.

Re: Paid Subscription Task Fails to Run

Reply #2

Thank you very much, that fixed the problem!