Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-23-2008, 01:54 AM
Weretemplar Weretemplar is offline
Member
 
Join Date: Dec 2008
Posts: 6
Credits: 1,570
Weretemplar
Default 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? :(
Reply With Quote
  #2  
Old 12-23-2008, 11:33 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,550
BMR777 is on a distinguished road
Default 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?
Reply With Quote
  #3  
Old 12-23-2008, 01:12 PM
Weretemplar Weretemplar is offline
Member
 
Join Date: Dec 2008
Posts: 6
Credits: 1,570
Weretemplar
Default RE: Database help

The index.php file gives that error too
Reply With Quote
  #4  
Old 12-23-2008, 01:14 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,550
BMR777 is on a distinguished road
Default 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
Reply With Quote
  #5  
Old 12-23-2008, 01:56 PM
Weretemplar Weretemplar is offline
Member
 
Join Date: Dec 2008
Posts: 6
Credits: 1,570
Weretemplar
Default 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?
Reply With Quote
  #6  
Old 12-23-2008, 01:57 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,550
BMR777 is on a distinguished road
Default RE: Database help

Did you run the SQL queries inside sql.txt on your database?
Reply With Quote
  #7  
Old 12-23-2008, 01:59 PM
Weretemplar Weretemplar is offline
Member
 
Join Date: Dec 2008
Posts: 6
Credits: 1,570
Weretemplar
Default 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? :(
Reply With Quote
  #8  
Old 12-23-2008, 02:01 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,550
BMR777 is on a distinguished road
Default 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
Reply With Quote
  #9  
Old 12-23-2008, 02:02 PM
Weretemplar Weretemplar is offline
Member
 
Join Date: Dec 2008
Posts: 6
Credits: 1,570
Weretemplar
Default RE: Database help

yes, the files uploaded correctly, here's the link

http://www.weretemplar.oxyhost.com/adoptables/index.php
Reply With Quote
  #10  
Old 12-23-2008, 02:06 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,550
BMR777 is on a distinguished road
Default 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database functions? Infernette Questions and Supports 8 07-10-2013 12:13 PM
Database SilverDragonTears Questions and Supports 1 11-01-2012 10:33 AM
No tables in database? Fangs Questions and Supports 1 02-28-2012 11:26 AM
Need help with MySQL Database MirandaLK Questions and Supports 13 07-29-2010 09:01 PM
Can Someone Help me about add in database? reza01 Questions and Supports 1 06-22-2009 11:54 AM


All times are GMT -5. The time now is 10:40 AM.

Currently Active Users: 395 (0 members and 395 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636