>>  Site Map >>  Forums >>  PHP-Nuke Newbie

Forum module - topics in forum:



PHP-Nuke Newbie - Complete phpnuke newbie? want to ask a question before installing? or have installed and are now confused? this is the place.



[Resolved] need help, dont know whats happened

hey, im new and have downloaded PHP-Nuke-5.6 and uploaded all the files to http://www.robaldo.sonnexh.com/phpnuke/

the only propblem is that nothing works, can anyone help me get it to work?

cheers






Why on earth would you use 5.6 when the most current version is 6.9????

Anyway, it looks like either you haven't imported the sql file into the database or config.php is set incorrectly.

Search the forums and try the idiots guide on how to do this.






i downloaded 5.6 because i only have 20mb of space so i pressumed the older it was the smaller it would be






You might consider getting a little more space.

5.6 is not really a good idea. I as many others do use 6.5 as there are many blocks, modules and add-ons for 6.5 and above.

the Idiots guide is extremely good. I still use it and I have built 3 Nuke sites!






i must be a real idiot cos i still cant install it






I don't know what the size of 5.6. But ver. 6.8 is only 10mb (the docs directory is not necessary to upload). The sql database is another 5mb. You'll be still left with 5mb to play around with. Ver 6.8 is quite easy to install.

http://www.splatt.it/phpWebNotes/EN-Book/ - This is a pretty good guide on how to config.






following some steps it tells me to go to this

http://www.robaldo.sonnexh.com/phpnuke/html/nukesql.php

and it will install it. it says its installed but when i click the link to go to it, it takes me to another site

* editing the config file in note pad is compicated aswell






Try 6.5. It is a basic install.

Follow the idiots guide to the letter. Everything it says and shows you is accurate.

Are you uploading via an FTP like Cute or WS-FTP Por?






im using cute_ftp but its just takes so long to upload






I have no idea what's going on their but that isn't your site is it?

Try 6.5 from the start. Remove all the installed files and start afresh.






no it aint my site. dont no why it takes me to that link.

ive taken off all the other files and am going to download 6.5 and try that






Take your time and follow the idiots guide to the letter! Hope it works!






ive uploaded the files, in my sonnexh cpanel ive made a new mysql database called robaldo_nuke1 (dont no if this is correct)

ive tried to follow the idiot guide but i just cannot do it

it says download a file andput it the same place as config

then i have to edit config? its all mumbled up code which i cannot understand

Code: :
<?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:localhost       SQL Database Hostname
# dbuname:robaldo.sonnexh.com      SQL Username
# dbpass:robaldo_nuke1       SQL Password
# dbname:       SQL Database Name
# $prefix:nuke      Your Database table's prefix
# $user_prefix:nuke 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 = "root";
$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();
}

?>







So it needs changing to:

Code: :
$dbhost = "localhost";
$dbuname = "";
$dbpass = "db password";
$dbname = "robaldo_nuke1";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";


Also go to your robaldo_nuke1 database and in the right hand pane you'll see a tab sql, click on that and then browse for the nuke.sql file in the phpnuke folder on your pc.






i put this

Code: :
$dbhost = "localhost";
$dbuname = "";
$dbpass = "db password";
$dbname = "robaldo_phpb1";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";


it was robaldo_phpb1 not nuke.

when i go to my link http://www.robaldo.sonnexh.com/nuke/html/nukesql.php like it says, i get this message
Quote: :
Fatal error: Call to undefined function: message_die() in /home/robaldo/public_html/nuke/html/db/db.php on line 88


My nuke folder is located at: http://www.robaldo.sonnexh.com/nuke/

for some reason, its just not working for me.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Select page

Valid HTML 4.01 Valid CSS