• Hello,

    I have a problem… Ive instaled the plugin, Ive made the seetings, I`ve created the categories and started to add the videos from youtube. The problem is when I try to acces any post, I get ERROR 404 – NOTHING FOUND error.

    1. I changed the permalinks to the main options, and its works just fine. After I change back to "postname" its coming back the error.
    2. I was trying to find lush_rewrite_rules(); from hdflvvideoshare.php but I didn`t find anything like that.

    So what can I do?

    Thanks!

    https://wordpress.org/plugins/contus-video-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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 assist@apptha.com

    Thread Starter lucaci.m

    (@lucacim)

    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 assist@apptha.com

    Thread Starter lucaci.m

    (@lucacim)

    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 assist@apptha.com

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

The topic ‘ERROR 404 – NOTHING FOUND’ is closed to new replies.