Author |
Message |
sianpu
New Member


Joined: Jan 07, 2004
Posts: 3
|
Posted:
Thu Jan 08, 2004 2:44 am |
|
Dear Friends,
Can someone voluntarily help me install my my PHPNuke 7.0 that I downloaded from this site?
I am building it for social organization but cannot install as I am a newbie.
I uploaded in my server and I have an online Cpanel. phpMyadmin, MySQL and others.
Can someone help me please? I'll be very glad if you could.
here is my URL
http://czp.ph
Please contact me if you can help me, I will give you my ID and PW for your management...
Thank you
e-mail me at sianpu@zomi.net
God bless... |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Jan 08, 2004 10:22 pm |
|
It is not that difficult, really! Follow these steps.
1 - unzip the files to your local PC.
2 - upload the contents of the html folder to your public_html folder on your ftp site. Do not upload the folder html, but the contents.
3 - Using cPanel, create a database - just call it nuke.
4 - Using cPanel, create a database user and password.
5 - Using cPanel, grant permission to the database user from step 4 to use the database you created in step 3.
6 - Using cPanel, click on the phpMyAdmin link in the MySQL application. You should see the database that you created in step 3. Click on it.
7 - Select the SQL tab.
8 - In the files you unpacked on your local pc, there is a folder called SQL. Inside that folder is a file called nuke.sql. Open it up using a text editor. Select all the contents and then copy it to the clipboard. Then paste the contents into the phpMyAdmin SQL window and select GO. Assuming you get a successfully loaded message, proceed.
9 - Edit the file called config.php and update these fields
$dbuname = "";
$dbpass = "";
$dbname = "nuke";
10 - reupload this file to your public_html folder.
11 - Point your browser to your site and you should be good to go! |
|
|
|
 |
Luth
New Member


Joined: Jan 05, 2004
Posts: 3
|
Posted:
Fri Jan 09, 2004 7:22 pm |
|
You know, that by far has to be the best description/tutorial for installing nuke I have ever seen. Trust me, I have read about 3000 of them since starting this Nuke learning curve a month ago. This site will be a daily read...
Bookmarked and linked on the new site...
Kudos my man. |
|
|
|
 |
sianpu

|
Posted:
Sat Jan 10, 2004 2:37 am |
|
Thanks alot for those who have helped me.
Its working by the help of our fiend here.
Bless you all and wish you the best
Thank you... |
|
|
|
 |
Raven

|
Posted:
Sat Jan 10, 2004 9:01 am |
|
Thanks! You will also need to change the permissions on the following folders to 777. Just the folders, not the contents.
modules
Forums
images
avatars
And, make sure the file ultramode.txt has permissions of 777. |
|
|
|
 |
Snowblind
New Member


Joined: Jan 14, 2004
Posts: 20
|
Posted:
Wed Jan 14, 2004 9:39 pm |
|
hi i have followed all the steps up to the config.php
but then nothing happends after i update the file and when i hit my url i get
Fatal error: Call to undefined function: message_die() in /home/topran2/public_html/db/db.php on line 88
curious... about config
######################################################################
# 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
######################################################################
$dbhost = "localhost"; <--what do i stick in there
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke"; <--what do i stick in there
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 7; |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 9:43 pm |
|
That error means that nuke is NOT connecting to your MySQL database. Those settings in red are usually correct as entered. But, it's usually the dbname, dbuser, and/or dbpass where the error is. Once you create a dbname and dbuser, you have to grant that dbuser access rights to the dbname. |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 9:48 pm |
|
I granted the dnuser access to the db, still nothing
those lines in red, do i need to add my host ip in there? |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 9:51 pm |
|
also in the sql page at the bottom where it says add host do i do anything with that or just leave it?
Access Hosts
localhost
Host (% wildcard is allowed): ??
thanks for your help, this must get old fast lol:( |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 9:51 pm |
|
localhost works 99% of the time, but if you use a host name for MySQL access, then put that in $dbhost. That is not your host name, necessarily. Your host should provide you with the correct parameters. |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 10:14 pm |
|
my DB
Sql Account Maintenance
Databases topran2_nuke
Users in nuke
topran2_nukeuser (Privileges: ALL PRIVILEGES)
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:topran2_nuke:localhost","topran2_nukeuser","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "topran2_nukeuser", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("topran2_nuke");
Noobie question do i need to use topran2_DBname/DBuser ??
$dbhost = "localhost";
$dbuname = "nukeuser";
$dbpass = "******";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 7; |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 10:18 pm |
|
Yep.  |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 10:20 pm |
|
wow thanks you're the best  |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 10:31 pm |
|
I deleted your last post. Never, ever, post that information on a public forum. |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 10:33 pm |
|
Make sure that your config.php file has no blank lines after the closing ?> tag. |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 10:40 pm |
|
Sorry thought that was just the default and common knowledge, again sorry. |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 10:42 pm |
|
- I didn't mean that as a scolding That would have been a cracker's dream post though. |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 10:48 pm |
|
lol well i cant even log into http://mysite.com/admin.php
is there another way to log in as teh admin, the defualt pass and user didnt work |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 10:52 pm |
|
Did you check your config.php file like I advised in that other post? |
|
|
|
 |
Snowblind

|
Posted:
Wed Jan 14, 2004 10:53 pm |
|
yes it had like 5 lines of no text, the security numbers are showing now, i just have to get the admin log info correct. |
|
|
|
 |
Raven

|
Posted:
Wed Jan 14, 2004 10:57 pm |
|
|
|
 |
shrinky
New Member


Joined: Jan 20, 2004
Posts: 8
|
Posted:
Tue Jan 20, 2004 11:44 pm |
|
hello, umm im installing 6.9 nuke and i cant find in my cpanel "database" can u take a screenshot and show me where it is? |
|
|
|
 |
Raven

|
Posted:
Tue Jan 20, 2004 11:46 pm |
|
Look for the MySQL Database Logo/link. |
|
|
|
 |
shrinky

|
Posted:
Wed Jan 21, 2004 12:22 am |
|
eeeek
I got this error
Fatal error: Call to undefined function: message_die() in /home/shrinky/public_html/index/db/db.php on line 88
Pretend my password was 12345 and my username for step 3 was shrinky
How would it look? |
|
|
|
 |
Raven

|
Posted:
Wed Jan 21, 2004 12:25 am |
|
That means that your MySQL settings in config.php are not correct. Either the username/password combination is wrong or that username does not have access to that database. |
|
|
|
 |
|