[wp-testers] Re: image upload error. (Ryan Boren)

Carlo scappa at gmail.com
Tue Apr 8 16:00:58 GMT 2008


> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 7 Apr 2008 10:20:07 -0700
> From: Carlo <scappa at gmail.com>
> Subject: [wp-testers] image upload error.
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <8453c2a10804071020y3e41f14frc77d21e46b1c991f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> This happens on a few other blogs I work with/administer, etc - (see
> attachment).
>
> I'm using the latest from WP SVN (2.6 - bleeding).
>
> Also, I get this error:
>
> missing ; before statement
> > http://thehouseofsmack.com/wp-admin/post-new.php
> > Line 745
> >
>
> The function is pasted into the text file (see attachment).
>
> Cheers,
> Carlo
> -------------- next part --------------
> 741 function loadTags()
> 742 {
> 743 var newspan = document.createElement("span");
> 744 newspan.setAttribute("id", "newtagspan");
> 745 newspan.innerHTML = '<div><p>Tags (separate multiple tags with commas:
> cats, pet food, dogs)</p><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="" /><input type="button"
> class="ctcontrol" onclick="javascript:addTag(this.value);" value="" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Arrest-O-Meter" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="assfaces" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="bad journalism" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Basketball" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Becks" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="bff's" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="bill bellicheat" />
>  <input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="BilL Walton" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="bonds" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Bush" /><input type="button"
> class="ctcontrol" onclick="javascript:addTag(this.value);" value="Charles
> Barkley" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Clinton Portis" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="college" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="crappy sports" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="cubs" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Douche of the Week" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
>  value="douchefaces" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Easterbrook Sucks" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Football" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="georges st pierre" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Grading the Graders" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="gsp" /><input type="button"
> class="ctcontrol" onclick="javascript:addTag(this.value);" value="Hockey"
> /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="I am legend...You are
> Douchface" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="I'm slightly drunk" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="interviews" /><input type="butto
>  n" class="ctcontrol" onclick="javascript:addTag(this.value);" value="Jenn
> Sterger" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="KG" /><input type="button"
> class="ctcontrol" onclick="javascript:addTag(this.value);" value="Kobe"
> /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="man-love" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="man-love" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="mascots" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Michael Irvin" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Mike Vick" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Mixed Martial Arts" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="MMA videos" /><input
>  type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Morning Dick Punch" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="ninja" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Oak" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="ovechkin" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Pac-man" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Random Pop Culture Bullsh**"
> /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Randy Moss" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="sanctimonious colts fans" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Shaq" /><input type="button"
> class="ctcontrol" onclick="javascript:addTag(this
>  .value);" value="stahlllllin" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="Steelers suck" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="steven seagal" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="sweet ass videos" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="Takeo Spikes" /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="The Japanese are odd"
> /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="UFC" /><input type="button"
> class="ctcontrol" onclick="javascript:addTag(this.value);" value="videos"
> /><input type="button" class="ctcontrol"
> onclick="javascript:addTag(this.value);" value="wesley snipes" /><input
> type="button" class="ctcontrol" onclick="javascript:addTag(this.value);"
> value="youppi" /></div>';
> 746 var target = document.getElementById("tagdiv");
> 747 target.childNodes[1].innerHTML='';
> 748 var parentDiv = target.parentNode;
> 749 parentDiv.insertBefore(newspan, target);
> 750 };
>
> ------------------------------
>
> Message: 2
> Date: Mon, 7 Apr 2008 11:47:08 -0700
> From: "Ryan Boren" <ryan at boren.nu>
> Subject: Re: [wp-testers] image upload error.
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <c8f37c930804071147p181fe88fsa3ec47e843db665b at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Apr 7, 2008 at 10:20 AM, Carlo <scappa at gmail.com> wrote:
> > This happens on a few other blogs I work with/administer, etc - (see
> >  attachment).
> >
> >  I'm using the latest from WP SVN (2.6 - bleeding).
> >
> >  Also, I get this error:
> >
> >  missing ; before statement
> >  > http://thehouseofsmack.com/wp-admin/post-new.php
> >  > Line 745
> >  >
> >
> >  The function is pasted into the text file (see attachment).
>
> That function looks like it is trying to insert the old 2.3 style tag
> input field.  This is not a part of 2.5.  Maybe you have a plugin
> adding this?
>
>
> ------------------------------


Still getting the HTTP error on file (image) upload after deactivating the
plugins. The good news is that the script error vanishes (like a ninja in
the night). I'll try to track down the script error for the plugin but the
HTTP error I am boggled about.


More information about the wp-testers mailing list