Need help loading and installing a template

  • Contacttlp
  • Born
  • Born
  • Contacttlp
  • Posts: 1

Post 3+ Months Ago

I purchased a template and downloaded it with these instructions:

Open config.php and edit the following variables:

$dbServer = "localhost";
$dbuserName = "camrose_crash";
$dbpassword = "password";
$dbName ="camrose_test";

My question is what do i put for "localhost"?? I have no idea what this means.

Also, it says i need to :Upload all the files and directories to the main html directory at your server, using your favorite FTP program. Keep the same directory structure.

How do I do this? Thanks
  • Nem
  • Guru
  • Guru
  • Nem
  • Posts: 1243
  • Loc: UK

Post 3+ Months Ago

Leave it as localhost if database is on same server.
  • musik
  • Legend
  • Super Moderator
  • User avatar
  • Posts: 6893
  • Loc: up a tree

Post 3+ Months Ago

Basicially you need a program (ftp) to get the files from your computer and upload them to your hosting space.

When you signed up for hosting they should have given you an ftp address, username and password - these are what you enter to connect to your hosting using the File Transfer (protocol) program.

I prefer smartFTP you can download for free, enter your ftp address (usually ftp.yourwebsite.com) then your username and password and hit connect.

Your hosting provider will tell you where to put the files, usually a folder like 'httpdocs'

smartFTP also have excellent tutorials on how to use the program and upload your files here:
http://www.smartftp.com/support/howto/

This topic will help you in regard to finding a good ftp program to use if you decide you would like to use another one instead
http://www.ozzu.com/hosting-forum/need-help-with-ftp-t51516.html

Good luck!
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Uh, huh?
I believe the first part of the question dealt with making a php enabled web portal utilize a back end db?
In which case, the 'localhost' would be replaced with the IP of the db server (or left localhost if it indeed was, localhost).
The other entries would represent the username and password as well as the db name (particular db you are utilizing for that portal).

As for the second part, listen to musik. :)

I am curious; do you know if you have a mysql or postgres backend? Do you know how to add tables?
This script may not do much for you, if the answer to either one of those is 'no' or 'I don't know'. I only ask, as the 'how to ftp' query is rather rudimentary, and leads me to believe you may not fully grasp the intent of this php code.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 4 guests
  • 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 post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.