1
hyphenex
Can't get database working when moving site
  • 2005/11/19 4:56

  • hyphenex

  • Just popping in

  • Posts: 14

  • Since: 2005/11/4


I'm trying to make a copy of my web site on my home computer, so I can make any changes/hacks like updating XOOPS without the worry of wrecking anything, then just copy and paste everything back over.

Here's the problem (please note I'm new to all this in Unix as well)
1. I just enabled apahce & mySQL
2. I just enabled php in apache
3. Installed phpmyAdmin and copied the database over
4. Renamed the database to hyphenex_xoop1
5. Set the username to hyphenex_xoop1, and password to what it is in my mainfile.php file
6. Changed the root path and URL settings accordingly.

I still get the following error:
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
---

Is there a way I can get any more information on how to resolve the problem, like exactly what step it is that's wrong, if it's my username and password that's wrong or just connection problems...

Any advice on how to resolve this is also apreciated.. Thanks

2
hyphenex
Re: Cant get database working when moving site
  • 2005/11/19 5:07

  • hyphenex

  • Just popping in

  • Posts: 14

  • Since: 2005/11/4


The page timed out the first time... Sorry for double posting... Web masters please delete this thread and could everybody else please use my other post?

3
pmcnamara
Re: Cant get database working when moving site
  • 2005/11/20 15:04

  • pmcnamara

  • Friend of XOOPS

  • Posts: 147

  • Since: 2004/12/3


there is a great tutorial on moving sites at jseymours site.

www.warpigw2.com

Login

Who's Online

194 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits