32
           
            
                
     
    
    Doing as Zyspec recommends in his post fixes the blank index.php page in the front end of MxDir 3.0RC2 due to PHP5 (maybe XOOPS 2.4.2)
If you get the RC2 from the link posted in this thread, this has been changed
 Delete lines 38-41 in ./index.php: 
function add_header($tpl_source, &$xoopsTpl) 
{ 
return "echo $xoops_module_header; ?>n".$tpl_source; 
} 
 
 
Then delete line 48 (now line 44 after the above was deleted) in ./index.php so it looks like this: 
 
$xoopsTpl->register_postfilter('add_header'); 
 
 
There is also a coupon class fix for PHP5. Modify ./class/coupon.php line 124 from: 
 
if (get_class($coupon) != 'coupon') { 
 
to: 
 
if (get_class($coupon) != 'Coupon') { 
Notice the capital 'c' is required for the 'Coupon' compare. This is because the PHP interpreter changed the get_class function to be case sensitive in PHP5. 
You will still have to manually do:
 Then in these templates: 
xdir_index.html 
xdir_listingfull.html 
xdir_mylistings.html 
xdir_viewalpha.html 
xdir_viewcat.html 
 
Comment out the <{$xoops_module_header}> line so it looks like: 
 
  
and walla! i am working on migrating data from xdirectory to mxdir because xdir won't work on 2.4.2 as it should! this is a bit tricky, but i am on it!
thanks for the support everyone!