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...

Problemas de Acualización de 4.1 a 4.4
Enviado el Viernes, marzo 02 @ 09:07:55 PST by NukeManContributed by: kl0nk

Bug / ErrorSaludos.
Mi problema radica con la actualizacion del PHP-Nuke 4.1 a 4.4, lo que sucede es que despues de actualizar la dase de datos (de 4.1 a 4.3 y luego de 4.3 a 4.4) me aparece el siguiente error:
Warning: No such index in string in mainfile.php on line 492. Me doy cuenta de que es en la funcion de encuesta, me voy al upgrade43_44.php y lo comparo con el nuke.sql y veo que falto altear las siguientes tablas:



# Nuke 4.1 acualizado a 4.4 CREATE TABLE pollcomments (
tid int(11) DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0',
pollID int(11) DEFAULT '0',
date datetime,
name varchar(60) DEFAULT '' NOT NULL,
email varchar(60),
url varchar(60),
host_name varchar(60),
subject varchar(85) DEFAULT '' NOT NULL,
comment text NOT NULL,
score tinyint(4) DEFAULT '0' NOT NULL,
reason tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (tid)
);

# Nuke 4.4 CREATE TABLE pollcomments (
* tid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0',
pollID int(11) DEFAULT '0',
date datetime,
name varchar(60) DEFAULT '' NOT NULL,
email varchar(60),
url varchar(60),
host_name varchar(60),
subject varchar(60) DEFAULT '' NOT NULL,
* comment text DEFAULT '' NOT NULL,
score tinyint(4) DEFAULT '0' NOT NULL,
reason tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (tid)
);

Las Lineas que tienen el * son las diferentes. Entonce agrego en el script ese lo siguiente:

$result = mysql_query("ALTER TABLE pollcomments CHANGE comment comment text DEFAULT '' NOT NULL");
if (!$result) { echo "Fallo pollcomments comment!
" .mysql_errno(). ": ".mysql_error(). "
"; return; } $result = mysql_query("ALTER TABLE pollcomments CHANGE tid tid int(11) NOT NULL auto_increment"); if (!$result) { echo "Fallo pollcommnet tid!
" .mysql_errno(). ": ".mysql_error(). "
"; return; }

Pero todavia me sigue dando error, que puede ser?. Utlizo el MySQL 3.22.32 y mod_php3-3.0.16

Gracias.

P.D: Tambien me di cuenta de que en el archivo upgrade43_44.php hay una linea que dice poll_comments y debe ser cambiada por pollcomments, ya que no hay ningun campo que se llama poll_comments.


 
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

"Problemas de Acualización de 4.1 a 4.4" | Login/Crear Cuenta | 0 comentarios
Puntos
Los comentarios son propiedad de quien los escribió. Nosotros no somos responsables de su contenido.

 
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