Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter rmcgeher

    (@rmcgeher)

    Hello – I do not have Woo Subscriptions turned on. I think I was able to stop the error. I turned off all plugins and one by one turned them back on. In between if did admin tasks. There where two older plugins which almost immediately trigger the error in my error log.

    Mailchimp for WooCommerce
    WooCommerce No Shipping Message

    I was hoping that would solve my servers cpu and memory spiking which causes my server to appear to be down or very slow. It seemed to correct it late last night but this more I was having server issues again. Those errors have not come back.

    I think those older plugins had a conflict with a WooCommerce update.

    rmcgeher

    (@rmcgeher)

    I am seeing similar issues and it cripples my server. It seems to only occur when people access wp-admin.

    Got error ‘PHP message: Automattic\WooCommerce\Admin\Features\Navigation\Menu::add_plugin_item is deprecated since 9.3 with no alternative. Navigation classes will be removed in WooCommerce 9.4’

    • This reply was modified 2 months ago by rmcgeher.
    Thread Starter rmcgeher

    (@rmcgeher)

    Thanks, I was wondering that. I am not able to trigger that default message to be able to utilize your plugins functionality.

    Thread Starter rmcgeher

    (@rmcgeher)

    https://nokomisknittingcompany.bigcartel.com

    Now I am jus testing big cartel – and only using the free type of account to see if I like it.

    Thanks

    Thread Starter rmcgeher

    (@rmcgeher)

    Thanks for all your help, solution was with in your responses, just took be a while to figure it out and apply what I needed.

    great plugin.

    Thread Starter rmcgeher

    (@rmcgeher)

    got it working – thanks!

    /* MIME Types */
    add_filter( 'fu_is_debug', '__return_true' );
    
    add_filter( 'fu_allowed_mime_types', 'my_fu_allowed_mime_types' );
    function my_fu_allowed_mime_types( $mime_types ) {
        // Array keys should be unique
        // To include all mime-types we use this workaround
        // Part after | could be anything as long as it's unique
        $mime_types['flac'] = 'audio/flac';
        $mime_types['flac'] = 'application/octet-stream';
        // Include the rest of mp3 mimes
    
        $mime_types['aif|aiff'] = 'audio/aiff';
        return $mime_types;
    }
    Thread Starter rmcgeher

    (@rmcgeher)

    I was able to figure out the ‘0’ page. It had to do with php.ini and file upload size.

    still having problems with .aiff and .flac

    Thread Starter rmcgeher

    (@rmcgeher)

    A couple of notes – if I try a 29mb flac it fails with ‘0’
    if I try a smaller flac – it returns on screen error:
    There was an error with your submission
    This kind of file is not allowed. Please, try again selecting other file.:
    Top-Gun.flac

    so I updated to:

    /* MIME Types */
    add_filter( 'fu_allowed_mime_types', 'my_fu_allowed_mime_types' );
    function my_fu_allowed_mime_types( $mime_types ) {
        // Array keys should be unique
        // To include all mime-types we use this workaround
        // Part after | could be anything as long as it's unique
    	$mp3_mimes = array( 'audio/mpeg', 'audio/x-mpeg', 'audio/mp3', 'audio/x-mp3', 'audio/mpeg3', 'audio/x-mpeg3', 'audio/mpg', 'audio/x-mpg', 'audio/x-mpegaudio' );
    	foreach( $mp3_mimes as $mp3_mime ) {
    		$mime = $mp3_mime;
    		preg_replace("/[^0-9a-zA-Z ]/", "", $mp3_mime );
    		$mime_types['mp3|mp3_' . $mp3_mime ] = $mime;
    	}
    
        $mime_types['wav'] = 'audio/wav, audio/x-wav, audio/wave, audio/x-pn-wav';
        $mime_types['flac'] = 'audio/flac';
        $mime_types['aiff'] = 'audio/aiff, audio/x-aiff, sound/aiff, audio/rmf, audio/x-rmf, audio/x-pn-aiff, audio/x-gsm, audio/mid, audio/x-midi, audio/vnd.qcelp';
        return $mime_types;
    }

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thread Starter rmcgeher

    (@rmcgeher)

    Also when I tried a larger wav file (29 mb) it failed.

    here is the code I tried: note only trying

    add_filter( 'fu_allowed_mime_types', 'my_fu_allowed_mime_types' );
    function my_fu_allowed_mime_types( $mime_types ) {
        // Array keys should be unique
        // To include all mime-types we use this workaround
        // Part after | could be anything as long as it's unique
    	$mp3_mimes = array( 'audio/mpeg', 'audio/x-mpeg', 'audio/mp3', 'audio/x-mp3', 'audio/mpeg3', 'audio/x-mpeg3', 'audio/mpg', 'audio/x-mpg', 'audio/x-mpegaudio' );
    	foreach( $mp3_mimes as $mp3_mime ) {
    		$mime = $mp3_mime;
    		preg_replace("/[^0-9a-zA-Z ]/", "", $mp3_mime );
    		$mime_types['mp3|mp3_' . $mp3_mime ] = $mime;
    	}
    
        $mime_types['wav'] = 'audio/wav';
        $mime_types['flac'] 'audio/flac';
        $mime_types['aiff'] 'audio/aiff';
        return $mime_types;
    }

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thread Starter rmcgeher

    (@rmcgeher)

    Initial testing on mac os x 10.8.5
    safari – Version 6.0.5 (8536.30.1)
    chrome – Version 30.0.1599.101

    Same results.

    yes I can do a jpg and mp3 and wav, really need to be able to accept .aif, .aiff and .flac
    those return the ‘0’ page.

    thanks for your quick response!
    R

Viewing 10 replies - 1 through 10 (of 10 total)