Niche video script installation problems
Hi,
I installed the niche video script on http://www.topvideos.nl/.
It seemed to be working, but the menu items on the right and the "next" button in the bottom of the page do not work. I get a 404 error instead (at this moment the 404 error is forwarded to the homepage).
Short time ago I moved to another web host, without curl. Could this be the reason?
At http://www.buyscripts.in/youtube-video-script.html I read that I can use the PHP function file_get_contents instead. But how do I use this?
Would appreciate your help.
Thanks in advance.
Sjaak
Re: Niche video script installation problems
Can someone help me to solve the errors that I have with the video niche script please?
Re: Niche video script installation problems
Can you post content of your .htaccess file ? It seems some problem with .htaccess
Re: Niche video script installation problems
Yes, this is how the .httaccess looks now:
So when an error is given, the error page is forwarded to the homepage.
When I don't use this, i get an error message instead.
--
Options -MultiViews
RewriteEngine On
#detail page
#RewriteRule ^video/(.*)/(.*).html detail.php?vid=$1
#RewriteRule ^profile/([a-zA-Z0-9]*).html user_profile.php?u=$1
#RewriteRule ^profile/([a-zA-Z0-9]*)/videos.html user_videos.php?u=$1
#RewriteRule ^profile/([a-zA-Z0-9]*)/videos/page([0-9]*).html user_videos.php?u=$1&p=$2
RewriteRule ^video/(.*)/(.*).html detail.php?vid=$1
RewriteRule ^profile/([a-zA-Z0-9]*)$ user_profile.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/$ user_profile.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/videos$ user_videos.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/videos/$ user_videos.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/videos/page([0-9]*).html user_videos.php?u=$1&p=$2
RewriteRule ^profile/([a-zA-Z0-9]*)/favorites$ user_favorites.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/favorites/$ user_favorites.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/favorites/page([0-9]*).html user_favorites.php?u=$1&p=$2
RewriteRule ^profile/([a-zA-Z0-9]*)/playlists$ user_playlists.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/playlists/$ user_playlists.php?u=$1
RewriteRule ^profile/([a-zA-Z0-9]*)/playlists/page([0-9]*).html user_playlists.php?u=$1&p=$2
RewriteRule ^profile/([a-zA-Z0-9]*)/playlists/([a-zA-Z0-9]*)/(.*)/page([0-9]*).html user_playlists_entry.php?u=$1&lid=$2&p=$4
RewriteRule ^profile/([a-zA-Z0-9]*)/playlists/([a-zA-Z0-9]*)/(.*)/$ user_playlists_entry.php?u=$1&lid=$2
#RewriteRule ^profile/([a-zA-Z0-9]*)/playlists/([a-zA-Z0-9]*)/(.*)$ user_playlists_entry.php?u=$1&lid=$2
#other page, process in list.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^.* list.php
Re: Niche video script installation problems
I just sent you an email with the details
Re: Niche video script installation problems
Hostonnet, can you plz check your PM for the details?
Re: Niche video script installation problems
Same problems! Did you solve it?
Re: Niche video script installation problems
Re: Niche video script installation problems
I am having a 500 internal server error on my site. What was the fix?
Re: Niche video script installation problems
My sever in this case is 1and1 and they said I had to put my cgi, pl files in cgi-bin folder. which files should I put in?
Re: Niche video script installation problems
Re: Niche video script installation problems
I migrated to another server with webcron and curl and reinstalled the script. But the one on topvideos does not work yet.
Re: Niche video script installation problems
How do you turn off the racy porn stuff? It should not be returning restricted content and it is.
Re: Niche video script installation problems
Turning the porn off is something I am interested in also.
Re: Niche video script installation problems
I think it can't. I would be interested in deleting specific rightinfringing video items too, per item. It isnt possible either, is it?
Re: Niche video script installation problems
the "racy" stuff is by DEFAULT off and somehow it is turned on. I went into the code
/lib/services.php
the line is
Code:
$req = "http://gdata.youtube.com/feeds/api/videos?vq={$keyword}".
"&start-index={$start_index}".
"&max-results={$config['list_per_page']}".
"&orderby=updated";
but can read:
Code:
$req = "http://gdata.youtube.com/feeds/api/videos?vq={$keyword}".
"&start-index={$start_index}".
"&max-results={$config['list_per_page']}".
"&orderby=updated".
"&racy=exclude";
even with that racy exclude the engine overrides the output. There is a fix using another keyword you insert in every search like "funny" or "music" or "video" but still restricted content comes in.
Youtube says it is excluded by default and you have to have racy=include to get it. I really want it turned off because I have a good site that comes up with mostly porn because it uses the Latin keyword. Seems Latin means porn. The problem with this script having it default on is that ANYONE can come and search for porn and when they watch it you get a link back from the restricted side of Youtube and will loose ALL your pages from ALL search engines for it. It happened to me.
I cannot find the creator of that engine anywhere. All I find is several programers who have modified the template system. The source of the code remains a mystery and with the porn turned on that is not so good. I have only one site it always shows up. The rest only if you search for it. But it takes the robots only one tag and off you go.