Author |
Message |
Dvalin444
Client

Joined: Feb 19, 2005
Posts: 34
|
Posted:
Sat Feb 19, 2005 1:30 pm |
|
Ok, I've uploaded the contents of the html file, and I've uploaded the sql file. Then, I get to the "Database Creation" section, where there is a random code with no instruction to say what its for:
random code:
Code:mysqladmin create nuke
|
Furthermore, it tells me to change to the sql directory, but the only thing I can find on the FTP named sql is the nuke file which does not contain the certain line that I need to edit.
Finally, for some reason the phpMyAdmin does not look like the picture. I can not create a new database from it, and it just looks...different. Can you help me?
-Jess |
|
|
|
 |
Dvalin444

|
Posted:
Sat Feb 19, 2005 2:04 pm |
|
I just noticed another problem. Am I supposed to upload the contents of the html folder to the public_html folder, or am I just supposed to upload it to the main directory? Help.  |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Sat Feb 19, 2005 2:28 pm |
|
It sounds like your pretty new to installing scripts that use php/mysql I recomend reading http://www.ravenphpscripts.com/modules.php?name=PHP-Nuke_HOWTO&page=installation.html
to give you a better understanding of what is mentioned in the install.txt. Then if you still need help post back and we'll be glad to lend a hand. |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
PHrEEkie
Subject Matter Expert

Joined: Feb 23, 2004
Posts: 358
|
Posted:
Sat Feb 19, 2005 7:14 pm |
|
Your public_html folder is typically known as your 'web root'. It's where an http request to http://www.your-site.com would look for an index file to load. If you upload the Nuke html folder -and- its contents to public_html, your Nuke install will now reside in sub-folder. The only way to access it (without an .htaccess re-direct) is via http://www.your-site.com/html that's not too desired...
So, upload everything INSIDE the Nuke html folder to public_html. If your FTP program has a folder sync function, just sync html (local) to public_html (remote). When you are done, there shouldn't be a folder named html on your server. In public_html should be config.php, modules.php, etc, and the support folders for admin, modules, etc...
It's common for shared environments to disallow the CREATE command from phpMyAdmin. Instead, you should use the MySQL admin panel from within your CPanel of whatever admin panel your host provides (this is typically the only place the CREATE command is allowed). You need to create a database, create a user, then attach that user to that database. Now when you open phpMyAdmin, you can select that database from the drop-down and import the sql file. The sql file is so small that you can open it in notepad, copy ALL (CTRL-A), then paste it (CTRL-V) into the sql box in phpMyAdmin. Open config.php for editing, and insert the database name, username and password. Set $gfx_chk to 0 (zero) if it isn't that already.. you can change that later once the site is working and configured.
Connect to the site and create your Superadmin and user...
-PHrEEk |
_________________ PHP - Breaking your legacy scripts one build at a time. |
|
|
 |
Dvalin444

|
Posted:
Sun Feb 20, 2005 12:18 am |
|
Ok, I've uploaded all of the contents of the Nuke html folder into the public_html folder. I've created the database and the user, and I've imported the user to the database. I've imported the sql file. So, I go to the url of my site, and it says "There seems to be a problem with the SQL server". I am using Raven Web Hosting, so...why cant I see the site? I've tried to go to the admin panel (www.myurl.com/admin.php), but it just says the same message as the home page. Where am I going wrong?
-Jess |
|
|
|
 |
PHrEEkie

|
Posted:
Sun Feb 20, 2005 12:24 am |
|
You only at this point have a prob with config.php
If this server is typical, your MySQL username and database name will have your account name pre-pended.
So if you created a user 'nukeuser' and
a databse called 'testnuke' AND your
website admin account is 'jackofal'
Then in config.php, you would add:
jackofal_testnuke as your database
jackofal_nukeuser as your MySQL user
and add the password.
Try it again... = )
PHrEEk |
|
|
|
 |
Dvalin444

|
Posted:
Sun Feb 20, 2005 10:28 pm |
|
Thanks for the help! It's up and running.  |
|
|
|
 |
Cheryl
New Member


Joined: May 22, 2005
Posts: 1
|
Posted:
Sun May 22, 2005 5:22 am |
|
I've got the same problem as Jess, but that doesn't resolve it. Any suggestions? I'm pretty new to Nuke.
I've got the databse in phpMyAdmin and created a user, don't know what you mean by attach the user to the database. The user is on the databse. I've changed the config.php and think its all right. I copied your instructions above, but i still get the message saying theres a problem with the server. Help!
My username and database name are the same. Does that matter?
Cheryl |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun May 22, 2005 9:50 am |
|
If you are using cPanel, after you create the user and database, you MUSE Add User To Database. There should be a button that you click after you have selected the username and the database name. If, after you have done this and you still have the MySQL error message, that means your MySQL settings in config.php are not correct. |
|
|
|
 |
|