Foros del Web » Programando para Internet » PHP »

Socorro Con Mi Config.php Porfavor!

Estas en el tema de Socorro Con Mi Config.php Porfavor! en el foro de PHP en Foros del Web. Hola gente. Apelo a su generosidad de siempre para ver si me pueden ayudar con el siguiente error que encuentro al instalar un script de ...
  #1 (permalink)  
Antiguo 17/11/2006, 14:17
 
Fecha de Ingreso: noviembre-2006
Mensajes: 1
Antigüedad: 17 años, 5 meses
Puntos: 0
Socorro Con Mi Config.php Porfavor!

Hola gente. Apelo a su generosidad de siempre para ver si me pueden ayudar con el siguiente error que encuentro al instalar un script de ranking ubicado en el archivo config.php .
Me sale el siguiente error:
Parse error: syntax error, unexpected '=' in /home/ar000512/public_html/config.php on line 20

El código es el siguiente:

Código PHP:
<?php
/* $Id: config.php,v 1.0 2005-08-26 16:23:36-07 brian Exp brian $ */
// vim: expandtab sw=4 ts=4 sts=4:

     /* Set your language...
     Code: eng for english, nor for norwegian or other... */
     
$language "eng";
     
$version "1.35"// version of search portal script
     /* allows you to check over photos submitted before they go live
       1 = live on submit
       2 = pending
     */
     
$SetPending '2';
     
$AdminAllowComments '1'// Allow Comments on Site
     
$AdminAllowMsg '1'// Allow Comments on Site
     
$siteurl ""// no ending slash
     /* for IIS users you will need to add this manually.
     eg: $home/ar000512/public_html/ = "c:/Inet/www/path/auction";
     */
     
$home/ar000512/public_html/ = $_SERVER['DOCUMENT_ROOT'"/rateme"// no ending slash
     
$upload_dir "$home/ar000512/public_html/rateme/pictures"// no ending slash
     /* Your emailadress. BE SURE TO SET. */
     
$from_address "[email protected]";
     
define('FLOOD_TIMEOUT',"1800");  // defines max time they have to wait before sending messages. used for slowing down spam
     
define(MAXFILE_SIZE,"500000");  // defines max file size for images
     
define(MAXIMAGE_W_SIZE,"500");  // defines max image width size for uploaded images
     
define(MAXIMAGE_H_SIZE,"500");  // defines max image height size for uploaded images
     

     /* How many members do you want per page*/
        
$admin_member_per_page 25;
     
/* Number of profiles per each page  */
     
$number_of_ads_per_page 16;
     
     
/* Table names must be set here */
     
$admintbl "admin";
     
$usr_tbl "users";
     
$cat_tbl "categories";
     
$comment_tbl "comments";
     
$msg_tbl "emailmesg";
     
$pic_tbl "picture";
     
$secure_image "security_images";
     
$rating_tbl "rating";
     
$sess_tbl "session";
     
/*
       1=HTTP Authentication
       0 or '' = html login
       only use this if you do not have permissions to create a .htaccess/.htpasswd files.
     */
     
$logintype["http"] = '';   //specifies the login type

     // set to on (1) it will NOT clean out the session db table automatically.
     
$GLOBALS['noshutdownfunc'] = 1;
     
// Do not edit below unless you change install directory:
     
$full_path_to_db "$home/ar000512/public_html/adminpanel/db.php";
     if (
file_exists($full_path_to_db))
     {     
         require(
$full_path_to_db);
     }
     require(
"$home/ar000512/public_html/$language.php");
     

include_once(
"$home/ar000512/public_html/adminpanel/func.php");
?>
Agradecere su ayuda de siempre. Desde ya cordiales saludos y gracias
  #2 (permalink)  
Antiguo 17/11/2006, 14:59
Avatar de the_scorpion  
Fecha de Ingreso: mayo-2006
Ubicación: Cuba
Mensajes: 696
Antigüedad: 17 años, 11 meses
Puntos: 3
Hola

No se, pero a mi me parece que si esto es una variable
Cita:
Iniciado por Johnny Cash Ver Mensaje
`
$home/ar000512/public_html/ = $_SERVER['DOCUMENT_ROOT'] "/rateme"; // no ending slash
estas rompiendo la variable, esto "/" no une el nombre.

Y si no, que es para ti $home/ar000512/public_html/
- path de publicación del sitio, tienes a $siteurl = "";

pd: veamos si los gúru volao que hay aquí pueden tambien echar una manito en esto
__________________
Que hablen mal de uno es espantoso. Pero hay algo peor: que no hablen.
Quien hace, puede equivocarse. Quien nada hace, ya está equivocado".
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:28.