1
Shelia
Fatal Error
  • 2004/6/18 0:35

  • Shelia

  • Not too shy to talk

  • Posts: 140

  • Since: 2003/6/22


I upgraded to 2.7 and the install went fine except I can't see my site!

Here is the error:

Fatal error: Class xoopsconfigoptionCannot inherit from undefined class xoopsobject in
/www/m/xxxxxx/htdocs/mrol/kernel/configoption.php on line 53


Help!

2
Bender
Re: Fatal Error
  • 2004/6/18 0:50

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10




Sounds like what was discussed in these comments about using symbolic link in the XOOPS path.

Did you read it already?


If it doesn´t fit can you provide information about your setup like PHP Information, which webserver ... (see also in those comments)

3
Shelia
Re: Fatal Error
  • 2004/6/18 1:46

  • Shelia

  • Not too shy to talk

  • Posts: 140

  • Since: 2003/6/22


No, that didn't work.

PHP version 4.3.6
Apache/1.3.31 (Unix)
FreeBSD 4.10

4
Stewdio
Re: Fatal Error
  • 2004/6/18 2:38

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


A little more detail on what your last action was before you saw this error would be of assistance too. (If you posted that bit of information already, then forget what I said, long day!)

Anyhow, this file may or may not have been changed in the latest update. Someone from the Core Team will know more for sure.

Try this:

Open your /kernel/configoption.php file and locate;

class XoopsConfigOption extends XoopsObject
{
    
/**
     * Constructor
     */
    
function XoopsConfigOption()
    {
        [
color=ff0000]$this->XoopsObject();[/color]
        
$this->initVar('confop_id'XOBJ_DTYPE_INTnull);
        
$this->initVar('confop_name'XOBJ_DTYPE_TXTBOXnulltrue255);
        
$this->initVar('confop_value'XOBJ_DTYPE_TXTBOXnulltrue255);
        
$this->initVar('conf_id'XOBJ_DTYPE_INT0);
    }
}


This is only a guess but make sure that the code highlighted red in the above example is the same as in your file. You will find this line of code on line 60.

Copy your 2.0.7 file before you save any changes and upload to the server if you did have to edit it. I would suggest placing the same file from your 2.0.6 files onto your server, but I do not know what effect this will have if this file was changed since that version. (You can try it though)

I'm really reaching here and only guessing. Mith, Herko or Skalpa will know for sure what the cause of this is.

Please let us know when you have it fixed and what needed to be done.


5
Shelia
Re: Fatal Error
  • 2004/6/18 23:44

  • Shelia

  • Not too shy to talk

  • Posts: 140

  • Since: 2003/6/22


I ran the xoops_206_to_207.php file and once the upgrade was done I checked the site and found the error.

The file wasn't changed.

6
frankzz
Re: Fatal Error
  • 2005/2/6 15:33

  • frankzz

  • Just popping in

  • Posts: 1

  • Since: 2005/2/6 1


exactly had the same problem and I solved it.

In my situation, it is because these 2 files were corrupted at the time of the sending:
/public_html/kernel/object.php
/public_html/kernel/notification.php

Solution: sending again all the files which are in the kernel directory.

Sorry for my english, is not so good.. :)

Login

Who's Online

669 user(s) are online (186 user(s) are browsing Support Forums)


Members: 0


Guests: 669


more...

Donat-O-Meter

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

Latest GitHub Commits