php nuke setup problems.

C

cam

Guest
this is my first experience with php, php-nuke and mySQL so im having a bit of trouble. in the config file is this:

##########################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mSQL, PostgreSQL, PostgreSQL_local, ODBC,
# ODBC_Adabas, Interbase, and Sybase.
# Be sure to write it exactly as above, case SeNsItIvE!
##########################################

they want those things filled in below. my database name is blues, but i dont know the prefix or the user prefix.. what are these and how do i find out which strings to plug in there for it to work?

cam
 
syntax?

cam,

If I am reading you right, it sounds like you want the syntax for setting variables in PHP.

$var_name = "value";

words must be included within quotes. numbers can be used without quotes.

ex: $var_name = "words"; $var_name2 = 13;

if you want to set one var to the value of another:

$var_name = $var_name2;

If I read you wrong, sorry for wasting your time.
 
yes actually, completely wrong ;)

what i posted up there was part of the config.php file. they wanted me to edit some strings below that before trying to access a specific page where i can. my question was what the prefixes were, im not fluent with mySQL or php so i am sort of lost.

cam
 
My bad, see below.

##########################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mSQL, PostgreSQL, PostgreSQL_local, ODBC,
# ODBC_Adabas, Interbase, and Sybase.
# Be sure to write it exactly as above, case SeNsItIvE!
##########################################
dbhost is the hostname, usually set to "localhost"
dbusername is the username, your login to mySQL/phpMyAdmin, this is given to you by the admin of the box/shell your site is hosted on.
dbpass is your mySQL/phpMyAdmin password
dbname is "blues" -- the name of your database
prefix is the name of the sql file
user_prefix is the name of the sql file
dbtype would be the database type, like if your host runs mySQL it would be set to mySQL, etc etc.

http://www.nukesupport.com is a great support site for PHP Nuke web apps. Hope that helps.
 

Members online

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,623
Latest member
AndersonLo
Back