Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Database help (http://www.mysidiaadoptables.com/forum/showthread.php?t=236)

Weretemplar 12-23-2008 01:54 AM

Database help
 
I need some database help,i keep getting this error

Quote:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'weretemplar_user'@ (using password: YES) in /www/oxyhost.com/w/e/r/weretemplar/htdocs/adoptables/adm/console.php on line 17
Cannot Connect to Database
What should i do? :(

BMR777 12-23-2008 11:33 AM

RE: Database help
 
Does your main site also give database errors, or just the Admin CP? Did you set the correct database info inside your config.php file?

Weretemplar 12-23-2008 01:12 PM

RE: Database help
 
The index.php file gives that error too

BMR777 12-23-2008 01:14 PM

RE: Database help
 
If that's the case, you've got the wrong database details in your config.php file.

Does your host use a database host other than localhost?
Are all the details correct?
Did you forget a database prefix? Some hosts you can have a database and database user named "something" but they require you to have "youraccountname_something" for the database name in the config.php file.

Brandon

Weretemplar 12-23-2008 01:56 PM

RE: Database help
 
I connected the site to the database, but i get

Quote:

Notice: Undefined variable: link3 in /www/oxyhost.com/w/e/r/weretemplar/htdocs/adoptables/login.php on line 56

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/oxyhost.com/w/e/r/weretemplar/htdocs/adoptables/inc/functions.php on line 50

Notice: Undefined variable: isloggedin in /www/oxyhost.com/w/e/r/weretemplar/htdocs/adoptables/login.php on line 78
how do i fix that?

BMR777 12-23-2008 01:57 PM

RE: Database help
 
Did you run the SQL queries inside sql.txt on your database?

Weretemplar 12-23-2008 01:59 PM

RE: Database help
 
yes, i did that, and when creating a adoptable i get

Quote:

Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /www/oxyhost.com/w/e/r/weretemplar/htdocs/adoptables/adm/makeadoptable.php on line 62
Im getting too many errors, is something wrong? :(

BMR777 12-23-2008 02:01 PM

RE: Database help
 
Did all the files upload correctly?

Also, try clearing your browser cookies and see if that solves the errors. Can you please post a link to your site?

Brandon

Weretemplar 12-23-2008 02:02 PM

RE: Database help
 
yes, the files uploaded correctly, here's the link

http://www.weretemplar.oxyhost.com/adoptables/index.php

BMR777 12-23-2008 02:06 PM

RE: Database help
 
Interesting. I'm not quite sure the issue is, but it may be an SQL query error.

If you PM me your site's FTP and CPanel details I can take a look at your configuration in the next few days. Due to the Christmas holiday though it'll take me a little longer than usual to get around to diagnosing the issues on your site.

Brandon


All times are GMT -5. The time now is 05:31 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.