Página 1 de 1

Encontre Errores con el Mod Debug

Publicado: 04 Ene 2012, 20:09
por Tony´S

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file [ROOT]/memberlist.php on line 1914: Undefined variable: s_char_options
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5064: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4048)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5066: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4048)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5067: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4048)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5068: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4048)

en esas lineas están esto

Código: Seleccionar todo

	// application/xhtml+xml not used because of IE
	header('Content-type: text/html; charset=UTF-8');

	header('Cache-Control: private, no-cache="set-cookie"');
	header('Expires: 0');
	header('Pragma: no-cache');

	if (!empty($user->data['is_bot']))
	{
		// Let reverse proxies know we detected a bot.
		header('X-PHPBB-IS-BOT: yes');
	}

	return;
}
y en la 1914 esta esto

Código: Seleccionar todo

		if ($mark_time_forum >= $forum_last_post_time)
con algunas lineas mas

Código: Seleccionar todo

	if ($config['load_db_lastread'] && $user->data['is_registered'])
	{
		if ($mark_time_forum >= $forum_last_post_time)
		{
			// We do not need to mark read, this happened before. Therefore setting this to true
			$row = true;
		}
		else
esto me aparece a la hora de asignar un usuario a cualquier grupo..

Imagen

no se a que se debe la actualización fue un éxito y los únicos archivos que salieron en confito fue el viewtopic.php
y otro que se llamaba mas o menos udapte.php

Re: Encontre Errores con el Mod Debug

Publicado: 04 Ene 2012, 21:49
por Makoto
bueno en memberlist.php alrededorde la linea que menciona busca s_char_options quisas sea de un mod

Re: Encontre Errores con el Mod Debug

Publicado: 04 Ene 2012, 22:16
por Tony´S
en esa linea esta esto

Código: Seleccionar todo

			'S_CHAR_OPTIONS'	=> $s_char_options,
y con algunos codigos.. hace esto

Código: Seleccionar todo

			// www.phpBB-SEO.com SEO TOOLKIT BEGIN
			'U_SORT_USERNAME'		=> $sort_url . $seo_sep . 'sk=a&sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_FROM'			=> $sort_url . $seo_sep . 'sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_JOINED'			=> $sort_url . $seo_sep . 'sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_POSTS'			=> $sort_url . $seo_sep . 'sk=d&sd=' . (($sort_key == 'd' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_EMAIL'			=> $sort_url . $seo_sep . 'sk=e&sd=' . (($sort_key == 'e' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_WEBSITE'		=> $sort_url . $seo_sep . 'sk=f&sd=' . (($sort_key == 'f' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_LOCATION'		=> $sort_url . $seo_sep . 'sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_ICQ'			=> $sort_url . $seo_sep . 'sk=g&sd=' . (($sort_key == 'g' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_AIM'			=> $sort_url . $seo_sep . 'sk=h&sd=' . (($sort_key == 'h' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_MSN'			=> $sort_url . $seo_sep . 'sk=i&sd=' . (($sort_key == 'i' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_YIM'			=> $sort_url . $seo_sep . 'sk=j&sd=' . (($sort_key == 'j' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_SORT_ACTIVE'			=> ($auth->acl_get('u_viewonline')) ? $sort_url . $seo_sep . 'sk=l&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a') : '',
			'U_SORT_RANK'			=> $sort_url . $seo_sep . 'sk=m&sd=' . (($sort_key == 'm' && $sort_dir == 'a') ? 'd' : 'a'),
			'U_LIST_CHAR'			=> $sort_url . $seo_sep . 'sk=a&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'),
			// www.phpBB-SEO.com SEO TOOLKIT END

			'S_SHOW_GROUP'		=> ($mode == 'group') ? true : false,
			'S_VIEWONLINE'		=> $auth->acl_get('u_viewonline'),
			'S_LEADERS_SET'		=> $leaders_set,
			'S_MODE_SELECT'		=> $s_sort_key,
			'S_ORDER_SELECT'	=> $s_sort_dir,
			'S_CHAR_OPTIONS'	=> $s_char_options,
			// www.phpBB-SEO.com SEO TOOLKIT BEGIN
			// Here we circumvent because our append_sid does not allow
			// an url to end with an ?, as it should.
			'S_MODE_ACTION'		=> $pagination_url . (strpos($pagination_url, '?') !== false ? '' : '?') )
			// www.phpBB-SEO.com SEO TOOLKIT END
		);
}
que podrá ser el SEO?

Re: Encontre Errores con el Mod Debug

Publicado: 04 Ene 2012, 22:42
por Makoto
a bueno es por el seo premod que tienes es para la version 3.0.9 pues por eso te dije que no actuializaras aun xD :lol:

Re: Encontre Errores con el Mod Debug

Publicado: 05 Ene 2012, 18:16
por Alorse
Tony´S escribió:en esa linea esta esto
Mientras sale el premod para la versión 3.0.10 (el cual debiste esperar porque si ya usas el premod entonces la actualización de phpBB no es la manera correcta) cambia esto:

Código: Seleccionar todo

'S_CHAR_OPTIONS'	=> $s_char_options,
Por esto:

Código: Seleccionar todo

'S_CHAR_OPTIONS'	=> isset($s_char_options),