Ver Mensaje Individual
  #7 (permalink)  
Antiguo 10/08/2005, 22:13
Avatar de rec321
rec321
 
Fecha de Ingreso: mayo-2005
Ubicación: Argentina
Mensajes: 91
Antigüedad: 18 años, 11 meses
Puntos: 1
Inconveniente al instalar MKPortal

Al realizar los cambios en: /foros/sources/subs.php
y entrar en el programa me sale el siguiente error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING
in c:\appserv\www\apache_portal\foros\Sources\Subs.ph p on line 1603


Los cambios fueron realizados segun el tutorial:

CAMBIO 1º:

global $context, $modSettings;
static $header_done = false;

// Clear out the stat cache.
trackStats();

//added from MKportal global
$db_prefix; define ( 'IN_MKP', 1 ); define('DBPREFIX', $db_prefix);
$MK_PATH = "../"; $_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
require $MK_PATH."mkportal/conf_mk.php"; $checkaction = 0;
if (array_key_exists('action', $_REQUEST))
{ if (in_array($_REQUEST['action'], array('dlattach', 'dumpdb',
'findmember', 'helpadmin', 'quotefast', 'spellcheck', '.xml', 'help',
'printpage', 'jsoption', 'keepalive'))) { $checkaction = 1; } }
if($FORUM_VIEW == 1 && !$do_header && !$checkaction) { ob_start(); }
//end added

if ($do_header === null)
$do_header = !$header_done;
if ($do_footer === null)


CAMBIO 2º


// (since this is just debugging... it's okay that it's after </html>.)
db_debug_junk();
}
//added from MKportal
if($FORUM_VIEW == 1 && !$checkaction) { require_once $MK_PATH.
"mkportal/include/boardmod/smf_out.php"; mkportal_board_out(); }
//end added

// Remember this URL in case someone doesn't like sending HTTP_REFERER.
$_SESSION['old_url'] = $_SERVER['REQUEST_URI'];


Porque me da error?