Hola mi problema es el siguiente, empece ayer con esto del php nuke y ya voy teniendo algo de idea. ya ice todos los pasos tales como cargar el nuke.sql y retocar el confi.php, pero de aqui me viene el problema, algo anda mal en este arxivo pork no me deja cargar la pagina http://localhost/phpnuke/
-El error es el siguiente:
Parse error: syntax error, unexpected ':' in c:\appserv\www\phpnuke\config.php on line 54
-Los datos del archivo config.php:
# Database & System Config # # dbhost: "localhost"; # dbuname: "root"; # dbpass: ""; # dbname: "nukeesp"; # $prefix: "nuke"; # $user_prefix: "nuke"; # $dbtype: "MySQL"; # MySQL, mysql4, sqlite, postgres, mssql, oracle, # msaccess, db2 and mssql-odbc # Be sure to write it exactly as above, case SeNsItIvE! # $sitekey: Security Key. CHANGE it to whatever you want, as long # as you want. Just don't use quotes. # $gfx_chk: Set the graphic security code on every login screen, # You need to have GD extension installed: # 0: No check # 1: Administrators login only # 2: Users login only # 3: New users registration only # 4: Both, users login and new users registration only # 5: Administrators and users login only # 6: Administrators and new users registration only # 7: Everywhere on all login options (Admins and Users) # NOTE: If you aren't sure set this value to 0 # $subscription_url: If you manage subscriptions on your site, you # must write here the url of the subscription # information/renewal page. This will send by # email if set. # $admin_file: Administration panel filename. "admin" by default for # "admin.php". To improve security please rename the file # "admin.php" and change the $admin_file value to the # new filename (without the extension .php) # $advanced_editor: On/Off the advanced WYSIWYG text editor for admins # 0: Off, will use the default simple text editor # 1: On, will use the full featured text editor ######################################################################
Muchas gracias tio, ahora el fallo me da en el arxivob db.php:
Fatal error: Call to undefined function message_die() in C:\AppServ\www\phpnuke\db\db.php on line 88
<?php /*************************************************************************** * db.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : support@phpbb.com * * $Id: db.php,v 1.10 2002/03/18 13:35:22 psotfx Exp $ * * ***************************************************************************/
/*************************************************************************** * This file is part of the phpBB2 port to Nuke 6.0 (c) copyright 2002 * by Tom Nitzschner (tom@toms-home.com) * http://bbtonuke.sourceforge.net (or http://www.toms-home.com) * * As always, make a backup before messing with anything. All code * release by me is considered sample code only. It may be fully * functual, but you use it at your own risk, if you break it, * you get to fix it too. No waranty is given or implied. * * Please post all questions/request about this port on http://bbtonuke.sourceforge.net first, * then on my site. All original header code and copyright messages will be maintained * to give credit where credit is due. If you modify this, the only requirement is * that you also maintain all original copyright messages. All my work is released * under the GNU GENERAL PUBLIC LICENSE. Please see the README for more information. * ***************************************************************************/
/*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/
case 'MySQL': include("".$the_include."/mysql.php" ; break;
case 'mysql4': include("".$the_include."/mysql4.php" ; break;
case 'postgres': include("".$the_include."/postgres7.php" ; break;
case 'mssql': include("".$the_include."/mssql.php" ; break;
case 'oracle': include("".$the_include."/oracle.php" ; break;
case 'msaccess': include("".$the_include."/msaccess.php" ; break;
case 'mssql-odbc': include("".$the_include."/mssql-odbc.php" ; break;
case 'db2': include("".$the_include."/db2.php" ; break;
}
$db = new sql_db($dbhost, $dbuname, $dbpass, $dbname, false); if(!$db->db_connect_id) { message_die(CRITICAL_ERROR, "Could not connect to the database" ; }
?>
EDITO: EL FALLO ES EN LA LINEA message_die(CRITICAL_ERROR, "Could not connect to the database" ;
Respecto a ese archivo... no debería dar problemas... pues no debes editarles.
$db = new sql_db($dbhost, $dbuname, $dbpass, $dbname, false); if(!$db->db_connect_id) { message_die(CRITICAL_ERROR, "Could not connect to the database") ; }
Me sigue dando el mismo error tio :S puede ser k sea algun fallo el archivo confi.php o algo sk no tngo ni idea... Añademe y lo hablamos por msn porfavor: Bokeron56@hotmail.com
El error staba en k tenia la ultima version de APPSERV y la version 6.5 de php-nuke, ha sido bajarme la 7.8 sustituir en carpeta, cargar el nuke.sql y retocar el confi y todo bien, gracias d todas formas por tu ayuda Nosetup
TU NO PUEDES Escribir nuevos temas en este foro TU NO PUEDES Responder a los temas en este foro TU NO PUEDES Editar tus propios mensajes en este foro TU NO PUEDES Borrar tus propios mensajes en este foro