funwithtrout
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: Myspace Crossposter troublesOk, so this isn’t pretty. It’s only a work around for the error messages. I have not tested it with posting the full posts, only the notifications.
So, if you want to get rid of the error messages, seeing as the notify works even with them, just comment out the error checking in the myspacecrossposter_v2_0a.php file as shown bellow:
curl_setopt($this->ch, CURLOPT_URL,$newLoc."".$this->token); $this->page = curl_exec($this->ch); //check for errors // if($this->checkErrors()){ //if error try again // $this->page = curl_exec($this->ch); // } //check onelast time for errors before displaying error msg // $this->checkErrors(); // if($this->errors){ // echo $this->stdError; // $this->myHistory=NULL; // curl_setopt($this->ch, CURLOPT_POST, 0); // }else{ $this->myHistory[]=$newLoc."".$this->token; curl_setopt($this->ch, CURLOPT_POST, 0); // } }If you are having trouble, you start commenting out on line 228 and finish on line 242 (well, skipping lines 240 and 241).
I make no promises that this won’t mess something else up, only that it works on my install, and has been for a little bit now. Please edit at your own risk.
I hope this helps out, at least until the author decides to update.
Viewing 1 replies (of 1 total)