Hi,
Open /wp-content/plugins/contus-video-gallery/admin/models/video.php and find the following code function insert_video. Inside the function you can find the below code.
$guid = get_site_url() . '/?post_type=videogallery&p=' . $this->_wpdb->insert_id;
$this->_wpdb->update( $this->_posttable, array( 'guid' => $guid ), array( 'ID' => $post_ID ) ); $this->_wpdb->update( $this->_videotable, array( 'slug' => $this->_wpdb->insert_id ), array( 'vid' => $last_insert_video_id ) );
Now replace with the following code.
$guid = get_site_url() . '/?post_type=videogallery&p=' . $post_ID;
$this->_wpdb->update( $this->_posttable, array( 'guid' => $guid ), array( 'ID' => $post_ID ) );
$this->_wpdb->update( $this->_videotable, array( 'slug' => $post_ID ), array( 'vid' => $last_insert_video_id ) );
Finally delete the recently added videos and add the videos once again and check.
If you cannot able to find the above code, contact our supporting team at [email protected]
Hello karthikeyani,
Thanks for the answer, but the problems is not solved.
Its the same error 404... Ive replaced the code you give me but no luck.
The website is: http://www.cleanmarket.ro/video-home/
Thanks
Hi,
Please follow the below steps.
Open \wp-content\plugins\contus-video-gallery\hdflvvideoshare.php file and find add_filter('the_content', 'videogallery_pagereplace'); and replace with the following code.
add_shortcode('videohome','video_homereplace');
add_shortcode('videomore','video_morereplace');
add_shortcode('hdvideo','video_shortcodereplace');
If you are still facing the same issue, contact our supporting team at [email protected]
Hi again,
I don`t find anywere add_filter(‘the_content’, ‘videogallery_pagereplace’);
the only add_filter from hdflvvideoshare.php is
add_filter(‘comment_post_redirect’, ‘redirect_after_comment’);
function redirect_after_comment($location)
{
global $wpdb;
wp_redirect( $_SERVER[“HTTP_REFERER”] );
exit;
}
So???
Hi,
Contact the support team at [email protected]