Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
Dvalin444
Client


Joined: Feb 19, 2005
Posts: 34

PostPosted: Sat Feb 19, 2005 1:30 pm Reply with quote

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
 
View user's profile Send private message
Dvalin444
PostPosted: Sat Feb 19, 2005 2:04 pm Reply with quote

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. Sad
 
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sat Feb 19, 2005 2:28 pm Reply with quote

It sounds like your pretty new to installing scripts that use php/mysql I recomend reading Only registered users can see links on this board! Get registered or login!
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 
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Sat Feb 19, 2005 7:14 pm Reply with quote

Your public_html folder is typically known as your 'web root'. It's where an http request to Only registered users can see links on this board! Get registered or login! 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 Only registered users can see links on this board! Get registered or login! 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. 
View user's profile Send private message
Dvalin444
PostPosted: Sun Feb 20, 2005 12:18 am Reply with quote

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? Sad


-Jess
 
PHrEEkie
PostPosted: Sun Feb 20, 2005 12:24 am Reply with quote

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
PostPosted: Sun Feb 20, 2005 10:28 pm Reply with quote

Thanks for the help! It's up and running. Wink
 
Cheryl
New Member
New Member


Joined: May 22, 2005
Posts: 1

PostPosted: Sun May 22, 2005 5:22 am Reply with quote

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
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun May 22, 2005 9:50 am Reply with quote

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.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©