-
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
-
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
-
thx
-
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!!
-
Have you changed url ? Url with out ~ ?
If not, it will work.
-
Yes I have changed the URL
-
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.
-
I have change the URL to scootertube.de
But it doesn't works!
-
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.
-
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!
-
I buy all my domains at godaddy.com and then I set the NAME SERVERS for my domains on godaddy.com to point to cirtexhosting. These settings were given to you in an email when you first signed up with cirtex. Check for that email. It will say something like NXX.CIRTEXTHOSTING.COM and NXX.CIRTEXHOSTING.COM (where "XX" is a number).
If you don't know what they are, contact cirtex and ask, they'll tell you.
You then need to go to United Domains where you bought your domains, and in your account you should be able to access the "Set Name Servers" for the domains. It's usually under "manage domains" and then "set name servers" (most domain cpanels have this kind of thing so poke around till you find it). Make sure you don't have the domains forwarded or parked or anything else and that you have the cirtex name servers in there. If you still need help setting the name servers, contact the folks at united domains and ask them for help doing that. Make sure you have the cirtex name server information available to give them.