Buscar
Tópicos
  Crear una cuenta Home  ·  Enviar Noticia  ·  FOROS  ·  Tu Cuenta  ·  Directorio  ·  Download  
Bloque Principal

Quien está en línea
Hay actualmente, 18 invitado(s) y 0 miembro(s) que están en línea.

Eres un usuario Anónimo. Puedes registrarte aquí.

Software
Si quieres conocer más sobre PHP-NUKE...

  • PHP-Nuke





Sponsored by MandrakeSoft


Download
Quieres bajar PHP-Nuke, entonces no esperes más:

  • PHP-Nuke

Contacto

Phpnuke.org
read more...

NukeAddon.com
  • New File_Manager and updated UPL
  • DGFR Thematic for PHP-Nuke v5 beta 3
  • LinuxIndonesia.com Nuked!
  • PHPNuke.org update!
  • MiG complete add-on
  • phpNukeArchives 0.1 released
  • FunkyDelic For PHPNuke 5.0
  • daily digest of your nuke site
  • Multilingual PhpNuke
  • The reasons why phpnuke.org is down
read more...

NukeModules.com
  • USP File Manager v1.0 and UPL v1.1
  • Update on phpnuke.org
  • Another pHpNuke site
  • NGv1.0.0_Estonia.zip
  • phpNukeArchives 0.1 released
  • Leaving for Stockholm
  • FunkyDelic & FunkyDelic-Dark added
  • The reason for phpnuke.org being down
  • FunkyDelic For PHPNuke 5.0
  • Nuke Guestbook v1.0.0 released!
read more...

Fallo al recomendar artículo
Enviado el Viernes, marzo 09 @ 21:00:36 PST by NukeManContributed by: Anonymous

Bug / ErrorEstoy haciendo pruebas con un sitio basado en php-nuke, y al pulsar sobre la opción "enviar esta noticia a un amigo", me abre la ventana correctamente, me pide mi nombre, mi dirección de correo, el nombre de mi amigo y la dirección de este, pero al pulsar sobre "enviar" me salta un mensaje de error.
He comprobado que también en phpnuke-espanol pasa lo mismo. El mensaje de error que aparece en mi site es el que sigue:





Warning: Supplied argument is not a valid MySQL result resource in /xxxxx/friend.php on line 49

Warning: Supplied argument is not a valid MySQL result resource in /xxxxx/friend.php on line 51

Warning: Cannot add header information - headers already sent by (output started at /xxxxx/friend.php:49) in /xxxxx/friend.php on line 57


Y el mensaje de error que aparece en phpnuke-espanol es:

Warning: 0 is not a MySQL result index in /xxxxx/friend.php on line 49

Warning: 0 is not a MySQL result index in /xxxxx/friend.php on line 51

Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in /xxxxx/friend.php on line 57


¿Alguna idea?. Utilizo la última versión de phpnuke, por si os sirve de algo, la 4.4.1.


 
Enlaces Relacionados

Noticia más leída de Bug / Error:
Hispasec: Grave vulnerabilidad en PHP-Nuke deja al descubierto todo el sistema


Ultimas Noticias de Bug / Error:


Página Imprimible  Enviar este Artículo a un Amigo

"Fallo al recomendar artículo" | Login/Crear Cuenta | 2 comentarios
Puntos
Los comentarios son propiedad de quien los escribió. Nosotros no somos responsables de su contenido.

Re: Fallo al recomendar artículo (Puntuación: 0)
por Anonymous el Viernes, marzo 09 @ 22:04:42 PST

He probado y a mi también me fallaba. He revisado el código, y resulta que el fallo está en la línea 49. El código que viene con la 4.4.1 es el siguiente:

$result2=mysql_query("select title, time, topic, from stories where sid=$sid");

Pues bien, sobra la "," que está despues de topic, con lo que dicha linea debería de quedar así:

$result2=mysql_query("select title, time, topic from stories where sid=$sid");

Lo que no se muy bien es porqué en phpnuke.org, por ejemplo, funciona bien. Me imagino que dependerá de la versión de mysql que se esté ejecutando, pero de todas maneras, mejor que lo dejeis como os digo y así no hay problema. :-).

Un saludete,
T[n]C

[ Responder ]

Re: Fallo al recomendar artículo (Puntuación: 0)
por Anonymous el Viernes, marzo 09 @ 22:06:52 PST

Que se me olvidaba. Linea 49 del fichero friend.php :-P.

[ Responder ]


 
Web site powered by PHP-Nuke Web site using PHPBB IntegrationApache Web ServerPHP Scripting Language

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2000 by me
This web site was made with PHP-Nuke, a web portal system written in PHP. PHP-Nuke is Free Software released under the GNU/GPL license.
You can syndicate our news using the file backend.php or ultramode.txt