Closed (fixed)
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Apr 2009 at 11:45 UTC
Updated:
14 May 2009 at 16:30 UTC
After logged in, I've got following error:
* warning: parse_url() expects exactly 1 parameter, 2 given in contributions/path_redirect/path_redirect.module on line 340.
* warning: parse_url() expects exactly 1 parameter, 2 given in contributions/path_redirect/path_redirect.module on line 341.
Comments
Comment #1
kenorb commentedIt's problem on PHP4. Second parameter has been added with PHP 5.1.2
http://uk3.php.net/parse_url
So there should be dependency for PHP5.
My solution was to install http://drupal.org/project/php4 and change following lines:
to:
Comment #2
stevenpatzThere is no patch to review.
Comment #3
kenorb commentedThere is as well some other alternative function:
Available at: http://uk.php.net/parse_url
Comment #4
kenorb commentedOr solution could be just to delete second argument.
Comment #5
dave reidThanks for the report! I'll get this fixed today.
Comment #6
dave reidFixed using:
http://drupal.org/cvs?commit=205208
Comment #7
kenorb commentedThank you.
Comment #8
dave reidThanks for the bug report kernorb!