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 01-18-2013, 04:33 PM
Aasixx's Avatar
Aasixx Aasixx is offline
.. your friendly geek. c:
 
Join Date: Nov 2011
Location: somewhere ur not.
Posts: 191
Gender: Female
Credits: 27,184
Aasixx is on a distinguished road
Default Question? c:

So, I had saved all of my files on a backup folder and recently re-uploaded them, and now I'm trying to re-install the script. When I get to the configwrite.php part on the steps, it gives me this:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'albisi9_aasix'@'localhost' to database 'albisi9_adopts'' in /home/albisi9/public_html/install/configwrite.php:51 Stack trace: #0 /home/albisi9/public_html/install/configwrite.php(51): PDO->__construct('mysql:host=loca...', 'albisi9_aasix', passwordhere') #1 {main} thrown in /home/albisi9/public_html/install/configwrite.php on line 51

When I checked line 51 in configwrite.php, this is what it had there:
$adopts = new PDO($dsn, $dbuser, $dbpass);

Any ideas?
__________________
Reply With Quote
  #2  
Old 01-18-2013, 09:07 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,350
Nemesis is on a distinguished road
Default

whoa! if your moving your site your not supposed to reinstall it
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #3  
Old 01-19-2013, 10:19 AM
Aasixx's Avatar
Aasixx Aasixx is offline
.. your friendly geek. c:
 
Join Date: Nov 2011
Location: somewhere ur not.
Posts: 191
Gender: Female
Credits: 27,184
Aasixx is on a distinguished road
Default

Ohh. I see. xD Makes sense. When I visit my site, it says this:
Could not connect to database, the following error has occurred:
SQLSTATE[42000] [1044] Access denied for user 'albisi9_aasix'@'localhost' to database 'albisi9_adopts'
__________________
Reply With Quote
  #4  
Old 01-19-2013, 03:22 PM
5404 5404 is offline
Member
 
Join Date: Jan 2013
Posts: 6
Gender: Female
Credits: 619
5404 is on a distinguished road
Default

Try to check (and eventually manually change) database info in /inc/config.php. :3 Because it seems that site has incorrect database connection information. (Are you sure it's localhost? Or maybe your database name changed since it's backup?)
Reply With Quote
  #5  
Old 01-20-2013, 04:30 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,439
Hall of Famer is on a distinguished road
Default

Yeah, apparently the database information is incorrect. As 5404 suggested, you need to make sure the host is localhost first. If yes, you still have to check a following things. Is your database user/password correct? And does the database user have permissions to insert/update/delete/create/alter database tables?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
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


All times are GMT -5. The time now is 11:22 AM.

Currently Active Users: 459 (0 members and 459 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