Closed (won't fix)
Project:
Internationalization
Version:
5.x-2.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2008 at 11:03 UTC
Updated:
12 May 2011 at 09:07 UTC
I have two modules installed that send emails with hook_cron (private messages, when set do daily reminder AND account reminder)
I suspect i18n's custon_url_rewrite function for the following problem: The base url does not appear in links. Example:
You may also log in by clicking on this link or copying and pasting it in your browser:
http:///en/user/reset/94/1211673601/5efb9THIS-LINK-IS-USELESS7ba
Comments
Comment #1
derjochenmeyer commentedThe problem above is present with all modules that send emails via cron (update_status, account_reminder, organic_groups, privatemsg, ...)
I modified the function which seems to solve the problem. I have not much experience with the url modification functions in drupal. Is there someone who can tell me if what i did makes any sense? I added the following code:
The whole function looks like this:
Comment #2
derjochenmeyer commentedups... that modification killed my site ;-) anybody with a better idea? The modification fixed the email messages but killed everything else including imagecache...
Comment #3
derjochenmeyer commentedstill no clue what could be done here... it just seems that function is getting the wrong urls when run by cron... any ideas?
Comment #4
-Anti- commented> The problem above is present with all modules that send emails via cron
> (update_status, account_reminder, organic_groups, privatemsg, ...)
I have this problem. It is still present in i18n 6.x-1.x-dev (if indeed i18n is the cause).
I'm using D6.9.
I have drupal installed in a subdomain.
This issue seems like it was never solved?
Comment #5
jose reyero commented@Anti,
This url rewrite functions are not anymore in D6 i18n so for D6 this is either not i18n or an unrelated issue.
Comment #6
-Anti- commentedThanks jose.
Just for clarification, are you saying that it isn't possible for the D6 i18n to cause these symptoms *at all*?
Or are you saying, it *is* possible, but that the custom_url_rewrite as described above isn't the cause?
Cheers.
Comment #7
jose reyero commentedI'm saying D6 doesn't even have custom_url_rewrite, nor i18n does any path rewriting at all.
So while for D5 all these troubles are likely to be caused by i18n, for D6 you better search in Drupal core or other module (og?).
Comment #8
-Anti- commentedok... thanks.
Comment #9
R.Hendel commentedDeprecated - D5 is no longer supported.