| Precedente :: Successivo |
| Autore |
Messaggio |
classe79 Newbie


Registrato: 18-03-2007 Messaggi: 6
|
Inviato: 18-03-2007 18:39 Oggetto: installazione non completamente funzionante |
|
|
ciao a tutti ho:
unzippato la versione 7.9
installato easyphp 1.8
copiato i file contenuti dentro html in php nuke dentro www della directory principale di easyphp sovrascrivendo l'index.
sono andato su easyphp phpmyadmin
ho caricato il database nuke dentro la cartella sql della versione 7.9 unzippata
ma se apro il file config.php non trovo:
$dbhost = "";
$dbuname = "";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$db_type = "MySql";
$sitekey = "S.kQSd5%W@Y62-dm29-.-39.3a8sUf+W9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$advanced_editor = 0;
Ecco come modificare queste righe:
• $dbhost="localhost";
• $dbuname = ""; //(lasciamo il campo vuoto perchè EasyPHP non richiede un nome utente)
• $dbname = "nuke"; //(il nome del database, nell'esempio lo abbiamo chiamato "nuke")
ma bensi:
<?php
######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2005 by Francisco Burzi
# http://phpnuke.org
#
# 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, 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)
# $nuke_editor: Turn On/Off the WYSIWYG text editor
# 0: Off, textareas in forms will not show any editor
# 1: On, all textarea in the forms will show the editor
######################################################################
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SStgF54$3@+%288-982%/(-derThsR-23";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$nuke_editor = 1;
/**********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* your web browser pointing it to http://xxxxxx.xxx/admin.php */
/* (Change xxxxxx.xxx to your domain name, for example: phpnuke.org) *
/* */
/* Remember to go to Preferences 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");
$badreasons = 4;
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>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");
$tipath = "images/topics/";
// Debug control to see PHP generated errors. Set this to 0 to remove the errors display, set to 1 to see all errors
ini_set('display_errors','0');
//***************************************************************
// IF YOU WANT TO LEGALY REMOVE ANY COPYRIGHT NOTICES PLAY FAIR AND CHECK: http://phpnuke.org/modules.php?name=Commercial_License
// COPYRIGHT NOTICES ARE GPL SECTION 2(c) COMPLIANT AND CAN'T BE REMOVED WITHOUT PHP-NUKE'S AUTHOR WRITTEN AUTHORIZATION
// THE USE OF COMMERCIAL LICENSE MODE FOR PHP-NUKE HAS BEEN APPROVED BY THE FSF (FREE SOFTWARE FOUNDATION)
// YOU CAN REQUEST INFORMATION ABOUT THIS TO GNU.ORG REPRESENTATIVE. THE EMAIL THREAD REFERENCE IS #213080
// YOU'RE NOT AUTHORIZED TO CHANGE THE FOLLOWING VARIABLE'S VALUE UNTIL YOU ACQUIRE A COMMERCIAL LICENSE
// (http://phpnuke.org/modules.php?name=Commercial_License)
//***************************************************************
$commercial_license = 0;
if (eregi("config.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
?>
ma riesco a far partire il localhost nuke con questi due errori:
Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in c:\programmi\easyphp1-8\www\mainfile.php on line 43
Notice: import_request_variables(): No prefix specified - possible security hazard in c:\programmi\easyphp1-8\www\mainfile.php on line 64
scusate ma che è successo?????
un grazie a tutti |
|
| Torna in cima |
|
 |
rc1351 Newbie


Registrato: 24-06-2006 Messaggi: 177
|
Inviato: 18-03-2007 19:00 Oggetto: |
|
|
non hai seguito quello che sempre si dice qui:
1) non usare easyphp 1.8 (ma la 1.6)
2) non usare nuke79 (ma la 76) |
|
| Torna in cima |
|
 |
classe79 Newbie


Registrato: 18-03-2007 Messaggi: 6
|
Inviato: 18-03-2007 19:07 Oggetto: |
|
|
ok dopo mille peripezie ci sono riuscito scusate tanto ma mi sono basato su un tutorial hi html evidentemente ha qualche imprecisazione.
ok.
installazione completata con successo quale sarà il passo successivo? |
|
| Torna in cima |
|
 |
_-PaKi-_ Moderatore


Registrato: 16-05-2005 Messaggi: 413 Località: Milano
|
Inviato: 19-03-2007 18:08 Oggetto: |
|
|
Io direi che di imprecisioni ve ne erano tante, prima frà tutte quella che easyphp non richiede l'user del database... semmai non è necessaria la pass, cmq come già detto da rc mai usare la versione easyphp 1.8, di solito è meglio la 1.6 o la 1.7, per quanto riguarda la versione nuke MAI utilizzare le ultime versioni, in quanto piene di bugs e problemi di instabilità, un mio consiglio vivissimo di leggere qualche tutorial su phpnuke e la sicurezza  _________________
 |
|
| Torna in cima |
|
 |
|
|
Non puoi inserire nuovi Topic in questo forum Non puoi rispondere ai Topic in questo forum Non puoi modificare i tuoi messaggi in questo forum Non puoi cancellare i tuoi messaggi in questo forum Non puoi votare nei sondaggi in questo forum
|
Powered by phpBB
© 2001-2006 phpBB Group
Versione 2.0.21 by Nuke Cops © 2006 http://www.nukecops.com
- Generazione pagina: 0.16 Secondi
|