Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter straddieplastic

    (@straddieplastic)

    ah of course. sorry about the confusion. I’ve been trying a few !
    thanks
    Ben

    Thread Starter straddieplastic

    (@straddieplastic)

    ah OK.

    Here’s the notice:

    Notice: Undefined variable: src_attribute in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428 Notice: Undefined variable: type_attribute in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428 Notice: Undefined variable: mp3_source in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 430 Notice: Undefined variable: flv_source in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 432 Notice: Undefined variable: wmv_source in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 433 Notice: Undefined variable: captions_source in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 435 Notice: Undefined variable: loop_option in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 447 Notice: Undefined variable: mediahtml in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 454

    Thread Starter straddieplastic

    (@straddieplastic)

    Hi Chris.

    Getting close, getType error is not showing, but still nothing is uploading.

    I traced this error:
    Warning: file_put_contents(/var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/lib/uploadify/mydomain.com.json): failed to open stream: Permission denied in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 105 which suggests that the plugin is looking for a json file with my domain name in lib/uploadify. I’ve changed the name of json file that was in lib/uploadify to match my domain (looked like it had your domain on it), and changed the contents of that to match my paths.. all good now, but would be worth updating the plugin to fix that.

    BTW, there are a few notices for undefined variables showing for this plugin.

    Thanks for the quick fixes, great plugin 🙂
    Ben

    Thread Starter straddieplastic

    (@straddieplastic)

    hi Chris
    I changed permissions to 755, now I can see the views, but am getting an error when adding a video. This shows in the editor after adding a jpeg and clicking the ‘save and open editor’ button:

    Fatal error: Call to a member function getType() on a non-object in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 421

    If I go back to the Audio & Video Manager page, the post has been saved, but without it’s poster jpeg, and i get this error:

    Warning: getimagesize(/var/www/vhosts/mydomain.com/httpdocs/wp-content/videoaudio/2012/02/test/myimage.jpg): failed to open stream: No such file or directory in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/api.php on line 141 Warning: Division by zero in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/api.php on line 144 Warning: Division by zero in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/html5avmanager/api.php on line 145

    Any thoughts on that ?
    thanks
    Ben

    Thread Starter straddieplastic

    (@straddieplastic)

    Got it working by :

    – commenting out lines 138 to 147 in html5avmanager.php.

    – and manually made /wp-content/videoaudio/views, then copied the audio-default.php, audio-xml.php, setting.php, video-default.php, video-xml.php files from /wp-content/plugins/html5avmanager/view/videoaudio/ into the new directory

    Thread Starter straddieplastic

    (@straddieplastic)

    maybe paths are incorrect: here’s an error message..

    Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/setting.php): failed to open stream: No such file or directory in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 141 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/video-default.php): failed to open stream: No such file or directory in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 142 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/video-xml.php): failed to open stream: No such file or directory in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 143 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/audio-default.php): failed to open stream: No such file or directory in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 144 Warning: copy(/var/www/vhosts/domain.com/httpdocs/wp-content/videoaudio/views/audio-xml.php): failed to open stream: No such file or directory in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/html5avmanager/html5avmanager.php on line 145

    to fix, replace

    foreach($wp_meta_boxes['post'] as $context)
    			foreach($context as $priority)
    				foreach($priority as $box)
    					array_push($this->postboxes,array($box['id'],$box['title']));
    
    		foreach($wp_meta_boxes['page'] as $context)
    			foreach($context as $priority)
    				foreach($priority as $box)
    					array_push($this->pageboxes,array($box['id'],$box['title']));

    with

    if ($wp_meta_boxes['post']) {
    		foreach($wp_meta_boxes['post'] as $context)
    			foreach($context as $priority)
    				foreach($priority as $box)
    					array_push($this->postboxes,array($box['id'],$box['title']));
    	}
    	if ($wp_meta_boxes['page']) {
    		foreach($wp_meta_boxes['page'] as $context)
    			foreach($context as $priority)
    				foreach($priority as $box)
    					array_push($this->pageboxes,array($box['id'],$box['title']));
    	}

    ie, wrap foreach with condition check, if ($wp_meta_boxes[‘page’]) { ….

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