Timeline for HTTP request status error
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 15, 2020 at 17:31 | comment | added | arnoldbird | @ShawnConn I am on D7, so url() should work. Perhaps related, I see I can't wget my own domain from the command line. I can only wget other domains. But I don't see how that would result in my getting an "undefined function" error when I execute the script with drush. | |
Jan 15, 2020 at 16:41 | comment | added | Shawn Conn |
It sounds like you're using D7 url() is a D7 function; the parent question is implicitly a D7 question; the error is particular to the D7 system module.
|
|
Jan 15, 2020 at 15:35 | comment | added | arnoldbird | What if the test script results in "Call to undefined function url()"? | |
Aug 30, 2017 at 15:09 | comment | added | Koen |
Tried this. url('', array('absolute' => TRUE)) gave me http://default/ (obviously wrong and explains why site can't reach itself). However in the status report, the external cron link is displayed as http://127.0.0.1:8888/cron.php?cron_key=... . After I set $base_url to http://localhost:8888 this error is still showing up. Any suggestions?
|
|
May 3, 2015 at 20:43 | history | answered | Shawn Conn | CC BY-SA 3.0 |