error * warning: parse_url()

Project: 
Ubercart
Category: 
bug report
Version: 
Ubercart 1.3
Priority: 
normal
Status: 
active

* warning: parse_url() expects exactly 1 parameter, 2 given in /home/vnus/public_html/sites/all/modules/ubercart/uc_store/uc_store.module on line 2926.
* warning: parse_url() expects exactly 1 parameter, 2 given in /home/vnus/public_html/sites/all/modules/ubercart/uc_store/uc_store.module on line 2926.

same error

i get the exact same error - the site was working - have recently upgraded some modules but nothing else
any ideas?

Re: error * warning: parse_url()

It appears this would probably be because you're using a version of php earlier than 5.1.2.

Check out the PHP parse_url page: http://www.php.net/parse_url

Yep!

Yep, that solved my problem.

Interestingly, in my cPanel under Enable PHP5 it said that PHP5 was enabled, but on the basis of this tip I installed a one-line PHP script to confirm this and it stated that I was running PHP 4.x. I disabled and re-enabled PHP5, and at that point the script reported a version of PHP5 was running, and the Ubercart error disappeared. Looks like something important had been commented out of my top level .htaccess file.

So—great lead! Smiling