Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0
Author Message
sianpu
New Member
New Member



Joined: Jan 07, 2004
Posts: 3

PostPosted: Thu Jan 08, 2004 2:44 am Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ]

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 [ Only registered users can see links on this board! Get registered or login! ]


God bless...
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jan 08, 2004 10:22 pm Reply with quote

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!
 
View user's profile Send private message
Luth
New Member
New Member



Joined: Jan 05, 2004
Posts: 3

PostPosted: Fri Jan 09, 2004 7:22 pm Reply with quote

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... Very Happy

Bookmarked and linked on the new site... Laughing

Kudos my man.
 
View user's profile Send private message
sianpu







PostPosted: Sat Jan 10, 2004 2:37 am Reply with quote

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 Very Happy Smile
Thank you...
 
Raven







PostPosted: Sat Jan 10, 2004 9:01 am Reply with quote

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
New Member



Joined: Jan 14, 2004
Posts: 20

PostPosted: Wed Jan 14, 2004 9:39 pm Reply with quote

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;
 
View user's profile Send private message
Raven







PostPosted: Wed Jan 14, 2004 9:43 pm Reply with quote

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







PostPosted: Wed Jan 14, 2004 9:48 pm Reply with quote

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







PostPosted: Wed Jan 14, 2004 9:51 pm Reply with quote

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







PostPosted: Wed Jan 14, 2004 9:51 pm Reply with quote

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







PostPosted: Wed Jan 14, 2004 10:14 pm Reply with quote

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







PostPosted: Wed Jan 14, 2004 10:18 pm Reply with quote

Yep. Smile
 
Snowblind







PostPosted: Wed Jan 14, 2004 10:20 pm Reply with quote

wow thanks Razz you're the best Embarassed Wink Wink Wink Wink
 
Raven







PostPosted: Wed Jan 14, 2004 10:31 pm Reply with quote

I deleted your last post. Never, ever, post that information on a public forum.
 
Raven







PostPosted: Wed Jan 14, 2004 10:33 pm Reply with quote

Make sure that your config.php file has no blank lines after the closing ?> tag.
 
Snowblind







PostPosted: Wed Jan 14, 2004 10:40 pm Reply with quote

Sorry thought that was just the default and common knowledge, again sorry.
 
Raven







PostPosted: Wed Jan 14, 2004 10:42 pm Reply with quote

Smile - I didn't mean that as a scolding Smile That would have been a cracker's dream post though.
 
Snowblind







PostPosted: Wed Jan 14, 2004 10:48 pm Reply with quote

lol well i cant even log into [ Only registered users can see links on this board! Get registered or login! ]
is there another way to log in as teh admin, the defualt pass and user didnt work
 
Raven







PostPosted: Wed Jan 14, 2004 10:52 pm Reply with quote

Did you check your config.php file like I advised in that other post?
 
Snowblind







PostPosted: Wed Jan 14, 2004 10:53 pm Reply with quote

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







PostPosted: Wed Jan 14, 2004 10:57 pm Reply with quote

Have you created the super user? If so and it isn't working, then read this post of mine [ Only registered users can see links on this board! Get registered or login! ] and follow those instructions.
 
shrinky
New Member
New Member



Joined: Jan 20, 2004
Posts: 8

PostPosted: Tue Jan 20, 2004 11:44 pm Reply with quote

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?
 
View user's profile Send private message
Raven







PostPosted: Tue Jan 20, 2004 11:46 pm Reply with quote

Look for the MySQL Database Logo/link.
 
shrinky







PostPosted: Wed Jan 21, 2004 12:22 am Reply with quote

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







PostPosted: Wed Jan 21, 2004 12:25 am Reply with quote

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.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©