Posted by loze on November 3, 2009 at 9:51pm
Jump to:
| Project: | Notifications |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When cron sends out notifications the urls in the emails are in this format: http://default/var/www/vhosts/mydomain.com/httpdocs/scripts/node/123
instead of http://mydomain.com/node/123
When I test it on /admin/messaging/subscriptions/queue (run process button) the urls are generated correctly.
Ive traced the tokens into watchdog, and they appear to be written correctly at that point. but the urls in the emails are still incorrect.
any suggestions?
thanks.
Comments
#1
this happens with both phpMailer and drupal mail.
and i have no input filters (at least while im testing this)
#2
I was incorrect.
In watchdog, when http://default/cron.php runs, the absolute urls (generated with url())
look like http://default/var/www/vhosts/mydomain.com/httpdocs/scripts/node/123
im running cron.php directly via scripts/drupal.sh as described on http://drupal.org/cron
#3
It was a problem on my end not with this mod,
setting the base_url in settings.php fixed this for me.
#4
ok
#5
Hi,
I'm sorry to reopen that, but I have the same problem and my base_url parameter is good...
I don't understand why I can't have the absolute URL...
I've tried whit another Mail format and It's works fine (Text and PrivateMsqg)
Thanks by advance
Best Regards
#6
Hi,
A little Up...
Best Regards
#7
Subscribing...
Edit:
It seems that it DID afterall worked for me after I _uncommented_ the base-url in the settings!!