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.

Problema Con Yellow Card Mod

Aquí­ podrás dejar tus dudas sobre MODs o MODificaciones de tu phpBB2
  Reglas del Foro
Antes de participar en los foros, leer esto por favor.
Normas generales de phpBB-Es y las de Soporte
Cerrado
magic
Observador/a
Mensajes: 21
Registrado: 21 Ene 2007, 20:28

Problema Con Yellow Card Mod

#1

Mensaje por magic »

Bueno instale yellow card mod, con Easy mod, y al terminar de instalar creo que tengo que ejecutar yellow_card_db_update.php, pero no se si tengo que ejecutarlo desde la URL, http://nbaspain.freehostia.com/foro/adm ... update.php o desde phpMyAdmin, he probado las dos cosas pero na, en el sql me dice:

Código: Seleccionar todo


Parece haber un error en su consulta de SQL. La salida generada por el servidor de MySQL, de existir, aparece abajo, en cuyo caso puede ayudar a diagnosticar el problema.

ERROR: Signo de puntuación desconocido @ 160
STR: ://
SQL: <?php
#########################################################
## SQL commands to phpBB2
## Author: Niels Chr. R�d
## Nickname: Niels Chr. Denmark
## Web: http://mods.db9.dk
## Email: ncr@db9.dk
##
## Ver 1.0.9
##
## phpBB2 database update script for mods
## this file is intended to use with phpBB2, when installing mods
## after so you may delete this file, but only admin can use so it really doesen't matter
## The script will look what prefix you are using, and use the existing DB defined by congig.php
## The execution of this script's included SQL is harmless, so you can run it as meny times you like
## note, though that the users last visit, will be set back to his/her last login, 
## but that is a minor cosmetic isue, that will correct it self next time the use  logs in
##
## the following example are from my mods, and you can add some self, for other mods if you like
## you will after execution get a list over those commands that are run with succes and those with warnings !
## delete the sample lines if you are using it only for other mods
##
#########################################################

define('IN_PHPBB', true)

consulta SQL:

<?php ######################################################### ## SQL commands to phpBB2 ## Author: Niels Chr. R�d ## Nickname: Niels Chr. Denmark ## Web: http://mods.db9.dk ## Email: ncr@db9.dk ## ## Ver 1.0.9 ## ## phpBB2 database update script for mods ## this file is intended to use with phpBB2, when installing mods ## after so you may delete this file, but only admin can use so it really doesen't matter ## The script will look what prefix you are using, and use the existing DB defined by congig.php ## The execution of this script's included SQL is harmless, so you can run it as meny times you like ## note, though that the users last visit, will be set back to his/her last login, ## but that is a minor cosmetic isue, that will correct it self next time the use logs in ## ## the following example are from my mods, and you can add some self, for other mods if you like ## you will after execution get a list over those commands that are run with succes and those with warnings ! ## delete the sample lines if you are using it only for other mods ## ######################################################### define('IN_PHPBB', true)

MySQL ha dicho: Documentación
#1064 - 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 '<?php
######################################################### 
Y si lo ejecuto desde la URL:

Código: Seleccionar todo

Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 27

Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 27

Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 27

Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 27

Warning: main(./common.): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 28

Warning: main(./common.): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 28

Warning: main(./common.): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 28

Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 28

Warning: main(./includes/functions_selects.): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 29

Warning: main(./includes/functions_selects.): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 29

Warning: main(./includes/functions_selects.): failed to open stream: No such file or directory in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 29

Warning: main(): Failed opening './includes/functions_selects.' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 29

Fatal error: Call to undefined function: session_pagestart() in /home/www/nbaspain.freehostia.com/foro/admin/mods/easymod/yellow_card_db_update.php on line 62

Alguien me puede ayudar??

Gracias :wink:
Pd:
Si od meteis en http://nbaspain.freehostia.com no os sorprendais al ver que directamente no esta el foro esta una entrada, con los links del foro y el portal :ok:


Creo que es por ese mod.

PD2:
Y cuando intento entrar en los foros me aparece esto :

Código: Seleccionar todo

Failed obtaining forum access control lists

DEBUG MODE

SQL Error : 1054 Unknown column 'a.auth_ban' in 'field list'

SELECT a.forum_id, a.auth_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete, a.auth_sticky, a.auth_announce, a.auth_vote, a.auth_pollcreate, a.auth_ban, a.auth_greencard, a.auth_bluecard, a.auth_mod FROM phpbb_auth_access a, phpbb_user_group ug WHERE ug.user_id = 2 AND ug.user_pending = 0 AND a.group_id = ug.group_id AND a.forum_id = 1

Line : 173
File : auth.php
Que se me olvidaba :jaja:

PD3:
A los invitados si que les deja entrar pero a los usuarios no, he probado a registrarme otra vez, por si acaso era mi usuario.


Editado:
Acabo de volver a probar y a los invitados les deja entrar a los foros pero no ver los posts :ok:
Url: http://nbaspain.freehostia.com
Plantilla Usada: Subsilver
Mods Añadidos: ImPortal, Member No, Lasted Topic in the Index Adjustable board width
Version PhpBB: 2.0.22

dllrsoft
Ex Staff
Mensajes: 1033
Registrado: 25 Nov 2006, 18:58
Edad: 37

Respuesta: Problema Con Yellow Card Mod

#2

Mensaje por dllrsoft »

Desde este foro siempre se ha dicho que no se recomienda instalar los MOD's con EM, ya que da muchos problemas... es mejor que lo instales tú a mano...

Saludos!!
@WormDay :: forInformática.

Contenido Oculto
Este foro requiere que este registrado e identificado para ver el contenido oculto.

zack7
Observador/a
Mensajes: 1
Registrado: 24 Ene 2007, 10:56

Respuesta: Problema Con Yellow Card Mod

#3

Mensaje por zack7 »

alguien puede ayudarle por favor? a mi me pasa exactamente el mismo problema.

sustituyo todo bien pero a la hora de ejecutar el db_update y hacer los cambios en la base de datos me da el mismo error que a el.

un saludo.

Avatar de Usuario
BENDER
Miembro
Mensajes: 208
Registrado: 26 Jul 2006, 17:51
Género:
Edad: 46

Respuesta: Problema Con Yellow Card Mod

#4

Mensaje por BENDER »

Uag.......q' problema........pero vamos por parte.......

1 -NO te recomiendo el EM para instalar MODs, al fin de cuentas trae mas problemas q' practicidad.
2 -La base de datos la tenes q' subir a esta direccion (por medio de FTP):
http://nbaspain.freehostia.com/foro/yel ... update.php (es la misma carpeta q' contiene el index, la carpeta admin, templates, etc.)

despues pones la misma direccion en la barra del explorador y le das "ENTER", te sale una pantalla con unos OKs y listo esa parte, con esto instalas las tablas. Tambien se soluciona tu "PD2" :mrgreen:

3 -Subi los archivos "a mano" en su carpeta correspondiente e instalalo "a mano" :mrgreen:
Antes era fanfarrón, ahora soy perfecto. :mrgreen:

URL: www.gyej.com.ar
Versión phpBB: phpBB3 (3.0.8)
MODs Instalados:
Sportsuite v.021a
Board3 Portal
Mod Imageshack
MV advanced last topic
Country Flags User Edition 1.2.1
Plantilla(s) usada(s): subsilver2 (modificada)
Servidor: windows gratuito
Actualización desde otra versión: 3.0.7 pl1
Conversión desde otro sistema de foros: phpBB2 2.0.23

Cerrado

Volver a “Soporte, preguntas sobre MODs de phpBB 2”