1
wildo
Help Needed: Fatal error!
  • 2005/12/7 20:37

  • wildo

  • Just popping in

  • Posts: 33

  • Since: 2004/3/1 1


My site often crashes and goes blank after displaying a Fatal Error message (see below) ! I have no idea how to solve this problem.
When I waited a few minutes, my website works again.

Does anyone know what goes wrong, and better: I can I prevent this error?

Fatal error: Call to a member function on a non-object in /data/www/customers/94641/www/class/theme.php on line 499

Notice [PHP]: Undefined index: enable_badips in file class/xoopssecurity.php line 215
Notice [PHP]: Undefined index: language in file include/common.php line 164
Notice [PHP]: Undefined index: language in file include/common.php line 184
Notice [PHP]: Undefined index: use_ssl in file include/common.php line 195
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 197
Notice [PHP]: Undefined index: banners in file include/common.php line 247
Notice [PHP]: Undefined index: debug_mode in file include/common.php line 247
Warning [PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 247
Notice [PHP]: Undefined index: theme_fromfile in file class/template.php line 66
Notice [PHP]: Undefined index: sitename in file class/theme.php line 417
Notice [PHP]: Undefined index: slogan in file class/theme.php line 418
Notice [PHP]: Undefined index: slogan in file class/theme.php line 436
Notice [PHP]: Undefined index: closesite in file include/common.php line 250
Notice [PHP]: Undefined index: theme_set in file class/theme.php line 253
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 462
Notice [PHP]: Undefined index: language in file class/theme.php line 263
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 462
...

2
Bananadude
Re: Help Needed: Fatal error!
  • 2005/12/15 21:20

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


The fatal error should be fixed by installing Extended Profiles.

I'm afraid I dont know what causing the warningmessage
"Warning [PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 24"

Rest of the messages is only notices and nothing to worry about. You can deactivate PHPDebug from system preferences.

Best Regards,
Bananadude
--- censored by Bananadude ---

3
wildo
Re: Help Needed: Fatal error!
  • 2005/12/16 11:29

  • wildo

  • Just popping in

  • Posts: 33

  • Since: 2004/3/1 1


Thank you for your reply, but Extended Profiles is already installed.

It's really weird: De Fatal Error only happens sometimes...
...

4
msdana
Re: Help Needed: Fatal error!
  • 2006/1/12 14:09

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


I'm getting this message also. It's enough to give someone a heart attack! I almost passed out. The site was working fine when I logged out last night. Now, it won't let me do anything!

Does anyone know what causes this? Better yet, can anyone help fix this???

I haven't recovered from the shock of seeing this message!!

*Edit*
I found out what the problem is. This happens when there is a problem accessing the database on the server. Host fixed the prob.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

5
machineskin
Re: Help Needed: Fatal error!
  • 2006/1/12 16:39

  • machineskin

  • Just popping in

  • Posts: 6

  • Since: 2005/6/22


hrm... very similar to my fatal error. It happens randomly, and always works when i resubmit the page (after loosing any text entered)

line 125 ... i want to kick it


Quote:
Fatal error: Cannot redeclare class database in /home/virtual/site181/fst/var/www/html/contr0L/class/database/database.php on line 125

Login

Who's Online

150 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 150


more...

Donat-O-Meter

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

Latest GitHub Commits