php nuke setup problems.

  • Thread starter Thread starter cam
  • Start date Start date
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
 

madmatt

Awesome is as awesome does.
Political Access
Joined
5 Apr 2002
Messages
13,314
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.
 
C

cam

Guest
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
 

madmatt

Awesome is as awesome does.
Political Access
Joined
5 Apr 2002
Messages
13,314
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

No members online now.

Latest profile posts

Xie Electronic Punk 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 Sazar 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.
Terrahertz Electronic Punk Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk Sazar Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,017
Messages
673,238
Members
5,637
Latest member
deniable
Back