Menu

#60 Anonymous user Rob posts a php5 fix

open
nobody
None
5
2006-02-20
2006-02-20
Greg Morgan
No

Please see
https://sourceforge.net/forum/message.php?msg_id=3585190
. I have copied it here. As noted below Rob says that
the module works correctly on php 5 now. I have not
checked. Version information is not available. I will
ask.

Greg

I installed the listings module on a new install of
phpwebsite and php5.
It threw general error messages until I changed lines
36 and 37 of mod/phpwslistings/class.runtime.php from

function AgentCheck(){
$this->Listing_block = new SEILER_ListingManager();
$this->Listing_block->AgentCheck();
}
}

to

function AgentCheck(){
$result->Listing_block = new SEILER_ListingManager();
$result->Listing_block->AgentCheck();
}
}
?>
?>

And like that it works perfectly.

:)
Rob

Discussion

  • Greg Morgan

    Greg Morgan - 2006-02-20

    Logged In: YES
    user_id=244471

    The verersion request information was asked here
    https://sourceforge.net/forum/message.php?msg_id=3587085 .

    Greg

     
  • Nobody/Anonymous

    Logged In: NO

    Whoops! Should have posted here
    Hello Greg,
    Of course.
    Operating system Linux
    phpwebsite version = '0.10.2'
    MySQL version 4.1.14-standard
    PHP version 5.0.4
    Phpwslistings 0.9.3-2 (listed as 3-2)
    :)
    Rob

     

Log in to post a comment.