bookmark - PHP Nuke Database Help

PHP Nuke Database Help

 
 Discussion by kc8yff with 13 Replies.
 Last Update: June 4, 2005, 3:45 pm
 
bookmark - PHP Nuke Database Help  
    
free web hosting
 
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.

Thu Sep 16, 2004    Reply    New Discussion   


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"

createdatabase.jpg

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

sql.jpg

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.

dataimported.jpg

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 www.domainserver.com
$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://www.yourdomain/index.php

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.

Fri Sep 17, 2004    Reply    New Discussion   

Hey dude, first of all thanks for helping me. I did everything you said but it still won't show. http://bmw-central.astahost.com/html.

Thanks.

Fri Sep 17, 2004    Reply    New Discussion   

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.

Sat Sep 18, 2004    Reply    New Discussion   


Dude thanks a ton. PHP Nuke wasn't working for me so I ended up using Post Nuke which is pretty much the same. http://www.bmw-central.tk. I also opened a phpBB forum, if you like cars please register! I am probably going to need more space so I can install a picture posting thing. Thanks man!

Sun Sep 19, 2004    Reply    New Discussion   

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

Sun Sep 19, 2004    Reply    New Discussion   

What the url for PHPNuke site? Your index page is still the default one.
I just wanted to see how you did it, so I can learn something too

Mon Sep 20, 2004    Reply    New Discussion   

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.

Mon Sep 20, 2004    Reply    New Discussion   

First to change the initial admin welcome screen, you have to log in superuser mode, to do that http://www.yoursite.com/nukefolder/admin.php or http://www.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://www.domain.com/photo.jpg">

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

Mon Sep 20, 2004    Reply    New Discussion   

Thanks a lot. I was looking for changing the main page by configuring modules. Never noticed the EDIT link on the main page.

Mon Sep 20, 2004    Reply    New Discussion   

I changed my site to a forum as I am trying to find out and make a new skin for Nuke. I am using XMB and my installation was from the cpanel in addons.

Tue Sep 21, 2004    Reply    New Discussion   

Try using The Nuke Idiots Guide. It was really helpful and that is how i puted my own page. What a shame it is now closed =(.

Thu Sep 30, 2004    Reply    New Discussion   

QUOTE (Jhonny)

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="2839"]<{POST_SNAPBACK}>[/post]

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

CODE

include ("./config.php");
and with your real config.php not being in the PHP_Nuke_root directory you have made the site more secure.

Sat Jun 4, 2005    Reply    New Discussion   

QUOTE (andipa)

Try using The Nuke Idiots Guide. It was really helpful and that is how i puted my own page. What a shame it is now closed =(.
[post="3990"]<{POST_SNAPBACK}>[/post]
You can view the Idiots Guide at my site NukeXtra at the following LINK

Hope that help's

Sat Jun 4, 2005    Reply    New Discussion   

Quickly Post to PHP Nuke Database Help  w/o signup Share Info about PHP Nuke Database Help  using Facebook, Twitter etc. email your friend about PHP Nuke Database Help Print
Reply / Comment Ask a Question? Share / Bookmark E-Mail a Friend Print

(2) Php Nuke Or Mambo Home Page Screen Cant access homepage of phpnuke or Mambo  Php Nuke Or Mambo Home Page Screen Cant access homepage of phpnuke or Mambo