Jump to content
xisto Community
kc8yff

PHP Nuke Database Help

Recommended Posts

Hey Guys, I need help with creating the database for PHP Nuke. I have uploaded everything (folders) and I need to know how to create the database. The PHP Nuke tutorial isn't helping.Thanks in advance.

Share this post


Link to post
Share on other sites

If you have uploaded everything, now first you have to create a database

 

Go to control panel and find MySQL Database, and get in

 

1- You have to create a database pick a name, for example nuke, this database will be created like "yourdomain_nuke"

 

Posted Image

 

2- Now you have to create a user for that database, click add user and password.

 

3- after you created the user, go select the user, and datebase, make sure that you have the correct user in the database, select all, y click grant permissions.

 

After it's done, go to phpmyadmin and select the database recently created, get in there. You will see this labels

 

Posted Image

 

click in SQL, click browse, and go to folder where you have downloaded nuke, you will see a folder named sql, inside is the file nuke.sql, choose this file and ok, now click in go, after a while all tables will be appear like this.

 

Posted Image

 

well now we have all set, but still we need to edit the file "config.php" to set the

database options.

 

in config.php find this:

 

$dbhost = "localhost"; ---> usually if not, use http://forums.xisto.com/no_longer_exists/

$dbuname = "domain_nuke"; ---> username

$dbpass = "*****"; ---> database password (or user password)

$dbname = "domain_nuke"; ----> name of database

 

leave other settings intact.

 

Well now is time to upload config.php to your server... and test the nuke

 

http://forums.xisto.com/no_longer_exists/

 

is good idea, create your super user following the instructions first.

 

I hope that it help. If still you have errors, feel free to post your doubts.

Share this post


Link to post
Share on other sites

I was testing your site, ok, blank screen ummmm, and try to open your admin.php and I get error line 28, this line, refers to a mysql line, are you sure that you imported the nuke.sql correctly, try to import again, and you have to see the imported data nuke_authors, nuke_autonews, etc.. if doesn't work.... I have a solution, sorry but just today the idea come on to my mind, this hosting is professional, of course, here is everything, looking the demo control panel, I find the php nuke pre-installed, so it's preconfigured, now it's a piece of cake.Go to your control panel.Find Preinstalled Scripts .... find Addon Scripts and inside ...hey there is it, PHP NUKE, justo click in there, choose a installation folder, and enjoy your nuke portal.NOTE: Create immediately the superuser... for security reasons.PS: Before do this, is good idea erase your uploaded nuke files from your account and the data imported in phpmyadmin, for not to have incompatibilty problems. If you install nuke, let me know.

Share this post


Link to post
Share on other sites

thanks and congratulations for your site, but i want to know how you solve this because some people who watch this topic want to know. It was a installation from a downloaded post-nuke or directly from the control panel ?uhmmm phpnuke still don't work ?? :) either from the Control Panel ?, maybe is something wrong in database, well, you have your portal up and that matters.well i'm glad to help you.greetings Deivid

Share this post


Link to post
Share on other sites

Just a quick question about PHPNuke.Which modules needs to be configured to change the initial admin welcome screen?I tried all the modules I can think of, but none of them have the contents that's displayed on the initial screen.

Share this post


Link to post
Share on other sites

First to change the initial admin welcome screen, you have to log in superuser mode, to do that http://ww38.yoursite.com/nukefolder/admin.php or http://ww38.yoursite.com/admin.php if you installed the nuke in the root of the site.

 

 

When you get in, go to intial screen (home) then you see the welcome screen and at the bottom of all text you will find Edit, just click there.

 

Now you can edit the initial message....

 

if you want to add images or styles, you must use html code... like

 

<b>Here this text is bold</b>

 

<img src="http://forums.xisto.com/no_longer_exists/;

 

for spaces between lines use <br> ...... anyway all html code

 

 

After you have all set, press save changes and click in home to see the initial screen.

 

if you have doubts, just contact me, or PM the site to check it.

 

Deivid

Share this post


Link to post
Share on other sites

Just a quick question about PHPNuke.

 

Which modules needs to be configured to change the initial admin welcome screen?

 

I tried all the modules I can think of, but none of them have the contents that's displayed on the initial screen.

<{POST_SNAPBACK}>

See the post that show you to go to the home page from the admin.php after you ahave logged in, and while you are there I would strongly suggest that you make the page viewable on by administrators or any body can take over your site by adding themselves as a super user, or better yet do a select all and hit the space bar thereby erasing the whole mess (after you have of course set up the admin). I would also suggest that you themn go to your admin panel and under Edit Admins go in there and give your self a couple of other admins that you can remember easily in case you ever forget your GOD superuser name or password (then all you can do is drop your database, then reinstall it fresh and start all over again). I would also suggest that you move your config.php out of the webspace (where others can acces it) and make a new file calles config.php with one simple statement
include ("./config.php");
and with your real config.php not being in the PHP_Nuke_root directory you have made the site more secure.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.