Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Hash not used at all in component / curl error

#1

Hi

I noticed that on line 127 you have a curl issue where you need to put $this->__curl instead of $this->curl.

You need to put the following from line 126 just to get the component to not error

            if($this->hash) {
            curl_setopt($this->__curl, CURLOPT_USERPWD, $this->username . ':' . $this->password);
    } elseif($this->username) {
        curl_setopt($this->__curl, CURLOPT_USERPWD, $this->username . ':' . $this->password);
    } else {
        $this->error = 'Missing authentication information (api hash or user/pass)';
        return FALSE;
    }

Also i noticed that even though you set the hash param its not used at all

Kind Regards

Adam Jenkins

Reported by Adam Jenkins · March 17th, 2011 @ 02:22 PM

State: new
Milestone: none
Assigned to: nobody

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.