Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am having the exact same problem.

    I have had the plugin installed for a few weeks now and all of a sudden this happened as soon as I uploaded a few large files.

    However, I’m getting:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7
    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in public_html/wp-content/plugins/audiobar/lib/getid3/extension.cache.mysql.php on line 141#

    This is line 141 of said file:

    if (mysql_num_rows($this->cursor) > 0) {
            // Hit
            list($result) = mysql_fetch_array($this->cursor);
    				return unserialize(base64_decode($result));
    			}
    		}
    		// Miss
    		$analysis = parent::analyze($filename);
    
    		// Save result

    Hope this helps someone come up with a solution to this problem.

    Thread Starter soundgrail

    (@soundgrail)

    Turns out that I was not using the latest version of WordPress, where you just have to go into the settings. Apologies.

    Thread Starter soundgrail

    (@soundgrail)

    Okay, so I’ve got the player working and up on my site, however I am still unable to change the colour, even after going in and changing the file:

    audiobar/audiobar-default-settings.php

    to this:

    <?php
    $audiobar_default_colors = array(
    ‘audiobar_title_color’ => ‘#ffffff’,
    ‘audiobar_hover_color’ => ‘#00ccff’,
    ‘audiobar_bar_gradient_1’ => ‘#666666’,
    ‘audiobar_bar_gradient_2’ => ‘#000000’,

    ‘audiobar_button_gradient_1’ => ‘#8c8c8c’,
    ‘audiobar_button_gradient_2’ => ‘#000000’,
    ‘audiobar_button_hilite_gradient_1’ => ‘#00ccff’,
    ‘audiobar_button_hilite_gradient_2’ => ‘#008080’,
    );

    $audiobar_default_cache_table = ‘cache’;

    It still shows with the blue gradient.

    Here is my site if you want to take a look:
    https://www.soundgrail.com/

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