antoniusblack
Usuario Novato
Usuario Novato

Ok , llevo tiempo intentar crear una pagina en php , y no me da , voy a la base de datos , subo el nuke de sql , voy a nicoftp , subo el html y luego voy a mi@ a ver si la pagina ta creada y no me lo da desquiciado me dijeron que debia poner el config php , y ya lo hize , me pueden decir si algo esta mal con como subo la pagina o como le doy a config.php , este es mi config.php :
<?php

######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
# http://phpnuke.org
#
# This module is to configure the main options for your site
#
# 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.
######################################################################

######################################################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, 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.
######################################################################

$dbhost = "mysql.webcindario.com";
$dbuname = "antoniusblack";
$dbpass = "mi-clave-aqui";
$dbname = "harryvirtual";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";

/*********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*********************************************************************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING

$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated&quotGiño;
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker&quotGiño;
$tipath = "images/topics/";
if (eregi("config.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php&quotGiño;
die();
}

?>

antoniusblack:mi nombre de usuario
harryvirtual:el nombre de mi base de datos

Alguien me puede decir que rayos esta mal aqui??????

Avatar Image
Usuario habitual
Usuario habitual

me imagino que creaste las tablas del nuke en mysql y que configuraste el config.php ?RollEyes

antoniusblack
Usuario Novato
Usuario Novato
Escrito originalmente por sarahvargas
me imagino que creaste las tablas del nuke en mysql y que configuraste el config.php ?RollEyes


si, ya abilite las 3 opciones y todo el resto Ardiendo
Atomo64
Machacateclados
Machacateclados

oye, no le des la culpa a mi@ ni a php, ninguna de las 2 son responsables de que el phpnuke sea una ~N&#29941;&#33960;&#20282; y no sirva

Avatar Image
Come y duerme en el foro
Come y duerme en el foro

lo correcto para el sitio http://harryvirtual.webcindario.com

$dbhost = "mysql.webcindario.com";
$dbuname = "harryvirtual";
$dbpass = "mi-clave-aqui";
$dbname = "harryvirtual";






Si tu sitio se llamara: http://web21.webcindario.com

el nombre de la base de datos sería
$dbname = "web21";

Y el usuario sería
$dbuname = "web21";

antoniusblack
Usuario Novato
Usuario Novato

gracias pero me sigue dando mal

ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 08/Mar/2012, 23:52
franciskiko_20 NoSetup.org2952Mar/12
Por: , el 08/Nov/2004, 09:42
Kohga Caid Lepole_E99kSep/08
Por: , el 26/May/2004, 22:02
condorfc xandrex gohrum212kMay/04
Por: , el 19/Feb/2011, 14:48
stiwielegrand GestionXls NoSetup.org earagona72kMar/11
Por: , el 04/Jul/2007, 22:32
jah_ NoSetup.org33kJul/07