Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

Errores al instalar Ultimate PointsTema Solucionado

Soporte de MODs para phpBB 3.0.x
Dudas sobre AutoMOD aquí por favor.
Cerrado

0
No hay votos
 
Votos totales: 0

Elpingo
Asiduo/a
Mensajes: 184
Registrado: 04 Nov 2009, 21:03

Errores al instalar Ultimate Points  Tema Solucionado

#1

Mensaje por Elpingo »

Hola,
Termino el instalador del MOD y me avisa este error:

Ultimate Points
PHP Version: 5.2.17
DBMS: MySQL 5.1.51-community-log
phpBB3 Version: 3.0.8

Actualizando la plantilla Buziness Board
ERROR: No se pudo abrir el archivo ./styles/buz_boarducp_register.html para la lectura.


El otro error es un bug, cuando se abre un Mensaje Privado da este error:

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_pm_viewmessage.php on line 29: Undefined variable: user_info
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4641: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4643: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4644: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4645: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
El user_info tendrá que ver con una variable de lenguaje?

:nolose:

Avatar de Usuario
leviatan21
Ex Staff
Mensajes: 8279
Registrado: 26 Mar 2008, 20:06
Género:
Edad: 55

Errores al instalar Ultimate Points

#2

Mensaje por leviatan21 »

Elpingo escribió:[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_pm_viewmessage.php on line 29: Undefined variable: user_info
Es una variable que recoje y contiene muchos datos del usuario y se declara en la linea 65 (de un foro limpio y virgen de MODS)

Código: Seleccionar todo

	$user_info = get_user_information($author_id, $message_row);
No creo que tenga relación con el Ultimate Points porque no toca el archivo raíz/includes/ucp/ucp_pm_viewmessage.php
Normas de phpBB España | Normas de Soporte
No doy soporte por privado : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Cualquier mensaje privado no solicitado será ignorado :twisted:

"Education is what remains after one has forgotten everything he learned in school" - Albert Einstein

Elpingo
Asiduo/a
Mensajes: 184
Registrado: 04 Nov 2009, 21:03

Errores al instalar Ultimate Points

#3

Mensaje por Elpingo »

leviatan21 escribió:No creo que tenga relación con el Ultimate Points porque no toca el archivo raíz/includes/ucp/ucp_pm_viewmessage.php


Estas en lo cierto, corresponde al MOD Youtube Profile

estas son las lineas de código del error, precisamente la variable $template

Código: Seleccionar todo

global $user, $template, $auth, $db, $cache;
	global $phpbb_root_path, $phpEx, $config;

	$user->add_lang(array('viewtopic', 'memberlist'));
	$user->add_lang('mods/youtube');
	$template->assign_var('U_YOUTUBE', ($user_info['user_youtube']) ? 'http://youtube.com/user/' . urlencode($user_info['user_youtube']) : '');

	$msg_id		= (int) $msg_id;
	$folder_id	= (int) $folder_id;
	$author_id	= (int) $message_row['author_id'];
	$view		= request_var('view', '');
como puedo solucionar esta parte?

Ahora tengo un nuevo error, al querer ingresar al Support Toolkit me da este error:

Fatal error: Call to undefined function number_format_points() in /home/ps000409/public_html/forum/includes/functions.php on line 4490

Este error si pertenece al Ultimate Points, pues las lineas de código donde da el error son estas: (Line 4490: 'USER_POINTS')

Código: Seleccionar todo

// Check if Installer is already run
	if ( isset($config['points_name']) )
	{
		$template->assign_vars(array(
			'U_POINTS'				=> append_sid("{$phpbb_root_path}points.$phpEx"),
			'POINTS_LINK'			=> $config['points_name'],
			'USER_POINTS'			=> sprintf(number_format_points($user->data['user_points'])),
			'S_POINTS_ENABLE'		=> $config['points_enable'],
			'S_USE_POINTS'			=> $auth->acl_get('u_use_points'),
		));
	}
	// End Ultimate Points
:oops:

Avatar de Usuario
leviatan21
Ex Staff
Mensajes: 8279
Registrado: 26 Mar 2008, 20:06
Género:
Edad: 55

Errores al instalar Ultimate Points

#4

Mensaje por leviatan21 »

Elpingo escribió:Estas en lo cierto, corresponde al MOD Youtube Profile
Elpingo escribió:Ahora tengo un nuevo error, al querer ingresar al Support Toolkit me da este error:

Fatal error: Call to undefined function number_format_points() in /home/ps000409/public_html/forum/includes/functions.php on line 4490

Este error si pertenece al Ultimate Points, pues las lineas de código donde da el error son estas: (Line 4490: 'USER_POINTS')
En ninguno de los dos casos has incluido enlaces, y tampoco los veo en tus datos de soporte... :secreto: soy bueno pero no hago magia :lol:
Normas de phpBB España | Normas de Soporte
No doy soporte por privado : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Cualquier mensaje privado no solicitado será ignorado :twisted:

"Education is what remains after one has forgotten everything he learned in school" - Albert Einstein

Elpingo
Asiduo/a
Mensajes: 184
Registrado: 04 Nov 2009, 21:03

Errores al instalar Ultimate Points

#5

Mensaje por Elpingo »

Elpingo escribió:El otro error es un bug, cuando se abre un Mensaje Privado da este error:

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_pm_viewmessage.php on line 29: Undefined variable: user_info
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4641: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4643: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4644: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4645: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3767)

El user_info tendrá que ver con una variable de lenguaje?
Este error corresponde al MOD YouTube Profile, si les surge este error realizar los siguientes cambios:

Abrir: raiz/include/ucp/ucp_pm_viewmessage.php

En las instrucciones del install menciona que hay que buscar esta linea: (y despues agregar el código del post,)

Código: Seleccionar todo

$user->add_lang(array('viewtopic', 'memberlist'));
en su lugar buscar:

Código: Seleccionar todo

'U_FORWARD_PM'		=> ($config['forward_pm'] && $auth->acl_get('u_sendpm') && $auth->acl_get('u_pm_forward')) ? "$url&mode=compose&action=forward&f=$folder_id&p=" . $message_row['msg_id'] : '')
	);
Agregar despues: (el código del MOD)

Código: Seleccionar todo

$user->add_lang('mods/youtube');
	$template->assign_var('U_YOUTUBE', ($user_info['user_youtube']) ? 'http://youtube.com/user/' . urlencode($user_info['user_youtube']) : '');
Atención: No debe estar duplicado el código del MOD, si ya lo insertaron siguiendo las instrucciones deben borrarlo y pegarlo como indico arriba.

:ok:

Avatar de Usuario
leviatan21
Ex Staff
Mensajes: 8279
Registrado: 26 Mar 2008, 20:06
Género:
Edad: 55

Re: Errores al instalar Ultimate Points

#6

Mensaje por leviatan21 »

Gracias por aclarar como lo resolviste :ok:

Ahora falta el STK + Ultimate ( aún no dejas enlaces ) y actualizar tus datos de soporte :wink:
Normas de phpBB España | Normas de Soporte
No doy soporte por privado : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Cualquier mensaje privado no solicitado será ignorado :twisted:

"Education is what remains after one has forgotten everything he learned in school" - Albert Einstein

Elpingo
Asiduo/a
Mensajes: 184
Registrado: 04 Nov 2009, 21:03

Errores al instalar Ultimate Points

#7

Mensaje por Elpingo »

Aqui esta el enlace @Leviatan21: (Ultimate Points 1.0.7)

http://www.phpbb-es.com/foro/descarga-m ... 25157.html

Avatar de Usuario
leviatan21
Ex Staff
Mensajes: 8279
Registrado: 26 Mar 2008, 20:06
Género:
Edad: 55

Errores al instalar Ultimate Points

#8

Mensaje por leviatan21 »

Hay que hacer algo parecido a lo que hicimos anteriormente, con el SEO y el STK : Errores Debug en STK

Abrir :

Código: Seleccionar todo

raíz/stk/common.php
Buscar :

Código: Seleccionar todo

// Load STK config when not in the erk 
Antes, agregar :

Código: Seleccionar todo

// Start Ultimate Points
require(PHPBB_ROOT_PATH . 'includes/points/functions_points.' . PHP_EXT);
// End Ultimate Points
 
Buscar :

Código: Seleccionar todo

/**
 * Remove variables created by register_globals from the global scope
 * Thanks to Matt Kavanagh
 */ 
Antes, agregar :

Código: Seleccionar todo

// Start Ultimate Points
if ( isset($config['points_name']) )
{
    $points_config = $cache->obtain_points_config();
    $points_values = $cache->obtain_points_values();
}
// End Ultimate Points
 
Normas de phpBB España | Normas de Soporte
No doy soporte por privado : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Cualquier mensaje privado no solicitado será ignorado :twisted:

"Education is what remains after one has forgotten everything he learned in school" - Albert Einstein


Elpingo
Asiduo/a
Mensajes: 184
Registrado: 04 Nov 2009, 21:03

Errores al instalar Ultimate Points

#10

Mensaje por Elpingo »

Elpingo escribió:Ultimate Points
PHP Version: 5.2.17
DBMS: MySQL 5.1.51-community-log
phpBB3 Version: 3.0.8

Actualizando la plantilla Buziness Board
ERROR: No se pudo abrir el archivo ./styles/buz_boarducp_register.html para la lectura.
Y este error tenes idea que puede ser? :nolose:

Avatar de Usuario
leviatan21
Ex Staff
Mensajes: 8279
Registrado: 26 Mar 2008, 20:06
Género:
Edad: 55

Errores al instalar Ultimate Points

#11

Mensaje por leviatan21 »

Elpingo escribió:Actualizando la plantilla Buziness Board
ERROR: No se pudo abrir el archivo ./styles/buz_boarducp_register.html para la lectura.
Y este error tenes idea que puede ser? :nolose:
No le prestes importancia es un error del UMIL al intentar purgar la cache de los estilos tu simplemente actualiza las plantillas desde el ACP -> ESTILOS
Normas de phpBB España | Normas de Soporte
No doy soporte por privado : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Cualquier mensaje privado no solicitado será ignorado :twisted:

"Education is what remains after one has forgotten everything he learned in school" - Albert Einstein

Elpingo
Asiduo/a
Mensajes: 184
Registrado: 04 Nov 2009, 21:03

Errores al instalar Ultimate Points

#12

Mensaje por Elpingo »

Listo, gracias nuevamente, tema solucionado! :bravo:

Cerrado

Volver a “Soporte de MODs”