Webmaster Forums
Discuss about web design and development in our community.
Your Ad Here

Go Back   Webmaster Tips and Tricks Forums - web master resources > Webmaster resources and reading > Tutorials > Php Nuke

Php Nuke PhpNuke tutorials


Welcome to Webmaster Tips and Tricks Forums - web master resources the place to discuss about web design and development, read good tutorials and get free downloads. Spam free and relaxed. Here are some of the main things we offer:

Thousands of interesting threads and a very relaxed and friendly community. Professional reviews for your site and ideas, promotional programs for you and your site and many more.

... so come, join our community today!

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2006, 08:33 PM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 6,715
Rep Power: 0
dojo is an unknown quantity at this point
Default How to install Php Nuke

Since there are many people who are having trouble with setting this portal system I thought a tutorial would be a good idea. So here it is.

You'll have to start with the download. You can go to the official site PhpNuke.org. I've also used Codezwiz (requires registration). OK. So you download the zipped (or tar) file and you'll have to open it. After you've unzipped the archive you'll see the following structure:

html, sql, upgrades (these are folders) and some files: addons-modules, blocks, changes etc.

To make you life easier take the sql folder and move it inside the html folder. Have you done this? Then open the html folder (that's all you need to upload). You should have something like: admin, blocks, db, images, includes, language, modules, themes and sql (since you've moved it in the previous stage). These are the folders. The files are: admin.php, backend.php, banners.php, config.php, footer.php, header.php, index.php, mainfile.php, modules.php, robots and ultramode (text files).

NOTE: I have taken as an example the structure in PhpNuke version 7.6 (there could be some differences, but not many). The main idea is to MOVE the SQL FOLDER in the HTML one and prepare for some serious upload.

You open the FTP program you use and make sure you give it information so that some files are uploaded ASCII and some BINARY. Please make sure you read the documentation Nuke offers in the downloaded package. Since I use Total Commander for FTP transfer I just set it on automatic and it knows what to do.

SO ... UPLOAD THE HTML FOLDER as it is (the content in the main directory of the site). After the upload is complete, make sure you check to see if the files have been uploaded. Many errors come from the fact it has been an incomplete upload.

Time to set the database. On your web host site you should have something like PhpMyAdmin. If not, ask for help.Go to your account and create an EMPTY database. Make sure you remembee the HOST, NAME (of the database), USERNAME and PASSWORD for the database, since you're gonna need them.

Next step: In the PhpMyAdmin select the database you've created and you'll have a message that it contains no tables. Select SQL link on top of the program and you'll have a browse possibility on the bottom.Search for the NUKE.SQL file you have got in your SQL folder (remember? the one we moved in the HTML one so that you wouldn't forget to upload). You select it and hit GO. You should get the message the database has been successfully populated or something similar. If you are stuck here, please make sure you ask for the host admin or somebody for help.

After the database has been successfully populated, go to your computer and look for a file named CONFIG.PHP in the HTML folder.

Change the settings for the database:

$dbhost = "localhost"; --- usually localhost
$dbuname = "root"; --- the username you've chosen for your database
$dbpass = ""; --- the password you have chosen when creating the database
$dbname = "nuke"; --- the name you've chosen for the database. The rest remains as it is.
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";

UPLOAD the modified CONFIG.PHP

Visit the place on the web you've uploaded the NUKE. You should get a welcome message and see the main page.
__________________
Best World Images - photos from all over the world
Social Web Admins - for bloggers, forum managers and other social sites admins
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 06:33 AM.



Powered by vBulletin®
Theme redesigned by Dojo Design. © 2005, 2006 Dojo Design & Wtricks.com