[ Como reparar ] Notice: Undefined index: theme_template_error

Started by [darksteel], March 27, 2004, 01:04:53 PM

Previous topic - Next topic

[darksteel]

Hola gente

Mayormente en el traslado de una bd de un yabb a smf o de smf a otro servidor le sale este FAMOSO error

QuoteNotice: Undefined index: theme_template_error in /home/Sources/Load.php on line 813

El error se debe a que l bd que mudaste sea de donde sea esta editada para ese server y no esta respondiendo el llamado

Solamente abres tu smf_Themes

Buscas:

Quote(0, 1, 'theme_url', 'http://uch.agua-dulce.info/foro/Themes/default'),
(0, 1, 'images_url', 'http://uch.agua-dulce.info/foro/Themes/default/images'),
(0, 1, 'theme_dir', '/home/hackduck/public_html/uch/foro/Themes/default'),
(0, 2, 'theme_url', 'http://uch.agua-dulce.info/foro/Themes/classic'),
(0, 2, 'images_url', 'http://uch.agua-dulce.info/foro/Themes/classic/images'),
(0, 2, 'theme_dir', '/home/hackduck/public_html/uch/foro/Themes/classic'),

( no importa las urls que estan ahy )

Las modificas a la url actual de donde se encuentra tu foro y  subes la tabla smf_Themes rparada y se repara

PD: Nuevo ;)  http://www.simplemachines.org/download.php?d=repair_paths;t=php


darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

counter world

Lei tu post y hice todo lo que dise y me quedo esto:


0 1 http://cstrike.webcindario.com/Themes/default
0 1 images_url http://cstrike.webcindario.com/Themes/default/imag...
0 1 theme_dir /home/webcindario/cstrike/Themes/default
0 2 theme_url http://cstrike.webcindario.com/Themes/classic
0 2 images_url http://cstrike.webcindario.com/Themes/classic/imag...
0 2 theme_dir /home/webcindario/cstrike/Themes/classic

Y no me anda me sigue apareciendo el siguiente error:

Notice: Undefined index: theme_template_error in /home/webcindario/cstrike/Sources/Load.php on line 835

Queria saber si hice algo mal o es algo que no anda.Mucha suerte y espero sus respuestas...

Saludos




[darksteel]

Borra tu smf_themes.

Abre block de notas (notepad)

Pega esto:
QuoteCREATE TABLE smf_themes (
  ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
  ID_THEME tinyint(4) unsigned NOT NULL default '1',
  variable tinytext NOT NULL default '',
  value tinytext NOT NULL default '',
  PRIMARY KEY (ID_MEMBER, ID_THEME, variable(30))
) TYPE=MyISAM;

#
# Dumping data for table `smf_themes`
#

INSERT INTO smf_themes
   (ID_THEME, variable, value)
VALUES  (1, 'name', 'SMF Default Theme'),
   (0, 1, 'theme_url', 'http://cstrike.webcindario.com/Themes/default'),
        (0, 1, 'images_url', 'http://cstrike.webcindario.com/Themes/default/images'),
        (0, 1, 'theme_dir', '/home/webcindario/cstrike/Themes/default'),
   (1, 'show_bbc', '1'),
   (1, 'show_latest_member', '1'),
   (1, 'show_modify', '1'),
   (1, 'show_user_images', '1'),
   (1, 'show_blurb', '1'),
   (1, 'show_gender', '0'),
   (1, 'show_newsfader', '0'),
   (1, 'display_recent_bar', '0'),
   (1, 'show_member_bar', '1'),
   (1, 'linktree_link', '1'),
   (1, 'show_profile_buttons', '1'),
   (1, 'show_mark_read', '1'),
   (1, 'show_sp1_info', '1'),
   (1, 'linktree_inline', '0'),
   (1, 'show_board_desc', '1'),
   (1, 'newsfader_time', '5000'),
   (1, 'allow_no_censored', '0'),
   (1, 'additional_options_collapsable', '1'),
   (1, 'use_image_buttons', '1'),
   (1, 'enable_news', '1'),
   (0, 2, 'theme_url', 'http://cstrike.webcindario.com/Themes/classic'),
        (0, 2, 'images_url', 'http://cstrike.webcindario.com/Themes/classic/images'),
        (0, 2, 'theme_dir', '/home/webcindario/cstrike/Themes/classic'),

Vas a File, (archivo) Grabar como...
smf_themes.sql

Luego vas a tu phpmyadmin y generas la consulta ;)

darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

[darksteel]

He estado navegando por tu espacio, note que no tienes la carpeta Themes, Avatars  .... Nesecitas Subirlas para que todo ande como tiene que ser....

darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

counter world

Como te has metido a mi espacio?
Pero si yo subi todo y la revise en WebFTP y tengo todo arriva,los avatars tambien si siempre los veo y themes tambien si lo subi en español. ;)

Ya cree eso que me dijiste anteriormente con el block de notas pero ahora lo unico que me falta es subirlo.Si me llega a ver algun error posteo devuelta :D


Mucha suerte y Salu2


Murder

Hice todo lo que dise ahi y cree el block de notas y lo subi pero me aparece esto:

You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 29

Que puede ser?


[darksteel]




Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Murder

CREATE TABLE smf_themes (
  ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
  ID_THEME tinyint(4) unsigned NOT NULL default '1',
  variable tinytext NOT NULL default '',
  value tinytext NOT NULL default '',
  PRIMARY KEY (ID_MEMBER, ID_THEME, variable(30))
) TYPE=MyISAM;

#
# Dumping data for table `smf_themes`
#

INSERT INTO smf_themes
(ID_THEME, variable, value)
VALUES  (1, 'name', 'SMF Default Theme'),
(0, 1, 'theme_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default'),
        (0, 1, 'images_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default/images'),
        (0, 1, 'theme_dir', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default'),
(1, 'show_bbc', '1'),
(1, 'show_latest_member', '1'),
(1, 'show_modify', '1'),
(1, 'show_user_images', '1'),
(1, 'show_blurb', '1'),
(1, 'show_gender', '0'),
(1, 'show_newsfader', '0'),
(1, 'display_recent_bar', '0'),
(1, 'show_member_bar', '1'),
(1, 'linktree_link', '1'),
(1, 'show_profile_buttons', '1'),
(1, 'show_mark_read', '1'),
(1, 'show_sp1_info', '1'),
(1, 'linktree_inline', '0'),
(1, 'show_board_desc', '1'),
(1, 'newsfader_time', '5000'),
(1, 'allow_no_censored', '0'),
(1, 'additional_options_collapsable', '1'),
(1, 'use_image_buttons', '1'),
(1, 'enable_news', '1'),
(0, 2, 'theme_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/classic'),
        (0, 2, 'images_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/classic/images'),
        (0, 2, 'theme_dir', 'http://usuarios.lycos.es/counterstrikeforo/



Saludos y mucha suerte

[darksteel]




Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

[darksteel]


CREATE TABLE smf_themes (
  ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
  ID_THEME tinyint(4) unsigned NOT NULL default '1',
  variable tinytext NOT NULL default '',
  value tinytext NOT NULL default '',
  PRIMARY KEY (ID_MEMBER, ID_THEME, variable(30))
) TYPE=MyISAM;

#
# Dumping data for table `smf_themes`
#

INSERT INTO smf_themes
(ID_THEME, variable, value)
VALUES  (1, 'name', 'SMF Default Theme'),
(0, 1, 'theme_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default'),
(0, 1, 'images_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default/images'),
(0, 1, 'theme_dir', '/data/members/free/tripod/es/c/o/u/counterstrikeforo/htdocs/Themes/default'),
(1, 'show_bbc', '1'),
(1, 'show_latest_member', '1'),
(1, 'show_modify', '1'),
(1, 'show_user_images', '1'),
(1, 'show_blurb', '1'),
(1, 'show_gender', '0'),
(1, 'show_newsfader', '0'),
(1, 'display_recent_bar', '0'),
(1, 'show_member_bar', '1'),
(1, 'linktree_link', '1'),
(1, 'show_profile_buttons', '1'),
(1, 'show_mark_read', '1'),
(1, 'show_sp1_info', '1'),
(1, 'linktree_inline', '0'),
(1, 'show_board_desc', '1'),
(1, 'newsfader_time', '5000'),
(1, 'allow_no_censored', '0'),
(1, 'additional_options_collapsable', '1'),
(1, 'use_image_buttons', '1'),
(1, 'enable_news', '1'),
(0, 2, 'theme_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/classic'),
(0, 2, 'images_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/classic/images'),
(0, 2, 'theme_dir', '/data/members/free/tripod/es/c/o/u/counterstrikeforo/htdocs/

Coloca eso haciendo una consulta SQL aver ;)





Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Murder

Entonces es asi:

CREATE TABLE smf_themes (
  ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
  ID_THEME tinyint(4) unsigned NOT NULL default '1',
  variable tinytext NOT NULL default '',
  value tinytext NOT NULL default '',
  PRIMARY KEY (ID_MEMBER, ID_THEME, variable(30))
) TYPE=MyISAM;

#
# Dumping data for table `smf_themes`
#

INSERT INTO smf_themes
(ID_THEME, variable, value)
VALUES  (1, 'name', 'SMF Default Theme'),
(0, 1, 'theme_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default'),
(0, 1, 'images_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/default/images'),
(0, 1, 'theme_dir', '/data/members/free/tripod/es/c/o/u/counterstrikeforo/htdocs/Themes/default'),
(1, 'show_bbc', '1'),
(1, 'show_latest_member', '1'),
(1, 'show_modify', '1'),
(1, 'show_user_images', '1'),
(1, 'show_blurb', '1'),
(1, 'show_gender', '0'),
(1, 'show_newsfader', '0'),
(1, 'display_recent_bar', '0'),
(1, 'show_member_bar', '1'),
(1, 'linktree_link', '1'),
(1, 'show_profile_buttons', '1'),
(1, 'show_mark_read', '1'),
(1, 'show_sp1_info', '1'),
(1, 'linktree_inline', '0'),
(1, 'show_board_desc', '1'),
(1, 'newsfader_time', '5000'),
(1, 'allow_no_censored', '0'),
(1, 'additional_options_collapsable', '1'),
(1, 'use_image_buttons', '1'),
(1, 'enable_news', '1'),
(0, 2, 'theme_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/classic'),
(0, 2, 'images_url', 'http://usuarios.lycos.es/counterstrikeforo/Themes/classic/images'),
(0, 2, 'theme_dir', '/data/members/free/tripod/es/c/o/u/counterstrikeforo/htdocs/

Coloca eso haciendo una consulta SQL aver ;)

Bueno cualquier cosa que no llegue a andar posteo devuelta...Muchas gracias darksteel por ayudarme en todos los problemas que tengo...

Saludos

[darksteel]

Oks, postea siempre que tengas dudas y/o problemas para eso estamos :)

darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Murder

Bueno men yo vine a este foro para pedir ayuda nada mas,pero me esta gustando y entonces voy a quedarme posteando y tratar de ayudar tambien...

Saludos,muchas gracias y ahora te cuento porque encontre smf_themes :P

Suerte

Murder

Recien modifique la tabla y la subi toda devueta...Ese error esta arreglado pero ahora aparecio este:

MySQL ha dicho:


You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default '0',
  ID_THEME tinyint(4) unsigned


Saludos y mucha suerte

[darksteel]

bueno,

Se supone que lo agregue, descarga el archivo que dejare en attachments, borras tu smf_themes de tu phpMyAdmins y se supone que baste :)




Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Murder

Me puso :Su query-SQL ha sido ejecutado con exito  ;)

Bueno este es otro error que me aparece cuando intento axeder al foro:

Notice: Undefined index: theme_template_error in /data/members/free/tripod/es/c/o/u/counterstrikeforo/htdocs/Sources/Load.php on line 835

Hice todo lo que has dicho y ahora si que no entiendo :(

Saludos y mucha suerte

Murder

Gracias men porfin termine mi foro despues de tanto tiempo...Era ese el error.Te lo agradesco por ayudarme tanto...

Saludos y mucha suerte

Advertisement: