Author Topic: Multiple Video Sites on Single Domain  (Read 1319 times)

The_Lone_Ranger

  • Guest
Multiple Video Sites on Single Domain
« on: December 23, 2008, 02:20:57 PM »
I could have sworn I saw something on this before, but can't find it.

Is installing multiple video sites on single domain as simple as creating a sub-folder in that domain, and do a separate install inside that folder?  Then repeat the process for each site desired?

priceyboy

  • Full Member
  • ***
  • Posts: 221
Re: Multiple Video Sites on Single Domain
« Reply #1 on: December 24, 2008, 08:49:41 AM »
Hi I am also trying to install anotheR phpmotion site on the same domain.
I created a folder, new database, uploaded all the files set the permissions etc, Everything works I can uplad profile pictures, audio, the audio plays fine, but the video uploads and a thumnail is generated, but when clicked I get a Fatal error: phpSHIELD Loader - cannot redeclare class clstbslocator in /home/walesinv/public_html/classes/config.php on line 2 but the config.php as it is encrypted.
After some digging around on here it seems like PHPmotion does'nt like having two classes/config.php files, does anyone know the fix?

Thanks
Pricey

bootmaker

  • Guest
Re: Multiple Video Sites on Single Domain
« Reply #2 on: December 24, 2008, 08:10:20 PM »
Just out of curiosity, why would you want two or more on the same domain?

The_Lone_Ranger

  • Guest
Re: Multiple Video Sites on Single Domain
« Reply #3 on: December 25, 2008, 01:37:46 PM »
So I could keep like subject material together.  Say the domain was about cars, you would have a Chevy only site and also a Ford only site.

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: Multiple Video Sites on Single Domain
« Reply #4 on: December 27, 2008, 02:56:46 AM »
to fix problem, simply open the following files with notepad...
includes/rating_functions.php
includes/rating_process.php

Just change script

include_once ("../classes/config.php");
include_once ("../classes/sessions.php");

with

include_once ("classes/config.php");
include_once ("classes/sessions.php");

and re-upload the new files replacing the old ones....

priceyboy

  • Full Member
  • ***
  • Posts: 221
Re: Multiple Video Sites on Single Domain
« Reply #5 on: December 27, 2008, 04:58:30 AM »
Thank you Jayjota!

That works perfect! I really appreciate that you took the time and effort to post this fix.

Pricey

The_Lone_Ranger

  • Guest
Re: Multiple Video Sites on Single Domain
« Reply #6 on: December 27, 2008, 08:49:07 PM »
Thank you Jayjota!

That works perfect! I really appreciate that you took the time and effort to post this fix.

Pricey

So you now have multiple sites on one domain name?

priceyboy

  • Full Member
  • ***
  • Posts: 221
Re: Multiple Video Sites on Single Domain
« Reply #7 on: December 28, 2008, 10:58:28 AM »
Yes Lone Ranger.
I now have two sites running perfect: 1 host, one site is in the root folder, and the ohter just in a sub folder, running on two separate databases.
The licence however does not work in the subfolder (only on the main one), looks like I need a licence for each intallation and not each domain..
« Last Edit: December 28, 2008, 11:00:55 AM by priceyboy »

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: Multiple Video Sites on Single Domain
« Reply #8 on: December 28, 2008, 11:19:54 AM »
Thank you Jayjota!

That works perfect! I really appreciate that you took the time and effort to post this fix.

Pricey

not a problem, I had the same situation before....

i've been trying to get 2 diff sites to run off the same database, just some minor tweaks needs to be involved.....

bbm

  • Guest
Re: Multiple Video Sites on Single Domain
« Reply #9 on: December 28, 2008, 04:31:55 PM »
Thank you Jayjota!

That works perfect! I really appreciate that you took the time and effort to post this fix.

Pricey

not a problem, I had the same situation before....

i've been trying to get 2 diff sites to run off the same database, just some minor tweaks needs to be involved.....

2 sites, 1 database ? whoa  :D
Any good for sth ?

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: Multiple Video Sites on Single Domain
« Reply #10 on: December 28, 2008, 06:14:45 PM »
Quote
sth ?


sth?????? I dont follow.....

bbm

  • Guest
Re: Multiple Video Sites on Single Domain
« Reply #11 on: December 29, 2008, 12:50:29 AM »
Sorry, I meant, is using 1 DB for 2 scripts good for something... (sth, lolz)
Any advantages to it ? For example, Less logins and/or connections to the DB-server ?

Cheers !

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: Multiple Video Sites on Single Domain
« Reply #12 on: December 29, 2008, 06:55:22 PM »
yes well, you have multiple sites in different niches, and all users can navigate in and out of every site without having to re-register. It's a concept. imagine for example XYZ tv. This 1 channel covers a dozen shows concurrently. So origami, cooking, political news, soccer. You have a site for each one of these shows, and group them together, it is now called a real TV Network. as you cover different things, all displayed from one TV network.

moorescode

  • Newbie
  • *
  • Posts: 15
Re: Multiple Video Sites on Single Domain
« Reply #13 on: February 23, 2010, 05:19:29 PM »
Here's a twist... I have a single domain and a single server with two separate databases.  One is PHPmotion v2 (www.truepraise.org), and the other is PHPmotion v3.5 (www.truepraise.org/videos).  All appears to work fine with the exception of uploading videos in v 3.5.  Progress Bar never starts and videos never upload.  I guess there is some conflict with files in the server's CGI-Bin directory.  Each installation has it's own CGI-Bin directory, but there is a 3rd one (which isn't accessible via the web) and I think they may be sharing that one.  Any suggestions?