Closed (fixed)
Project:
Simplenews
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2009 at 18:00 UTC
Updated:
1 Oct 2010 at 01:00 UTC
When Simplenews is used with Elysia Cron, all links in newsletters have a path starting with "sites/all/modules/elysia_cron/", including unsubscribe link.
I guess Simplenews takes the path from the directory where cron.php is, which seems a bad idea because it could be located anywhere.
Vianney Stroebel
Likwid - Spécialistes Drupal - Paris
Comments
Comment #1
sutharsan commentedTry to set the $base_url in your settings.php. You can help to improve Simplenews by investigating what makes your cron different and how to overcome this in code.
Comment #2
sutharsan commentedNo activity for two weeks. Closing the issue.
Comment #3
weseze commentedSimple solution is to place the Elysia cron file in the root of your Drupal installation. You can rename it to keep the original cron.php.
Comment #4
miro_dietikerNote that the current stable version 6.x-1.2 (2009-Oct-01) of elysia is broken.
If cron.php is called inside the module folder it is the job of elysia to chdir into drupal root.
The (already applied) patch does this. Quoting the patch description: