Jump to content

I need help i dont know what to do they said it was easy


Recommended Posts

Please help i have uploaded some php script followed the instructions to the letter and now i get errors can someone please help.

 

these are the errors

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rceinter_admin'@'localhost' (using password: YES) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 16

 

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'rceinter'@'localhost' (using password: NO) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 17

 

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 17

 

Warning: Cannot modify header information - headers already sent by (output started at /home/rceinter/public_html/traffic-blast-one/admin/connect.php:16) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 465

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rceinter_admin'@'localhost' (using password: YES) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 16

 

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'rceinter'@'localhost' (using password: NO) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 17

 

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 17

 

Warning: Cannot modify header information - headers already sent by (output started at /home/rceinter/public_html/traffic-blast-one/admin/connect.php:16) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 43

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'rceinter_admin'@'localhost' (using password: YES) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 16

 

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'rceinter'@'localhost' (using password: NO) in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 17

 

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/rceinter/public_html/traffic-blast-one/admin/connect.php on line 17

 

please help me

All the errors are database errors. The first one shows you had an error attempting to connect to the database, so all other database commands will generate an error as well. You need to correct the database connection error. Then the others will either disappear or you can then attack those.

 

So, for the connection error you need to verify that the database is installed and running and that your connection string has the right parameters: Database location (localhost?), username & password.

Looks like you might need to configure access hosts on your server, dont suppose your server uses Cpanel software does it?

 

Wait, if you uploaded the php file to the same server as the server your database is located, disregard this.

you may have to set the password to old. What version of MYSQL are you using.

 

Here is what I have to do.

 

UPDATE mysql.user

SET password=OLD_PASSWORD('somepassword')

WHERE user='someuser'

AND host='somehost';

 

update mysql.user set

-> password = old_password('1234')

-> where user = 'root';

 

Brett

its bluehost which uses cpanel i dont know how to configure access host

 

brett MySQL version 4.1.22-standard-log where would i put that piece of code would it go in config.php file

 

heres the instruction i got:

 

Step 1: Create a database in phpMyAdmin (choose a database name, database username and database password, write it down you'll need it for the next step)

 

Step 2: Go to phpMyAdmin and upload the “mysql.sql” file to the new database you created

 

Step 3: To set up the  database's host, user name  and password, edit the CONFIG.PHP  file in notepad, as follows:

 

            $db_hostname = "localhost";

            $db_username = "databaseusername";

            $db_password = "databasepassword";

            $db_name    = "databasename";

 

STEP 4: You will also nee to change the server url and the sitename on the config.php script. Replace the values between the brackets

            $server_url = "http://www.yoursiteurl.com";

            $site_name = "SiteName"; (e.g. "My Manual Traffic Exchange")

 

Step 5: Upload script, Chmod "banners" and "Images" folders to 777, Chmod lock.php file in admin folder to 777

 

Step 6: Log into the admin at http://www.yoursiteurl.com/admin/index.php , your intial password will be "admin". CONFIGURE SCRIPT!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.