Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/12/2008, 03:42
evola100
 
Fecha de Ingreso: septiembre-2007
Mensajes: 136
Antigüedad: 16 años, 6 meses
Puntos: 0
Exclamación Respuesta: Configurar 'basedir'

haber una cosa,cuando pone lo de "public_html" eso hay que dejarlo asi? o eso hace referencia a algo en concreto?

Bueno mirar explico...

Estoy intentando montar un clon de youtube para subir videos y tal(personales)en las instrucciones de configuracion me dice que he de variar estos parametros pero no se como, he instalado el script,pero no va ni pa tras, y todo esta relacionado con la configuracion de estos parametros,segun el archivo dice esto..

Código PHP:
IIInstallation And Setup Instructions

1
Extract the zip file containing the software.

2Create a new MySQL database for ClipShare and import the dump file /install/clipshare.sql using PHPMyAdminThis will create and populate all DB tables.

3Open /include/config.php using any text editor and edit the following variables:

$config['site_name']   =   "YourSiteName";
Your web site’s nameWill appear in RSS feeds.

$config['phppath']     =   '/usr/local/bin/php';
This is the full path to PHP binaryNo ending slash.

$config['BASE_DIR']       =  '/home/yoursite/public_html/clipshare'
This is the full path to the directory where the script is installedNo ending slash.
$config['BASE_URL']      =  'http://www.yoursite.com/clipshare'
This is the URL where the script is installedNo ending slash.
$config['tmpimgpath']    =  '/home/yoursite/public_html/clipshare/tmp'
This is the full path to the directory where the /tmp folder is locatedNo ending slash.
$config['tmpimgpath2']  =  '/home/yoursite/public_html/clipshare/tmp'
This is the full path to the directory where the /tmp folder is locatedNo ending slash.

$config['ffmpeg']           =  '/usr/local/bin/ffmpeg'
This is the full path to FFmpeg moduleNo ending slash.
$config['mplayer']         =  '/usr/local/bin/mplayer';
This is the full path to Mplayer moduleNo ending slash.
$config['mencoder']      =  '/usr/local/bin/mencoder';
This is the full path to Mencoder moduleNo ending slash.
$config['metainject']     =  '/usr/local/bin/flvtool2'
This is the full path to FLVTool2 moduleNo ending slash
todo eso he de modificar...

la ruta segun he visto en mi servidor es esta...

Ruta total del servidor web /homepages/38/d215915077/htdocs/.

por tanto lo he modificado y lo he dejado asi.. el config.php,que es el el cual hay que modificar estas linias..

Código:
// =============== CONFIGURATION ===================================================================
// Your Website Name
$config['site_name']		= "Videos-007.com";
$config['BASE_DIR']			= '/homepages/38/d215915077/htdocs/polo';
$config['BASE_URL']			= 'http://www.el-burro.es/polo';
$config['tmpimgpath']		= '/homepages/38/d215915077/htdocs/polo/tmp';
$config['tmpimgpath2']	= '/homepages/38/d215915077/htdocs/polo/tmp';
$config['ffmpeg']				= '/usr/bin/ffmpeg';
$config['mplayer']			= '/usr/bin/mplayer';
$config['mencoder']			= '/usr/bin/mencoder';
$config['metainject']		= '/usr/bin/flvtool2';
$config['phppath']			= '/homepages/38/d215915077/htdocs/polo/php';
y no se si esta bien, al parecer no, porque no chuta..

la ruta de instalacion es ...

http://el-burro.es/polo


en teoria habria de salir ahi la pagina, pero no he de poner..

Http://el-burro.es/polo/index.php

asi si se ve, pero luego parece que todo va bien, pero cuando empiezas a subir un video no va,al igual que si entro a la administracion con mi pas i user de administracion entro sin problemas, pero luego en la pagina ese user y pas de admin no me lo reconoce..

Bien el archivo original a modificar es este...

Cita:
// =============== CONFIGURATION ================================================== =================
// Your Website Name
$config['site_name'] = "Cool Movies @ domain.tld";
$config['BASE_DIR'] = '/home/domains/domain.tld/public_html';
$config['BASE_URL'] = 'http://www.domain.tld';
$config['tmpimgpath'] = '/home/domains/domain.tld/public_html/tmp';
$config['tmpimgpath2'] = '/home/domains/domain.tld/public_html/tmp';
$config['ffmpeg'] = '/usr/bin/ffmpeg';
$config['mplayer'] = '/usr/bin/mplayer';
$config['mencoder'] = '/usr/bin/mencoder';
$config['metainject'] = '/usr/bin/flvtool2';
$config['phppath'] = '/usr/local/bin/php';
os pido una ayudita plis...
ya que no se lo que significa lo de "public_html'" eso de que habla, hay que dejarlo asi? o es para modificarlo? por que cosa? y lo de /usr/local/bin/phpesto de que habla?


al parecer esta es la ruta, dejo..cap..




asi que al subir un video da error, imagino que las rutas estaran mal...no se....



y lo que no entiendo es porque al marcar la ruta q es esta

http://el-burro.es/cg-bin

no sale la pagina y sale esto..



he de poner esto para q salga..

http://www.el-burro.es/cg-bin/index.php
saludos..

Última edición por evola100; 16/12/2008 a las 05:27