Página 1 de 1

Errores SQL al migrar foro

Publicado: 18 Nov 2014, 14:22
por switch
Hola! He realizado la migración del mi foro snow-monkeys.net a otro servidor y ahora va lento y tengo algunos errores, desde el servidor me comentan algo de optimización de la cache, el error que me da es este:

[Error General
SQL ERROR [ mysql4 ]

MySQL client ran out of memory [2008]

SQL

SELECT * FROM phpbb_styles_template_data WHERE template_id = 3 AND (template_filename = 'overall_header.html' OR template_included LIKE '%overall\\_header.html:%')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysql.php
LINE: 193
CALL: dbal->sql_error()

FILE: [ROOT]/includes/template.php
LINE: 348
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/includes/template.php
LINE: 657
CALL: template->_tpl_load()

FILE: [ROOT]/includes/functions_template.php
LINE: 227
CALL: template->_tpl_include()

FILE: [ROOT]/includes/template.php
LINE: 403
CALL: template_compile->compile()

FILE: [ROOT]/includes/template.php
LINE: 224
CALL: template->_tpl_load()

FILE: [ROOT]/includes/functions.php
LINE: 4901
CALL: template->display()

FILE: [ROOT]/viewtopic.php
LINE: 1830
CALL: page_footer()

Re: Errores SQL al migrar foro

Publicado: 18 Nov 2014, 15:51
por nextgen
switch escribió: MySQL client ran out of memory [2008]
Es un problema de tu hosting, contactate con ellos y preguntales cuanto de memoria dispones.

Re: Errores SQL al migrar foro

Publicado: 18 Nov 2014, 16:26
por switch
No se.. no estoy muy seguro de que sea eso, parece un problema con la tabla phpbb_styles_template_data,
ademas me estoy dando cuenta de que la base de datos está creciendo de forma desmesurada, 700 mb en dos días y sin apenas tráfico

Re: Errores SQL al migrar foro

Publicado: 18 Nov 2014, 16:43
por switch
He hecho un TRUNCATE TABLE phpbb_styles_template_data; y parece que va mejor, ya iré contando

Re: Errores SQL al migrar foro

Publicado: 18 Nov 2014, 20:30
por switch
Parece que con eso se ha solucionado la lentitud del foro y los pantallazos de error, no se porque se habia llenado esa tabla.
Ahora me aparece otro error cuando accedo al perfil:
[phpBB Debug] PHP Notice: in file [ROOT]/includes/ucp/ucp_profile.php on line 440: Undefined variable: s_ranks
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4780: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3894)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3894)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3894)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4784: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3894)

A ver si me podéis ayudar

Gracias