Jump to content

panel


Recommended Posts

i found one but im getting these errors

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'db_user'@'localhost' (using password: YES) in /home/dolecek/public_html/radiodjpanel/connect.php on line 10

 

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/dolecek/public_html/radiodjpanel/connect.php on line 11

Link to comment
Share on other sites

i found one but im getting these errors

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'db_user'@'localhost' (using password: YES) in /home/dolecek/public_html/radiodjpanel/connect.php on line 10

 

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/dolecek/public_html/radiodjpanel/connect.php on line 11

 

You need a MySQL Database to run DJ panels. (Y)

Studiio - All-In-One Radio Communication Platform
SMS | Phone Calls | Social Media | Content

Link to comment
Share on other sites

just about all php softwares require that it connect to a database. If you google for how to setup mysql database you can find all kinds of tutorials on how to do it... if you are with a webhost they probably have a script thats super easy to use like in cpanel or lxadmin.
Link to comment
Share on other sites

Yes but dont i have to edit on of the files in radio dj panel to match the database name? There little instructions on how to do this.I know how to create a database but what else do i need to do with radio dj panel?
Link to comment
Share on other sites

im so lost here is what i need to edit..can you tell me what part exactly i need to edit..i tried it the way i thought aqnd it did not work..so please help

 

 

//set local variables

$dbhost = "localhost"; //Database Host

$dbuser = "db_user"; //Database User

$dbpass = "db_pass"; //Database Password

$dbname = "db_name"; //Database Name

 

//connect

$db = mysql_pconnect($dbhost,$dbuser,$dbpass);

mysql_select_db("$dbname",$db);

 

?>

Link to comment
Share on other sites

Ok so its telling you to edit that? Great, first step is to replace the localhost and db_ values.

 

So example:

My Host: mysql.name.com

My Username: Name123

Password: pass123

Database Name: MyDatabase1

 

So now i insert these values between the ' ' tags...

 

 


//set local variables
$dbhost = "mysql.name.com"; //Database Host
$dbuser = "Name123"; //Database User
$dbpass = "pass123"; //Database Password
$dbname = "MyDatabase1"; //Database Name

//connect 
$db = mysql_pconnect($dbhost,$dbuser,$dbpass); 
mysql_select_db("$dbname",$db); 

?>

 

Make sure the database has the correct values as stated in the readme :)

Studiio - All-In-One Radio Communication Platform
SMS | Phone Calls | Social Media | Content

Link to comment
Share on other sites

you shouldnt have to edit the config file... just open the url in firefox or IE whichever you use... it should just be a regular webpage that asks you for the information i uploaded the script to my website and checked it out... pm me if you want some help.
Link to comment
Share on other sites

you shouldnt have to edit the config file... just open the url in firefox or IE whichever you use... it should just be a regular webpage that asks you for the information i uploaded the script to my website and checked it out... pm me if you want some help.

Soime scripts require edition of the config.php file, most DJ panels require this (habbo dj panels certainly do). Not all scripts have easy install files ;)

 

do i enter it under local variables and the connect sections or just one of them?

Under local variables, the connect section is where it processes your information, do not edit past the Connect Section header :)

 

Tell me how you go! :biggrinthumb:

Studiio - All-In-One Radio Communication Platform
SMS | Phone Calls | Social Media | Content

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...