1
koralex90
"This page cannot be displayed due to an internal error."
  • 2008/1/9 16:40

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


Hi.

I recently updated my XOOPS site to 2.0.18. After doing so, I started getting the following message on a white page a few times a day while browsing my site.

"This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Unable to connect to database"

I don't think it's the server problem since I never had problems with Bluehost. This error started happening right after I installed 2.0.18 final. I'm not sure how to fix this. I would appreciate it if someone helped!

Here is my website. http://www.boashouse.com

Thank you.
Alex.

2
Will_H
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/9 17:33

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Sounds like you overwrote the mainfile.php while updating.

You will need to either open mainfile.php and configure it manually, or overwrite the 2.0.18 mainfile.php with the mainfile.php backup I am sure you made prior to upgrading.

3
koralex90
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 2:52

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


I couldnt have overwritten the mainfile.php while updating cause the htdocs folder for the upgrade from 2.0.17 to 2.0.18 does not contain a mainfile.php file in it. Everything seems to be okay in mainfile.php as well because codes i put for autologins and stuff are all still there:/

I'm lost.

4
mboyden
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 5:28

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


Try turning on the debug mode and see if you get additional information. I viewed your site, but do you have a development site you are working on for it since the site you pointed to is working? Still trying to figure out how to help you find the problem area.
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

5
koralex90
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 7:23

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


yes the site works but every once in a while that error appears. I press back and click again and then the error is gone. But this keeps constantly happening. The only errors that occured were

Warning: include(/include/autologin.php) [function.include]: failed to open stream: No such file or directory in file /mainfile.php line 104
Warning: include() [function.include]: Failed opening '/include/autologin.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file /mainfile.php line 104

which i fixed. i think this wasnt changed from the old version of autologin hack.

Anyways, I tried uploading the backup of my mainfile.php. I'll tell you what happens. Thanks.

6
nmshah
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 9:52

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


I m getting a similar error. I upgraded to 2.0.18 couple of days back, everything was fine till some mins back and now i get this error.


"This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Unable to connect to database"

What should i do?

7
Will_H
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 13:17

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Better yet why done you use the 2.0.18 version and plugin your database info/protector info.

I didn't realize you had applied hacks to the core.

8
trabis
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 13:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You overwrited the autologin hack. You must hack your XOOPS again.

9
Will_H
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/10 13:45

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


autologin hack is version specific.

10
koralex90
Re: "This page cannot be displayed due to an internal error."
  • 2008/1/11 9:24

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


the problem is gone.

by the way, is there an autologin hack now for .18??

Login

Who's Online

421 user(s) are online (346 user(s) are browsing Support Forums)


Members: 0


Guests: 421


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