1
tzvook
Help needed - Fatal error in article 1.0
  • 2010/5/7 9:44

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I moved my server into a php 5.3.2 server ( MySql 5.1.46 )
and now I get this:

Fatal errorCall to undefined method Xcategory::ArtObject() in /www/virtual/xxxxx.org/htdocs/modules/article/class/category.php  on line 36


XOOPS 2.3.3

and the module won't function ...

Has anyone got the same or has any idea about it ?

2
ghia
Re: Help needed - Fatal error in article 1.0
  • 2010/5/7 10:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think that line got commented out in v2.0rc
Maybe try an upgrade of the module.

3
tzvook
Re: Help needed - Fatal error in article 1.0
  • 2010/5/7 11:10

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


10x ghia

I wanted to avoid upgrading into 2.0 since I had a lot of issues with it in the past (all sort of small bugs), but had no choice, and now error is gone ...

Still don't know what will be the "buggy price" for it ...

4
tzvook
Re: Help needed - Fatal error in article 1.0
  • 2010/5/9 8:45

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


This "ArtObject" is killing me !!!!

There's calls all over for it !!! ... alll phppp's modules has fatal errors with php 5.3.2
If someone knows what to do about it ... I'm ready to listen

Seems like the source of the issue is the function itself ( Frameworks/art/ .... )

5
ghia
Re: Help needed - Fatal error in article 1.0
  • 2010/5/9 11:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Any debug messages?

6
tzvook
!!! - Fatal error in all phpPP'w modules with php 5.3.2
  • 2010/5/10 6:41

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Now I found out it was not limited to one module - It's all over my xoops sites with phpPP's modules that uses the /FRAMEWORKS/art/

1. newBB 3.8
2. article version 1.0
3. planet

I really need help here ....

NewBB gives this in debug:
Fatal errorCall to undefined method XoopsRank::ArtObject() in /www/virtual/xxxxx.org/htdocs/modules/newbb/include/functions.php  on line 964

7
tzvook
Re: !!! - Fatal error in all phpPP'w modules with php 5.3.2
  • 2010/5/10 6:49

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


line 964 is of course
$this->ArtObject();


So .... before moving to php5 (5.3.x) ... think twice - half of my modules has issues.

8
ghia
Re: Help needed - Fatal error in article 1.0
  • 2010/5/10 7:25

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
line 964 is of course
I have only 670 lines in that file.

9
tzvook
Re: Help needed - Fatal error in article 1.0
  • 2010/5/10 7:54

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


File /modules/newbb/include/functions.php has 1450 lines ( 3.8)

but it all comes from /frameworks/art/ - this "ArtObject" thing !!!

here are the lines ( 953 to 984 ):

function newbb_getrank($rank_id =0$posts 0)
{
    static 
$ranks;
    
$myts =& MyTextSanitizer::getInstance();

    if(empty(
$ranks)){
        if(!
class_exists("XoopsRankHandler")):
        class 
XoopsRank extends ArtObject
        
{
            function 
XoopsRank()
            {
                
$this->ArtObject();
                
$this->initVar('rank_id'XOBJ_DTYPE_INTnullfalse);
                
$this->initVar('rank_title'XOBJ_DTYPE_TXTBOXnullfalse);
                
$this->initVar('rank_min'XOBJ_DTYPE_INT0);
                
$this->initVar('rank_max'XOBJ_DTYPE_INT0);
                
$this->initVar('rank_special'XOBJ_DTYPE_INT0);
                
$this->initVar('rank_image'XOBJ_DTYPE_TXTBOX"");
            }
        }
        class 
XoopsRankHandler extends ArtObjectHandler
        
{
            function 
XoopsRankHandler(&$db) {
                
$this->ArtObjectHandler($db'ranks''XoopsRank''rank_id''rank_title');
            }
        }
        
$rank_handler =& new XoopsRankHandler($GLOBALS["xoopsDB"]);
        else:
        
$rank_handler =& xoops_gethandler('rank');
        endif;
        
$ranks $rank_handler->getObjects(nulltruefalse);
    }

10
tzvook
Re: Help needed - Fatal error in article 1.0
  • 2010/5/10 9:07

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I'm not sure where is the source of ArtObject()

Login

Who's Online

151 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

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

Latest GitHub Commits