Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Error 404

  1. #1
    Join Date
    Aug 2007
    Posts
    6

    Default Error 404

    Hello,
    I installed vshare on a server from Cirtexhosting.
    But I get an "Error 404" when I go to my site:

    vShare 2.3:
    http://snowy.cirtexhosting.com/~scooede/scootertube_de/

    vShare 2.4
    http://snowy.cirtexhosting.com/~scooede/scootertube/

    And when you put index.php behind the URL like this:
    http://snowy.cirtexhosting.com/~scooede ... /index.php

    It works, but when I want to look the test video there is just an error 404.
    And the same problem, when i click on a category!!

    At vShare 2.4, I can't upload any video!
    I get this Error:

    ERROR: Unable to execute query

    INSERT INTO `process_queue` SET
    file='12_1.mpeg',
    title ='test',
    description='test',
    keywords='test',
    channels='2|6|7',
    type='public',
    user='HackMaster',
    user_ip='90.128.9.82',
    status=2
    Table 'scooede_scootertube.process_queue' doesn't exist


    Cirtexhosting said me, that .htaccess is enabled!!

    Here is my .htaccess Code from vshare 2.4 :

    Options +FollowSymLinks
    RewriteEngine on

    RewriteRule ^admin$ - [L]
    RewriteRule ^admin/(.*) - [L]
    RewriteRule ^install$ - [L]
    RewriteRule ^install/(.*) - [L]
    RewriteRule ^$ index.php
    RewriteRule ^view/(.*)/(.*)/ view_video.php?id=$1 [L,QSA]
    RewriteRule ^tag/(.*)/(.*) tag.php?search_id=$1&page=$2 [L,QSA]

    RewriteRule ^channel/(.*)/(.*)/recent/(.*) video.php?category=recent&chid=$1&page=$3
    RewriteRule ^channel/(.*)/(.*)/viewed/(.*) video.php?category=viewed&chid=$1&page=$3
    RewriteRule ^channel/(.*)/(.*)/ channel_detail.php?id=$1

    RewriteRule ^detailed/recent/(.*) video.php?category=recent&page=$1&viewtype=detaile d
    RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detaile d
    RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=deta iled
    RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=deta iled
    RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed
    RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detai led
    RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detaile d
    RewriteRule ^recent/(.*) video.php?category=recent&page=$1
    RewriteRule ^viewed/(.*) video.php?category=viewed&page=$1
    RewriteRule ^discussed/(.*) video.php?category=discussed&page=$1
    RewriteRule ^favorites/(.*) video.php?category=favorites&page=$1
    RewriteRule ^rated/(.*) video.php?category=rated&page=$1
    RewriteRule ^featured/(.*) video.php?category=featured&page=$1
    RewriteRule ^random/(.*) video.php?category=random&page=$1
    RewriteRule ^rss/new/ rss.php?type=new [L]
    RewriteRule ^rss/comments/ rss.php?type=comments [L]
    RewriteRule ^rss/views/ rss.php?type=views [L]
    RewriteRule ^group/(.*)/members/(.*) group_members.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/videos/(.*) group_videos.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/add/(.*) add_video.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/fav/(.*) add_favour.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/topic/(.*) group_posts.php?urlkey=$1&tid=$2
    RewriteRule ^group/(.*)/invite/ invite_members.php?urlkey=$1 [L,QSA]
    RewriteRule ^group/(.*)/ groups_home.php?urlkey=$1 [L,QSA]
    RewriteRule ^include/(.*) http://www.vshare.in
    RewriteRule ^pages/(.*).html$ show_page.php?name=$1 [QSA,L]
    RewriteRule ^([^/\.]+)/favorites/(.*) user_favorites.php?username=$1&page=$2
    RewriteRule ^([^/\.]+)/playlist/(.*) playlist.php?username=$1&page=$2
    RewriteRule ^([^/\.]+)/friends/(.*) user_friends.php?username=$1&page=$2
    RewriteRule ^([^/\.]+)/public/(.*)$ user_videos.php?username=$1&type=public&page=$2
    RewriteRule ^([^/\.]+)/private/(.*)$ user_videos.php?username=$1&type=private&page=$2 [L,QSA]
    RewriteRule ^([^/\.]+)/groups/(.*)$ user_groups.php?username=$1&page=$2 [L,QSA]
    RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]


    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    <IfModule mod_gzip.c>
    mod_gzip_on No
    </IfModule>


    .htaccess Code vShare 2.3:

    Options +FollowSymLinks
    RewriteEngine on

    RewriteRule ^admin$ - [L]
    RewriteRule ^admin/(.*) - [L]
    RewriteRule ^install$ - [L]
    RewriteRule ^install/(.*) - [L]
    RewriteRule ^$ index.php
    RewriteRule ^view/(.*)/(.*)/ view_video.php?id=$1 [L,QSA]
    RewriteRule ^tag/(.*)/(.*) tag.php?search_id=$1&page=$2 [L,QSA]

    RewriteRule ^channel/(.*)/(.*)/recent/(.*) video.php?category=recent&chid=$1&page=$3
    RewriteRule ^channel/(.*)/(.*)/viewed/(.*) video.php?category=viewed&chid=$1&page=$3
    RewriteRule ^channel/(.*)/(.*)/ channel_detail.php?id=$1

    RewriteRule ^detailed/recent/(.*) video.php?category=recent&page=$1&viewtype=detaile d
    RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detaile d
    RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=deta iled
    RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=deta iled
    RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed
    RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detai led
    RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detaile d
    RewriteRule ^recent/(.*) video.php?category=recent&page=$1
    RewriteRule ^viewed/(.*) video.php?category=viewed&page=$1
    RewriteRule ^discussed/(.*) video.php?category=discussed&page=$1
    RewriteRule ^favorites/(.*) video.php?category=favorites&page=$1
    RewriteRule ^rated/(.*) video.php?category=rated&page=$1
    RewriteRule ^featured/(.*) video.php?category=featured&page=$1
    RewriteRule ^random/(.*) video.php?category=random&page=$1
    RewriteRule ^rss/new/ rss.php?type=new [L]
    RewriteRule ^rss/comments/ rss.php?type=comments [L]
    RewriteRule ^rss/views/ rss.php?type=views [L]
    RewriteRule ^group/(.*)/members/(.*) group_members.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/videos/(.*) group_videos.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/add/(.*) add_video.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/fav/(.*) add_favour.php?urlkey=$1&page=$2
    RewriteRule ^group/(.*)/ groups_home.php?urlkey=$1 [L,QSA]
    RewriteRule ^include/(.*) http://www.vshare.in
    RewriteRule ^pages/(.*).html$ show_page.php?name=$1 [QSA,L]
    RewriteRule ^([^/\.]+)/favorites/(.*) user_favorites.php?username=$1&page=$2
    RewriteRule ^([^/\.]+)/playlist/(.*) playlist.php?username=$1&page=$2
    RewriteRule ^([^/\.]+)/friends/(.*) user_friends.php?username=$1&page=$2
    RewriteRule ^([^/\.]+)/public/(.*)$ user_videos.php?username=$1&type=public&page=$2
    RewriteRule ^([^/\.]+)/private/(.*)$ user_videos.php?username=$1&type=private&page=$2 [L,QSA]
    RewriteRule ^([^/\.]+)/groups/(.*)$ user_groups.php?username=$1&page=$2 [L,QSA]
    RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]


    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    <IfModule mod_gzip.c>
    mod_gzip_on No
    </IfModule>



    And when i delete the .htaccess, there is no problem with the URL!


    Greets Scootertube

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    http://snowy.cirtexhosting.com/~scooede/scootertube_de/

    vShare will not work with domain name with ~ in it.

    Code:
    Table 'scooede_scootertube.process_queue' doesn't exist
    You have not run upgrade.php

  3. #3
    Join Date
    Aug 2007
    Posts
    6

    Default thx

    ok thx

  4. #4
    Join Date
    Aug 2007
    Posts
    6

    Default Error

    But when i click on "Watch" there is the Error 404 too, although i upgraded!
    And the error message when i want to upload something is just there!!

  5. #5
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    Have you changed url ? Url with out ~ ?

    If not, it will work.

  6. #6
    Join Date
    Aug 2007
    Posts
    6

    Default

    Yes I have changed the URL

  7. #7
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Yeah, this script will NOT work on the default URL that comes with your account, you MUST use a regular domain name and the paths to the domain. Make sure that you don't have the default directories listed in the config file also.

    For example:

    You MUST use

    http://scootertube.de (or whatever domain you're using)

    and NOT

    http://snowy.cirtexhosting.com/~scooede/scootertube_de

    Your config.php file should look like something like this:

    Code:
    <?
    
    
    error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
    
    session_start();
    
    
    
    $db_host     = "localhost";
    
    $db_name     = "yourdatabasenamehere";
    
    $db_user     = "yourdatabaseusernamehere";
    
    $db_pass     = "yourpassword";
    
    
    
    $config = array();
    
    
    
    $config['ffmpeg']          =  "/usr/local/bin/ffmpeg";
    
    $config['mplayer']          =  "/usr/bin/mplayer";
    
    $config['mencoder']          =  "/usr/bin/mencoder";
    
    $config['flvtool']          =  "/usr/local/bin/flvtool2";
    
    $config['basedir']        =  "/home/scootertube.de/public_html/";
    
    $config['baseurl']        =  "http://scootertube.de/";
    
    
    
    include($config['basedir'] . "/include/vshare.php");
    
    
    
    ?>
    if you have http://snowy.cirtexhosting.com/~scooede in the $config['baseurl'] and $config['basedir'] sections, the script will crash.
    If it's not fun, stop doing it!

  8. #8
    Join Date
    Aug 2007
    Posts
    6

    Default

    I have change the URL to scootertube.de
    But it doesn't works!

  9. #9
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Well, since we have the same webhost and I am running 2 versions of the script which work...dunno what to tell you other than you are either missing a file or don't have something set right.

    PM me your config.php and I'll have a look at it.
    If it's not fun, stop doing it!

  10. #10
    Join Date
    Aug 2007
    Posts
    6

    Default

    Were have you bought your domain?
    Cirtexhosting say I have to use their Nameserver.

    I bought my domain at https://www.united-domains.de/
    So i write an E-mail and they reply:
    --Error--
    IP addresses are likely to be all on the same subnet
    --

    need help!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •