Página 1 de 1

Problema en foro

Publicado: 17 Oct 2009, 17:02
por rubentribune
hola amigos ahora tengo un fallo despues de instalar los 3 mod descritos en la firma, resulta que cuando quiero actualizar mi plantilla prosilver salta el siguiente error, aunque si lo hago en subsilver todo va perfecto.

Código: Seleccionar todo

Error General
SQL ERROR [ mysql4 ]

Incorrect string value: '\xF1o

SQL

UPDATE phpbb_styles_template_data SET template_id = 1, template_filename = 'posting_buttons.html', template_included = 'posting_editor.html:', template_mtime = 1255200468, template_data = '\n<script type=\"text/javascript\">\n// <![CDATA[\n var form_name = \'postform\';\n var text_name = <!-- IF $SIG_EDIT -->\'signature\'<!-- ELSE -->\'message\'<!-- ENDIF -->;\n var load_draft = false;\n var upload = false;\n\n // Define the bbCode tags\n var bbcode = new Array();\n var bbtags = new Array(\'[b]\',\'[/b]\',\'[i]\',\'[/i]\',\'[u]\',\'[/u]\',\'[quote]\',\'[/quote]\',\'[code]\',\'
\',\'
  • \',\'
\',\'
  • \',\'
\',\'[img]\',\'[/img]\',\'\',\'\',\'[flash=]\', \'[/flash]\',\'[size=]\',\'[/size]\'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);\n var imageTag = false;\n\n // Helpline messages\n var help_line = {\n b: \'{LA_BBCODE_B_HELP}\',\n i: \'{LA_BBCODE_I_HELP}\',\n u: \'{LA_BBCODE_U_HELP}\',\n q: \'{LA_BBCODE_Q_HELP}\',\n c: \'{LA_BBCODE_C_HELP}\',\n l: \'{LA_BBCODE_L_HELP}\',\n o: \'{LA_BBCODE_O_HELP}\',\n p: \'{LA_BBCODE_P_HELP}\',\n w: \'{LA_BBCODE_W_HELP}\',\n a: \'{LA_BBCODE_A_HELP}\',\n s: \'{LA_BBCODE_S_HELP}\',\n f: \'{LA_BBCODE_F_HELP}\',\n e: \'{LA_BBCODE_E_HELP}\',\n d: \'{LA_BBCODE_D_HELP}\'\n <!-- BEGIN custom_tags -->\n ,cb_{custom_tags.BBCODE_ID}: \'{custom_tags.A_BBCODE_HELPLINE}\'\n <!-- END custom_tags -->\n }\n\n var panels = new Array(\'options-panel\', \'attach-panel\', \'poll-panel\');\n var show_panel = \'options-panel\';\n\n\n// ]]>\n</script>\n<script type=\"text/javascript\" src=\"{T_TEMPLATE_PATH}/editor.js\"></script>\n\n\n<!-- IF S_BBCODE_ALLOWED -->\n<div id=\"colour_palette\" style=\"display: none;\">\n\n <script type=\"text/javascript\">\n // <![CDATA[\n function change_palette()\n {\n dE(\'colour_palette\');\n e = document.getElementById(\'colour_palette\');\n \n if (e.style.display == \'block\')\n {\n document.getElementById(\'bbpalette\').value = \'{LA_FONT_COLOR_HIDE}\';\n }\n else\n {\n document.getElementById(\'bbpalette\').value = \'{LA_FONT_COLOR}\';\n }\n }\n\n colorPalette(\'h\', 15, 10);\n // ]]>\n </script>\n</div>\n\n<div id=\"format-buttons\">\n <select name=\"fuentes\" style=\"height: 22px;\" onchange=\"bbfontstyle(\'[font=\' + this.form.fuentes.options[this.form.fuentes.selectedIndex].value + \']\', \'[/font]\');this.selectedIndex=0;\" title=\"Tipo de fuente: Texto\">\n <option value=\"\" style=\"font-family: Verdana;\" selected=\"selected\">Fuente</option>\n <option value=\"Arial\" style=\"font-family: Arial;\">Arial</option>\n <option value=\"Comic Sans MS\" style=\"font-family: \'Comic Sans MS\';\">Comic Sans MS</option>\n <option value=\"Courier New\" style=\"font-family: \'Courier New\';\">Courier New</option>\n\n <option value=\"Impact\" style=\"font-family: Impact;\">Impact</option>\n <option value=\"Lucida Console\" style=\"font-family: \'Lucida Console\';\">Lucida Console</option>\n <option value=\"Lucida Sans Unicode\" style=\"font-family: \'Lucida Sans Unicode\';\">Lucida Sans Unicode</option>\n <option value=\"Microsoft Sans Serif\" style=\"font-family: \'Microsoft Sans Serif\';\">Microsoft Sans Serif</option>\n <option value=\"Symbol\" style=\"font-family: Symbol;\">Symbol</option>\n <option value=\"Tahoma\" style=\"font-family: Tahoma;\">Tahoma</option>\n\n <option value=\"Times New Roman\" style=\"font-family: \'Times New Roman\';\">Times New Roman</option>\n <option value=\"Traditional Arabic\" style=\"font-family: \'Traditional Arabic\';\">Traditional Arabic</option>\n <option value=\"Trebuchet MS\" style=\"font-family: \'Trebuchet MS\';\">Trebuchet MS</option>\n <option value=\"Verdana\" style=\"font-family: Verdana;\">Verdana</option>\n <option value=\"Webdings\" style=\"font-family: Webdings;\">Webdings</option>\n <option value=\"Wingdings\" style=\"font-family: Wingdings;\">Wingdings</option>\n </select>\n\n <select name=\"addbbcode20\" onchange=\"bbfontstyle(\'[size=\' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + \']\', \'[/size]\');this.form.addbbcode20.selectedIndex = 0;\" title=\"{L_BBCODE_F_HELP}\">\n <option value=\"\" selected=\"selected\">Tama�o</option>\n <option value=\"50\">{L_FONT_TINY}</option>\n <option value=\"85\">{L_FONT_SMALL}</option>\n <option value=\"100\">{L_FONT_NORMAL}</option>\n <option value=\"150\">{L_FONT_LARGE}</option>\n <option value=\"200\">{L_FONT_HUGE}</option>\n </select>\n <input type=\"button\" style=\"height: 22px;\" class=\"button2\" name=\"bbpalette\" id=\"bbpalette\" value=\"{L_FONT_COLOR}\" onclick=\"change_palette();\" title=\"{L_BBCODE_S_HELP}\" />\n<br>\n\n<img src=\"./images/posting/left.gif\" border=\"0\" alt=\"align=left\" onclick=\"bbfontstyle(\'
\',\'[/left]\')\" title=\"Alinear a la Izquierda:
Texto
\" class=\"bbimages\"/>\n<img src=\"./images/posting/center.gif\" border=\"0\" alt=\"align=center\" onclick=\"bbfontstyle(\'
\',\'
\')\" title=\"Centrar:
Texto
\" class=\"bbimages\"/>\n<img src=\"./images/posting/right.gif\" border=\"0\" alt=\"align=right\" onclick=\"bbfontstyle(\'
\',\'
\')\" title=\"Alinear a la Derecha:
Texto
\" class=\"bbimages\"/>\n<img src=\"./images/posting/justify.gif\" border=\"0\" alt=\"align=justify\" onclick=\"bbfontstyle(\'
\',\'
\')\" title=\"Justificar:
Texto
\" class=\"bbimages\"/>\n\n<img src=\"./images/posting/dots.gif\" border=\"0\" style=\"padding-left: 5px; padding-right: 5px;\" />\n\n<img src=\"./images/posting/bold.gif\" border=\"0\" alt=\"b\" accesskey=\"b\" name=\"addbbcode0\" value=\" B \" onclick=\"bbstyle(0)\" title=\"{L_BBCODE_B_HELP}\" class=\"bbimages\"/>\n<img src=\"./images/posting/italic.gif\" border=\"0\" alt=\"i\" accesskey=\"i\" name=\"addbbcode2\" value=\" i \" onclick=\"bbstyle(2)\" title=\"{L_BBCODE_I_HELP}\" class=\"bbimages\"/>\n<img src=\"./images/posting/under.gif\" border=\"0\" alt=\"u\" accesskey=\"u\" name=\"addbbcode4\" value=\" u \" onclick=\"bbstyle(4)\" title=\"{L_BBCODE_U_HELP}\" class=\"bbimages\"/>\n<img src=\"./images/posting/strike.gif\" border=\"0\" alt=\"strike\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Texto Tachado: Texto\" class=\"bbimages\"/>\n<img src=\"./images/posting/sup.gif\" border=\"0\" alt=\"sup\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Super�ndice: Texto\" class=\"bbimages\"/>\n<img src=\"./images/posting/sub.gif\" border=\"0\" alt=\"sub\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Sub�ndice: Texto\" class=\"bbimages\"/>\n\n<img src=\"./images/posting/dots.gif\" border=\"0\" style=\"padding-left: 5px; padding-right: 5px;\" />\n\n<img src=\"./images/posting/listb.gif\" border=\"0\" alt=\"list\" accesskey=\"l\" name=\"addbbcode10\" value=\"List\" onclick=\"bbstyle(10)\" title=\"{L_BBCODE_L_HELP}\" class=\"bbimages\"/>\n<img src=\"./images/posting/listo.gif\" border=\"0\" alt=\"list=\" accesskey=\"o\" name=\"addbbcode12\" value=\"List=\" onclick=\"bbstyle(12)\" title=\"{L_BBCODE_O_HELP}\" class=\"bbimages\"/>\n<img src=\"./images/posting/listitem.gif\" border=\"0\" alt=\"[*]\" accesskey=\"t\" name=\"addlitsitem\" value=\"[*]\" onclick=\"bbstyle(-1)\" title=\"{L_BBCODE_LISTITEM_HELP}\" class=\"bbimages\"/>\n\n<img src=\"./images/posting/dots.gif\" border=\"0\" style=\"padding-left: 5px; padding-right: 5px;\" />\n\n<img src=\"./images/posting/highlight=.gif\" border=\"0\" alt=\"highlight\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Toque de luz (highlight): [highlight=#COLOR]Texto[/highlight]\" class=\"bbimages\"/>\n<img src=\"./images/posting/hr.gif\" border=\"0\" alt=\"hr\" onclick=\"bbfontstyle(\'
\')\" title=\"L�nea Horizontal:
\" class=\"bbimages\"/>\n<img src=\"./images/posting/ot.gif\" border=\"0\" alt=\"ot\" onclick=\"bbfontstyle(\'
Off Topic:
\',\'
\')\" onmouseover=\"helpline(\'ot\')\" title=\"Offtopic:
Off Topic:
Texto
\" class=\"bbimages\"/>\n \n<img src=\"./images/posting/dots.gif\" border=\"0\" style=\"padding-left: 5px; padding-right: 5px;\" />\n \n<img src=\"./images/posting/marqd.gif\" border=\"0\" alt=\"marquee=down\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Desplazar texto hacia abajo: Texto\" class=\"bbimages\"/>\n<img src=\"./images/posting/marqu.gif\" border=\"0\" alt=\"marquee=up\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Desplazar texto hacia arriba: Texto\" class=\"bbimages\"/>\n<img src=\"./images/posting/marql.gif\" border=\"0\" alt=\"marquee=left\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Desplazar texto hacia la izquierda: Texto\" class=\"bbimages\"/>\n<img src=\"./images/posting/marqr.gif\" border=\"0\" alt=\"marquee=right\" onclick=\"bbfontstyle(\'\',\'\')\" title=\"Desplazar texto hacia la derecha: Texto\" class=\"bbimages\"/>\n<br>\n <!-- IF S_BBCODE_QUOTE -->\n<img src=\"./images/posting/quote.gif\" border=\"0\" alt=\"quote\" accesskey=\"q\" name=\"addbbcode6\" value=\"Quote\" onclick=\"bbstyle(6)\" title=\"{L_BBCODE_Q_HELP}\" class=\"bbimages\"/>\n <!-- ENDIF -->\n<img src=\"./images/posting/code.gif\" border=\"0\" alt=\"code\" accesskey=\"c\" name=\"addbbcode8\" value=\"Code\" onclick=\"bbstyle(8)\" title=\"{L_BBCODE_C_HELP}\" class=\"bbimages\"/>\n<img src=\"./images/posting/spoiler.gif\" border=\"0\" alt=\"spoiler\" onclick=\"bbfontstyle(\'
Spoiler
\',\'
\')\" title=\"Spoiler:
Spoiler
Texto
\" class=\"bbimages\"/>\n\n<img src=\"./images/posting/dots.gif\" border=\"0\" style=\"padding-left: 5px; padding-right: 5px;\" />\n\n <!-- IF S_BBCODE_IMG -->\n<img src=\"./images/posting/img.gif\" border=\"0\" alt=\"img\" accesskey=\"p\" name=\"addbbcode14\" value=\"Img\" onclick=\"BBcodeimg()\" title=\"{L_BBCODE_P_HELP}\" class=\"bbimages\"/>\n <!-- ENDIF -->\n <!-- IF S_LINKS_ALLOWED -->\n<img src=\"./images/posting/url.gif\" border=\"0\" alt=\"url\" accesskey=\"w\" name=\"addbbcode16\" value=\"URL\" onclick=\"BBcodeurl()\" title=\"{L_BBCODE_W_HELP}\" class=\"bbimages\"/>\n <!-- ENDIF -->\n<img src=\"./images/posting/email.gif\" alt=\"email\" border=\"0\" onclick=\"BBcodeemail()\" title=\"Correo: [mail]Correo[/mail]\" class=\"bbimages\"/>\n\n<img src=\"./images/posting/dots.gif\" border=\"0\" style=\"padding-left: 5px; padding-right: 5px;\" />\n \n <!-- IF S_BBCODE_FLASH -->\n<img src=\"./images/posting/flash.gif\" border=\"0\" alt=\"flash\" accesskey=\"d\" name=\"addbbcode18\" value=\"Flash\" onclick=\"BBcodeflash()\" title=\"{L_BBCODE_D_HELP}\" class=\"bbimages\"/>\n <!-- ENDIF -->\n<img src=\"./images/posting/video.gif\" border=\"0\" alt=\"mp3\" onclick=\"BBcodevideo()\" title=\"Video (avi/wmv/mpg): [video width=ancho height=alto]URL del archivo[/video]\" class=\"bbimages\"/>\n<img src=\"./images/posting/mp3.gif\" border=\"0\" alt=\"mp3\" onclick=\"BBcodemp3()\" title=\"Archivo de audio (mp3): \" class=\"bbimages\"/>\n<img src=\"./images/posting/quick.gif\" border=\"0\" alt=\"quick\" onclick=\"BBcodequick()\" title=\"Video Quicktime: [quick width=ancho height=alto]URL del archivo[/quick]\" class=\"bbimages\"/>\n<img src=\"./images/posting/ram.gif\" border=\"0\" alt=\"ram\" onclick=\"BBcoderam()\" title=\"Archivo Real Media: [ram width=ancho height=alto]URL del archivo[/ram]\" class=\"bbimages\"/>\n<img src=\"./images/posting/googlevideo.gif\" border=\"0\" alt=\"googlevideo\" onclick=\"BBcodegooglevideo()\" title=\"Video google: [googlevideo]ID del video[/googlevideo]\" class=\"bbimages\"/>\n<img src=\"./images/posting/youtube.gif\" border=\"0\" alt=\"youtube\" onclick=\"BBcodeyoutube()\" title=\"Video youtube:\" class=\"bbimages\"/>\n <!-- IF S_BBCODE_ALLOWED and .custom_tags --> \n<br> \n <!-- BEGIN custom_tags -->\n<img src=\"./images/posting/{custom_tags.BBCODE_TAG}.gif\" border=\"0\" name=\"addbbcode{custom_tags.BBCODE_ID}\" alt=\"{custom_tags.BBCODE_TAG}\" value=\"{custom_tags.BBCODE_TAG}\" onclick=\"bbstyle({custom_tags.BBCODE_ID})\" title=\"{custom_tags.BBCODE_HELPLINE}\" class=\"bbimages\"/>\n <!-- END custom_tags -->\n <!-- ENDIF -->\n</div>\n <!-- ENDIF -->\n' WHERE template_id = 1 AND template_filename = 'posting_buttons.html'

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/acp/acp_styles.php
LINE: 2581
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_styles.php
LINE: 287
CALL: acp_styles->store_templates()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_styles->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()[/code]

Re: Problema en foro

Publicado: 17 Oct 2009, 18:27
por more_as
El error por el código que has puesto viene de haber instalado el mod de los BBcode con imágenes que seguramente requiera de consultas SQL en la base de datos

De hecho al final del todo aparece este código

Código: Seleccionar todo

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/acp/acp_styles.php
LINE: 2581
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_styles.php
LINE: 287
CALL: acp_styles->store_templates()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_styles->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Esos son los archivos que has modificado al instalar el Mod y que no encuentran las consultas en tu base de datos.

La solución...desinstala el mod y reinstala los archivos originales para comprobar que vuelve a funcionar, si es eso tienes dos opciones o volver a probar a instalarlo a ver si es que hiciste algo mal, o dejarlo tal como está ;) Es lógico que con subsilver te funcione ya que el mod probablemente lo hayas instalado en tu template prosilver, que es el que se ha visto alterado

Saludos

Re: Problema en foro

Publicado: 18 Oct 2009, 11:11
por rubentribune
ok amigo, voy a volver a instalarlo completo, la cosa es que de momento funciona todo perfecto. (excepto al actualizar la plantilla)

Re: Problema en foro

Publicado: 18 Oct 2009, 11:50
por rubentribune
hola more_as, repasando la instalacion no encuentro ninguna indicacion sobre añadir mysql, ademas a la hora de realizar la instalacion no hay que modificiar ninguno de estos archivos, y la e repasado entera y tengo todo tal cual dice la instalacion, de todas manera te dejo el enlace haber si es que me e saltado algo.

http://www.phpbb-es.com/foro/cambiar-bo ... 17637.html

Re: Problema en foro

Publicado: 18 Oct 2009, 12:48
por HuanManwe
rubentribune un pequeño detalle: cuando se pide en los datos de soporte que pongas la URL es la del FORO, no de la web.
En tu caso http://juegosreal.es/foro/

En cuanto a tu problema ya han sido tratados y solucionados problemas semejantes por lo que podrías haber encontrado la solución usando el buscador. Por ejemplo verías este mensaje: http://www.phpbb-es.com/foro/multiples- ... 22811.html

Re: Problema en foro

Publicado: 18 Oct 2009, 14:36
por rubentribune
HuanManwe escribió:rubentribune un pequeño detalle: cuando se pide en los datos de soporte que pongas la URL es la del FORO, no de la web.
En tu caso http://juegosreal.es/foro/

En cuanto a tu problema ya han sido tratados y solucionados problemas semejantes por lo que podrías haber encontrado la solución usando el buscador. Por ejemplo verías este mensaje: http://www.phpbb-es.com/foro/multiples- ... 22811.html

ok voy a corregir la url perdon :oops:


Voy a ver la solucion gracias.

Re: Problema en foro SOLUCIONADO

Publicado: 18 Oct 2009, 15:09
por rubentribune
Gracias Huan manwe, tenia que codificar el archivo, editor.js

y todo funciona perfecto muchisimas gracias