Closed (fixed)
Project:
Subscriptions
Version:
5.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2007 at 11:29 UTC
Updated:
29 Apr 2008 at 01:52 UTC
All the URLs in the notification emails sent out by my site are with respect to http://localhost. Has anyone else got this problem? I don't have any such problem elsewhere on my site.
Comments
Comment #1
salvisNo, mine work correctly. Are you running a test site on your own computer at 127.0.0.1 / localhost?
Comment #2
gustav commentedIt turns out that optional setting for $base in settings.php is not so optional when using the subscriptions module. I have now set it in the settings.php for my site and the urls are now fine.
Comment #3
salvisSetting $base is not needed on my sites...
What do you see on admin/settings/site-information? Drupal shows you the domain name of the site under Default front page. Does (or did) this differ from the address that Subscriptions was using for the links?
Comment #4
chx commentedComment #5
gustav commentedYes, the admin/settings/site-information page showed the correct url all along. However I no longer think that this is an issue with the subscription module because the module correctly uses the url() function to produce those links. There must be something special with my PHP setup so that it can not determine the correct url automatically but requires me to set it in settings.php. I think this issue can be closed.
Comment #6
salvisThis cannot be "fixed" in Subscriptions, but we check now for the common wrong URL forms and issue a helpful message to point the admin to setup.php.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.