snathan
I get this Warning, "parse_url(http:///bin/): Unable to parse URL in /path/to/dokuwiki/inc/mail.php on line 47" when running the indexer.php. Line 47 is as follows:
44: if(!empty($INFO['userinfo']['mail'])){
45: $replace['@MAIL@'] = $INFO['userinfo']['mail'];
46: }else{
47: $replace['@MAIL@'] = 'noreply@'.parse_url(DOKU_URL,PHP_URL_HOST);
48: }
This does not happen in my 2nd dokuwiki installation - so not sure if this is really a bug
This also happens when I run "wantedpages.php"
While the indexer continues to successfully complete, the wantedpages does not progress and stops
andi
fixed in devel. but is harmless. you can just ignore it.
snathan
Good to know that I can ingnore it for indexer. However wantedpages.php does not work due to this error
andi
Shouldn't be the case. It's a warning only and only affects the mail system which isn't used in any of the command line scripts.
snathan
It may not affect as you said, but the script for wantedpages does not proceed after the error. Do you have a workaround. Which config parameter should I enter so it does not even go to the "else" part of the code?
Or if you can tell me which lines to change I can do that as well.