Problemas Con IM Portal 120
Publicado: 29 Ene 2007, 16:26
- Dirección: www.usuarios.lycos.es/pnw
- Servidor: lycos
- Información de Versión: phpBB 2.0.22
- MODs Instalados: EasyMod, IM Portal120 (sin utilización aun, mirar problema abajo).
- Estilo empleado: Aphrodite
Bien, el problema es con las tablas 'SQL', y al modificar 'page_header' de la carpeta 'includes'.
Código: Seleccionar todo
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
define('HEADER_INC', TRUE);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// IM Portal http://www.integramod.com
//
if(!defined('PORTAL_INIT'))
{
include($phpbb_root_path . 'includes/functions_portal.' . $phpEx);
portal_config_init($portal_config);
include_once($phpbb_root_path . 'includes/lite.'.$phpEx);
$options = array(
'cacheDir' => $phpbb_root_path . 'var_cache/',
'fileLocking' => $portal_config['md_cache_file_locking'],
'writeControl' => $portal_config['md_cache_write_control'],
'readControl' => $portal_config['md_cache_read_control'],
'readControlType' => $portal_config['md_cache_read_type'],
'fileNameProtection' => $portal_config['md_cache_filename_protect'],
'automaticSerialization' => $portal_config['md_cache_serialize']
);
$var_cache = new Cache_Lite($options);
define('PORTAL_INIT', TRUE);
}
Código: Seleccionar todo
phpBB : Critical Error
Could not query portal config table
DEBUG MODE
SQL Error : 1146 Table 'pnw_es_db.phpbb_Kportal_config' doesn't exist
SELECT * FROM phpbb_Kportal_config
Line : 47
File : functions_portal.php
A mi me queda, al poner lo que me pide el mod, el trozo modificado y lo que hay por arriba y por abajo de esta manera:
Código: Seleccionar todo
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
define('HEADER_INC', TRUE);
if(!defined('PORTAL_INIT'))
{
include($phpbb_root_path . 'includes/functions_portal.' . $phpEx);
portal_config_init($portal_config);
include_once($phpbb_root_path . 'includes/lite.'.$phpEx);
$options = array(
'cacheDir' => $phpbb_root_path . 'var_cache/',
'fileLocking' => $portal_config['md_cache_file_locking'],
'writeControl' => $portal_config['md_cache_write_control'],
'readControl' => $portal_config['md_cache_read_control'],
'readControlType' => $portal_config['md_cache_read_type'],
'fileNameProtection' => $portal_config['md_cache_filename_protect'],
'automaticSerialization' => $portal_config['md_cache_serialize']
);
$var_cache = new Cache_Lite($options);
define('PORTAL_INIT', TRUE);
}
//
// gzip_compression
//
$do_gzip_compress = FALSE;
if ( $board_config['gzip_compress'] )
{
$phpver = phpversion();
$useragent = (isset($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) ? $HTTP_SERVER_VARS['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');
if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
Pero no solo ese es el error, sino que desde el ACP, en las opciones del portal, en cada una me aparecen errores, cada una con esto:
Blocks Management:
Código: Seleccionar todo
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 106103637 is not allowed to access /data/members/free/tripod/es/p/n/w/pnw/htdocs owned by uid 0 in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(./../var_cache/): failed to open dir: No such file or directory in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Código: Seleccionar todo
Could not query layout table
DEBUG MODE
SQL Error : 1146 Table 'pnw_es_db.phpbb_Klayout' doesn't exist
SELECT lid, name FROM phpbb_Klayout ORDER BY lid
Line : 989
File : admin_blocks.php
Código: Seleccionar todo
phpBB : Critical Error
Could not query blocks variables information
DEBUG MODE
SQL Error : 1146 Table 'pnw_es_db.phpbb_Kblock_variable' doesn't exist
SELECT * FROM phpbb_Kblock_variable ORDER BY block, bvid
Line : 338
File : admin_blocks_var.php
Código: Seleccionar todo
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 106103637 is not allowed to access /data/members/free/tripod/es/p/n/w/pnw/htdocs owned by uid 0 in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(./../var_cache/): failed to open dir: No such file or directory in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 106103637 is not allowed to access /data/members/free/tripod/es/p/n/w/pnw/htdocs owned by uid 0 in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(./../var_cache/): failed to open dir: No such file or directory in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
phpBB : Critical Error
Could not query layout information
DEBUG MODE
SQL Error : 1146 Table 'pnw_es_db.phpbb_Klayout' doesn't exist
SELECT lid, name FROM phpbb_Klayout
Line : 261
File : admin_blocks_pos.php
Aquí me funciona todo correctamente, excepto un error que vuelve a aparecer, pero funcionar, funciona:
Código: Seleccionar todo
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 106103637 is not allowed to access /data/members/free/tripod/es/p/n/w/pnw/htdocs owned by uid 0 in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(./../var_cache/): failed to open dir: No such file or directory in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Código: Seleccionar todo
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 106103637 is not allowed to access /data/members/free/tripod/es/p/n/w/pnw/htdocs owned by uid 0 in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(./../var_cache/): failed to open dir: No such file or directory in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 106103637 is not allowed to access /data/members/free/tripod/es/p/n/w/pnw/htdocs owned by uid 0 in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
Warning: opendir(./../var_cache/): failed to open dir: No such file or directory in /data/members/free/tripod/es/p/n/w/pnw/htdocs/includes/lite.php on line 300
phpBB : Critical Error
Could not query portal config table
DEBUG MODE
SQL Error : 1146 Table 'pnw_es_db.phpbb_Kportal_config' doesn't exist
SELECT config_value FROM phpbb_Kportal_config WHERE config_name = 'default_portal'
Line : 81
File : admin_layout.php
Código: Seleccionar todo
phpBB : Critical Error
Could not query portal config information
DEBUG MODE
SQL Error : 1146 Table 'pnw_es_db.phpbb_Kblock_variable' doesn't exist
SELECT * FROM phpbb_Kblock_variable ORDER BY bvid
Line : 49
File : admin_portal.php
Espero que me puedan ayudar, se que el error puede ser dificil de solucionar, pero lo agradeceré ^^