Página 1 de 1

Customisation DB+Advance BBCode Box 3.0.8+Conflicto

Publicado: 07 Dic 2010, 19:06
por nextgen
Bueno chavos eh instalado el mod que tiene phpbb.com para administrar las descargas llamado Customisation Data Base(nombre clave Titania) pero al entrar a la pagina de inicio del titania me arroja un conflicto nose si sea por el ABBC3 porque me muestra unas funciones del mismo.

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: Undefined variable: phpEx
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: include(includes/abbcode.) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: include(includes/abbcode.) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: include() [function.include]: Failed opening 'includes/abbcode.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Customisation DB+Advance BBCode Box 3.0.8+Conflicto

Publicado: 07 Dic 2010, 19:23
por leviatan21
Prueba haciendo esto :
Abrir :
raíz/titania/common.php

Buscar :

Código: Seleccionar todo

// Include common phpBB files and functions. 
Antes, agregar :

Código: Seleccionar todo

// Make that phpBB itself understands our paths
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = PHP_EXT; 

Re: Customisation DB+Advance BBCode Box 3.0.8+Conflicto

Publicado: 07 Dic 2010, 19:35
por nextgen
me sigue apareciendo el error

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: Undefined variable: phpEx
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: include(includes/abbcode.) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: include(includes/abbcode.) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 22: include() [function.include]: Failed opening 'includes/abbcode.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
Aqui te adjunto el common.php del titania con el ultimo cambio me indicas.

Código: Seleccionar todo

<?php
/**
 *
 * @package Titania
 * @version $Id$
 * @copyright (c) 2008 phpBB Customisation Database Team
 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
 *
 */

/**
 * @ignore
 */
if (!defined('IN_TITANIA'))
{
	exit;
}

// Version number (only used for the installer)
define('TITANIA_VERSION', '0.3.8');

define('PHPBB_USE_BOARD_URL_PATH', true);
if (!defined('IN_TITANIA_INSTALL'))
{
	define('PHPBB_MSG_HANDLER', 'titania_msg_handler');
}

// Include the non-dynamic constants
require(TITANIA_ROOT . 'includes/constants.' . PHP_EXT);

// Include core classes
require(TITANIA_ROOT . 'includes/core/phpbb.' . PHP_EXT);
require(TITANIA_ROOT . 'includes/core/titania.' . PHP_EXT);

// Include our core functions
titania::_include('functions');

set_exception_handler('titania_exception_handler');

// Set up our auto-loader
spl_autoload_register(array('titania', 'autoload'));

// Read config.php file
// 2 separate locations possible: within Titania directory and just outside of it.
if (file_exists(TITANIA_ROOT . 'config.' . PHP_EXT))
{
	titania::read_config_file(TITANIA_ROOT . 'config.' . PHP_EXT);
}
else
{
	titania::read_config_file(TITANIA_ROOT . '../config.' . PHP_EXT);
}

// Include the dynamic constants (after reading the Titania config file, but before loading the phpBB common file)
titania::_include('dynamic_constants');

// Decode the request
titania_url::decode_request();
// Make that phpBB itself understands our paths
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = PHP_EXT;
// Include common phpBB files and functions.
if (!file_exists(PHPBB_ROOT_PATH . 'common.' . PHP_EXT))
{
	die('<p>No phpBB installation found. Check the Titania configuration file.</p>');
}
if (!defined('PHPBB_INCLUDED'))
{
	require(PHPBB_ROOT_PATH . 'common.' . PHP_EXT);
}

// Initialise phpBB
phpbb::initialise();

// If the database is not installed or outdated redirect to the installer
if (!defined('IN_TITANIA_INSTALL') && (!isset(phpbb::$config['titania_version']) || version_compare(phpbb::$config['titania_version'], TITANIA_VERSION, '<')))
{
	if (phpbb::$user->data['user_type'] != USER_FOUNDER)
	{
		phpbb::$user->set_custom_lang_path(TITANIA_ROOT . 'language/');
		phpbb::$user->add_lang('common');

		msg_handler(E_USER_ERROR, phpbb::$user->lang['TITANIA_DISABLED'], '', '');
	}

	redirect(phpbb::append_sid(TITANIA_ROOT . 'install.' . PHP_EXT));
}

// Initialise Titania
titania::initialise();

// Allow login attempts from any page (mini login box)
if (isset($_POST['login']))
{
	phpbb::login_box();
}

// admin requested the cache to be purged, ensure they have permission and purge the cache.
if (isset($_GET['cache']) && $_GET['cache'] == 'purge' && phpbb::$auth->acl_get('a_'))
{
	titania::$cache->purge();

	titania::error_box('SUCCESS', phpbb::$user->lang['CACHE_PURGED']);
}

// admin requested a sync
if (isset($_GET['sync']) && phpbb::$auth->acl_get('a_'))
{
	$sync = new titania_sync;
	$method = explode('_', request_var('sync', ''), 2);

	if (method_exists($sync, $method[0]))
	{
		if (isset($method[1]))
		{
			$id = request_var('id', 0);
			$sync->$method[0]($method[1], $id);
		}
		else
		{
			$sync->$method[0]();
		}

		titania::error_box('SUCCESS', 'Sync Success');
	}
}
Edito no me dejo subir el adjunto porque me dice

La extensión php no está permitida

Customisation DB+Advance BBCode Box 3.0.8+Conflicto  Tema Solucionado

Publicado: 07 Dic 2010, 19:52
por leviatan21
Probemos este otro cambio :

Abrir :
raíz/titania/includes/core/phpbb.php
Buscar :

Código: Seleccionar todo

include(PHPBB_ROOT_PATH . 'includes/' . $file . '.' . PHP_EXT); 
Antes, agregar :

Código: Seleccionar todo

// Make that phpBB itself understands our paths
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = PHP_EXT; 

Re: Customisation DB+Advance BBCode Box 3.0.8+Conflicto

Publicado: 07 Dic 2010, 20:07
por nextgen
Bueno ahora si entra al titania el resultado seria este por el momento.

http://www.phpbbdesigners.com/titania/

Re: Customisation DB+Advance BBCode Box 3.0.8+Conflicto

Publicado: 07 Dic 2010, 20:12
por leviatan21
Bueno ahora si entra al titania
¿ Tema solucionado ?

Re: Customisation DB+Advance BBCode Box 3.0.8+Conflicto

Publicado: 07 Dic 2010, 20:17
por nextgen
Claro ;)