1
jarvis
HELP! I tried upgrading!
  • 2004/10/10 16:03

  • jarvis

  • Just popping in

  • Posts: 22

  • Since: 2003/12/14


I downloaded the update patch 2.0.6 to 2.0.7 and FTP'd it to my server, I the went to upgrade and when I go to my site now, I 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 C:\sh-www\brightonized.net\bh\html\class\database\databasefactory.php line 34

2
tom
Re: HELP! I tried upgrading!
  • 2004/10/10 16:07

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Thats a connection problem to your database, check your db is running and that the db details held in the mainfile.php are correct.

3
jarvis
Re: HELP! I tried upgrading!
  • 2004/10/10 16:16

  • jarvis

  • Just popping in

  • Posts: 22

  • Since: 2003/12/14


in INSTALL at the end I get to check database settings and I get this error:

Could not connect to the database server.


Please check the database server and its configuration.

4
jarvis
Re:HELP! I tried upgrading!
  • 2004/10/10 17:36

  • jarvis

  • Just popping in

  • Posts: 22

  • Since: 2003/12/14



5
tl
Re: HELP! I tried upgrading!
  • 2004/10/10 17:46

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:
I downloaded the update patch 2.0.6 to 2.0.7 and FTP'd it to my server, I the went to upgrade and when I go to my site now, I get the following error:


Hope you still have a good backup file. Upgrading from 2.0.6 to 2.0.7 only needs overwriting the files and UPDATing the system module if there are changes to the template files. That is all and the instruction is pretty clear.

It seems that you have gone through the install process again which are not required.

If you had to re-install, make sure you have the correct db name and password, as Tom has already pointed out.

BTW, remove your install directory once you are done. You are asking for hacking to your site by leaving it there.

6
jarvis
Re:HELP! I tried upgrading!
  • 2004/10/10 17:54

  • jarvis

  • Just popping in

  • Posts: 22

  • Since: 2003/12/14


I think I have forgotten the table name of my database?!

7
jarvis
Re:HELP! I tried upgrading!
  • 2004/10/10 18:03

  • jarvis

  • Just popping in

  • Posts: 22

  • Since: 2003/12/14


I get right to the end of the installation process and when I get to confirm database settings hmmm

please help!!!!

8
tl
Re:HELP! I tried upgrading!
  • 2004/10/10 18:11

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


As pointed it out already - make sure you have the correct db settings.
Nobody can help you further on that regard. If you forgot, check with your host.

9
m0nty
Re:HELP! I tried upgrading!
  • 2004/10/10 18:25

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


it seems you definitely did something wrong.. did you make a backup 1st? if so you need to retrieve the file mainfile.php from your backup..

i downloaded your mainfile.php file, something which i shouldn't have been able to do either so remember to set permissions correctly after you have set up again..

but you might aswell copy all of the 2.0.7.3 files over again as your mainfile.php is empty.. so you will need to manually edit all the info back into it..

at the current time the contents of your mainfile.php are:

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 C:\sh-www\brightonized.net\bh\html\class\database\databasefactory.php line 34


so you need to restore the correct contents of that file..

in future when upgrading, follow the instructions as going thru the install process again is not necessary.. and the install folder shouldn't have even been on your server for you to be able to go thu it again..

10
jarvis
Re:HELP! I tried upgrading!
  • 2004/10/10 22:30

  • jarvis

  • Just popping in

  • Posts: 22

  • Since: 2003/12/14


thanks, I'll check with my host!

Login

Who's Online

232 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

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

Latest GitHub Commits