Nuke 6.5

Started by danimt, April 07, 2006, 11:28:25 AM

Previous topic - Next topic

danimt

[/align:9e6da8dbf2]

Oi people

+ outra duvida...

é assim, em ja fiz upload do php-nuke 6.5 pro site, ja criei a base de dados e diz upload do ficheiro Sql, e ja alterei o ficheiro Config.php

mas quando entro aparece:

Fatal error: Call to undefined function: message_die() in /home/netpower/public_html/db/db.php on line 88

o que será??

 : ajuda :  : ajuda :

danimt

ou será que falta mais algum passo?

Teotónio Ricardo

Não deves ter condigurado a conexão no config.php à base de dados!

danimt

aqui está o corpo do config.php

-c---o---r---p---o------c---o---n---f---i---g---.---p---h---p--->
<?php

######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright © 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.
######################################################################

$dbhost = \\"localhost\\";
$dbuname = \\"ptnet\\";
$dbpass = \\"*********\\";
$dbname = \\"nuke\\";
$prefix = \\"nuke\\";
$user_prefix = \\"nuke\\";
$dbtype = \\"MySQL\\";
$sitekey = \\"SdFk*fa28367-dm56w69.3a2fDS+e9\\";

/*********************************************************************/
/* 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\\");
$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\\");
$tipath = \\"images/topics/\\";
if (eregi(\\"config.php\\",$_SERVER[\\'PHP_SELF\\'])) {
    Header(\\"Location: index.php\\");
    die();
}

?>
-------------------------------------------------------/corpo------>
aqui meti:

$dbhost = \\"localhost\\"; --------> deixei estar
$dbuname = \\"ptnet\\"; ---------------> mudei para o username que queria
$dbpass = \\"*********\\"; ----------> meti a pass que queria
$dbname = \\"nuke\\"; -----------------> o nome da base de dados
$prefix = \\"nuke\\"; -----------------> ja estava assim
$user_prefix = \\"nuke\\"; ------------> tb ja estava assim
$dbtype = \\"MySQL\\"; ------------> ja estava assim
$sitekey = \\"SdFk*fa28367-dm56w69.3a2fDS+e9\\"; ------> não mexi

Teotónio Ricardo

o que é que eu te disse quanto ao nome da base de dados? netpower_nuke!

danimt

agora mostra-me isto:

Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/netpower/public_html/mainfile.php on line 166

Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/netpower/public_html/mainfile.php on line 166

Warning: main(): Failed opening \\'language/lang-.php\\' for inclusion (include_path=\\'.:/usr/lib/php:/usr/local/lib/php\\') in /home/netpower/public_html/mainfile.php on line 166

Warning: get_lang(admin/language/lang-.php): failed to open stream: No such file or directory in /home/netpower/public_html/mainfile.php on line 181

Warning: get_lang(): Failed opening \\'admin/language/lang-.php\\' for inclusion (include_path=\\'.:/usr/lib/php:/usr/local/lib/php\\') in /home/netpower/public_html/mainfile.php on line 181

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/netpower/public_html/header.php on line 31

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/netpower/public_html/header.php on line 31

Warning: head(): Failed opening \\'themes//theme.php\\' for inclusion (include_path=\\'.:/usr/lib/php:/usr/local/lib/php\\') in /home/netpower/public_html/header.php on line 31

Fatal error: Unknown function: themeheader() in /home/netpower/public_html/header.php on line 47

malaquias_

Eu ate ajudava... Mas não sei :|, tens isso cheio de bugs.
[/align:21f41a222b]

danimt

obrigado na mesma

danimt

Quoteagora mostra-me isto:

Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/netpower/public_html/mainfile.php on line 166

Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/netpower/public_html/mainfile.php on line 166

Warning: main(): Failed opening \\'language/lang-.php\\' for inclusion (include_path=\\'.:/usr/lib/php:/usr/local/lib/php\\') in /home/netpower/public_html/mainfile.php on line 166

Warning: get_lang(admin/language/lang-.php): failed to open stream: No such file or directory in /home/netpower/public_html/mainfile.php on line 181

Warning: get_lang(): Failed opening \\'admin/language/lang-.php\\' for inclusion (include_path=\\'.:/usr/lib/php:/usr/local/lib/php\\') in /home/netpower/public_html/mainfile.php on line 181

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/netpower/public_html/header.php on line 31

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/netpower/public_html/header.php on line 31

Warning: head(): Failed opening \\'themes//theme.php\\' for inclusion (include_path=\\'.:/usr/lib/php:/usr/local/lib/php\\') in /home/netpower/public_html/header.php on line 31

Fatal error: Unknown function: themeheader() in /home/netpower/public_html/header.php on line 47

Ninguém sabe como resolver isto :?:  :?:  :?:  :?:  :?:

 : ajuda :  : ajuda :  : ajuda :

Teotónio Ricardo

Falta ai configurares a language e falta alguns ficheiros de linguagem!

danimt

QuoteFalta ai configurares a language e falta alguns ficheiros de linguagem!

e como configuro a \\"language\\"?

Teotónio Ricardo

Tens que ter a language do admin que está dentro da pasta admin/language/lang-.php

danimt

eu tenho lá:

lang-english.php

lang-portuguese.php


e

index.html

e

.htacess


(apagei as outras linguagens)

Teotónio Ricardo

Quoteeu tenho lá:

lang-english.php

lang-portuguese.php


e

index.html

e

.htacess


(apagei as outras linguagens)

Quem mandou apagar as outras languages?

danimt

keres que as meta outravez?

danimt

ja tou a meter, ja meti no admin e isso, agora esta a meter nos modulos

danimt

YUPIIIIIIIIIIIIIIIIIIIIIII!!!!!

JA CONSEGUI!!!!!!  : first :  : first :  : first :  : happy :  : beer :  : beer :

VISITEM http://netpower.gethost4you.com


SÓ PUBLICIDADE!!!!  : rir :  : rir :  : rir :