1
jfmoore
mxDirectory 3.0RC2???
  • 2008/5/19 3:22

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


It's been a loooonnnnng time since 3.0RC1, and I understood that 3.0RC2 was forthcoming a while back. As far as I know, the current version of mxDir still does not work with PHP5. And what about XOOPS 2.0.18.1? Or 2.30?

How abut it Tripmon & Zyspec? We haven't heard from you guys in a while. This is a super module, and many people need it to work with PHP5 and now XOOPS 2.30. Could we maybe get a little update?

Jere
...

2
trabis
Re: mxDirectory 3.0RC2???
  • 2008/5/19 12:35

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Where are you getting erros?
It seems to work fine in my localhost with php5.

3
jfmoore
Re: mxDirectory 3.0RC2???
  • 2008/5/19 14:36

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


The copy I have is working with PHP5. Zyspec helped me fix it, and it took several changes. But that's not the released version. To my knowledge, no patch has been released yet.

Before patching, I was getting white pages with PHP5. Others may still be getting them and, if so, may have given up. Then there is the question of whether it works with 2.0.18.1 and, now, 2.30. We can, of course, test it ourselves, but, IMHO, we need a current version--at least 3.0RC2.

Sure would be nice to hear from Tripmon and/or Zyspec.

Jere
...

4
gebizhimu
Re: mxDirectory 3.0RC2???
  • 2008/5/22 5:29

  • gebizhimu

  • Just popping in

  • Posts: 1

  • Since: 2008/5/22


Where can I download from?

5
zyspec
Re: mxDirectory 3.0RC2???
  • 2008/5/22 13:35

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Sorry guys - real life has interfered with our ability to get this released. We didn't want to release it without testing it on XOOPS 2.0.18.1 & the 2.2 branches thoroughly. Official XOOPS 2.3 support will have to wait until after this release - it may work but we're not planning to make changes in this release to support it.

The last time I talked with Tripmon I believe we agreed that we would make mx-directory 3.01 the last version that officially supports the 2.2.x branch. Depending on the state of 2.3 we may make future releases for 2.3 only since it would let us clean up a lot of the code and add/change features to use core capabilities - this hasn't been decided yet though.

Having said all this... I'll try and get a release candidate to Tripmon within the next 30 days and once he approves it we can get it out to everyone.


You can download the current version here

6
Anonymous
Re: mxDirectory 3.0RC2???
  • 2008/5/22 14:09

  • Anonymous

  • Posts: 0

  • Since:


Hi,

Quote:
zyspec wrote:

You can download the current version here


Can you confirm whether or not the above version works with PHP5, or is some patching necessary?

Many thanks

7
zyspec
Re: mxDirectory 3.0RC2???
  • 2008/5/22 16:29

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


John,

There is some patching necessary to get it to work properly with PHP5. At a minimum the following needs to be done:

Delete lines 38-41 in ./index.php:
function add_header($tpl_source, &$xoopsTpl)
{
return "<?php 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.

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:
<!-- {$xoops_module_header}> -->


Jere you may look over your notes to make sure that's all it takes and comment here. There are other changes we're making but I believe that's all that's "required".

8
Anonymous
Re: mxDirectory 3.0RC2???
  • 2008/5/22 16:34

  • Anonymous

  • Posts: 0

  • Since:


Very many thanks - thread bookmarked for future reference

9
btesec
Re: mxDirectory 3.0RC2???
  • 2008/10/2 22:45

  • btesec

  • Friend of XOOPS

  • Posts: 623

  • Since: 2007/2/20


Any success here?

Thanks

BTESEC

10
btesec
Re: mxDirectory 3.0RC2???
  • 2008/10/6 22:33

  • btesec

  • Friend of XOOPS

  • Posts: 623

  • Since: 2007/2/20


Errors with XOOPS 2.3 final

A. Parse error: syntax error, unexpected ';' in C:\AppServ\x2308xml_data\caches\smarty_compile\default-expo^%%4B^4B3^4B3E9984%%db%3Axdir_index.html.php on line 3
All errors (1) queries (36) blocks (5) extra (0) timers (6)
Errors
Warning: Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45

B. when accesing after adding listing from back end get this eror:

Parse error: syntax error, unexpected ';' in C:\AppServ\x2308xml_data\caches\smarty_compile\default-expo^%%4B^4B3^4B3E9984%%db%3Axdir_index.html.php on line 3
All errors (5) queries (39) blocks (5) extra (0) timers (6)
Errors
Warning: Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45
Notice: Undefined index: - in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined index: - in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined index: - in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined index: - in file /modules/mxdirectory/include/functions.php line 278

Login

Who's Online

269 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 269


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