[Clipart] Re: Fwd: [ cctools-Bugs-1505721 ] Audio Files Upload not work
Jon Phillips
jon at creativecommons.org
Thu Mar 1 15:04:03 PST 2007
On Thu, 2007-03-01 at 14:47 -0800, Victor Stone wrote:
> <toppost>
> you're not returning from the validator? ugh, that means it could well
> be buried in getID3 itself, aren't we using some new/custom code for
> SVG? Try uploading an MP3 file.
>
> If it's happening on ccM then people are not reporting it...
>
> VS
>
Yah, I think it must be the SVG validation code. Ok, well, this is too
specific to hold back 4.0.1 IMO. If you agree, I will roll out 4.0.1,
and try to get this validation bug patched up. Roan (original author of
that code), would you like to help me track this one down :)
Jon
> On 3/1/07, Jon Phillips <jon at creativecommons.org> wrote:
> > On Wed, 2007-02-28 at 13:09 -0800, Victor Stone wrote:
> > > On 2/28/07, Jon Phillips <jon at creativecommons.org> wrote:
> > > >
> > > > Yep, that last link I sent out:
> > > >
> > > > http://openclipart.org/test.php
> > >
> > > ok, well http://ccmixter.org/media/phpinfo
> > >
> > > Besides that, you should start putting out log messages in
> > > PostProcessNewUpload() to figure out where exactly it's bailing out.
> > >
> > > VS
> >
> > Ok, I tracked it down to:
> >
> > function _do_verify_file_format($current_path,&$file_args)
> > {
> > require_once('cclib/cc-formatinfo.php');
> >
> > CCDebug::Log('BEGIN _do_verify_file_format: ' . __LINE__);
> >
> > CCEvents::Invoke( CC_EVENT_INIT_VALIDATOR );
> >
> > global $CC_UPLOAD_VALIDATOR;
> >
> >
> > $format_info = new CCFileFormatInfo($current_path);
> > CCDebug::LogVar('END CCFileFormatInfo: ' . __LINE__,
> > $format_info);
> >
> > if( isset($CC_UPLOAD_VALIDATOR) )
> > {
> > CCDebug::LogVar('END CCFileFormatInfo: ' . __LINE__ .
> > ' format_info: ', $format_info);
> >
> > $CC_UPLOAD_VALIDATOR->FileValidate( $format_info );
> >
> >
> >
> > So, looks like its the validation happening. I need to look
> > closer...anyway...but this call is bailing out and going to blank screen
> > on some largish files (>300K):
> >
> > $CC_UPLOAD_VALIDATOR->FileValidate( $format_info );
> >
> > Are you seeing this with ccmixter at all?
> >
> >
> > Jon
> >
> >
> > --
> > Jon Phillips
> > jon at creativecommons.org
> > cell: 510.499.0894
> >
> > Community Developer
> > Creative Commons
> > www.creativecommons.org
> >
> >
--
Jon Phillips
jon at creativecommons.org
cell: 510.499.0894
Community Developer
Creative Commons
www.creativecommons.org
More information about the clipart
mailing list