1
mrphilong
Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors

Got some errors to report;

Errors
Unknown: Function ereg() is deprecated in file /modules/mxdirectory/header.php line 35
Unknown: Function split() is deprecated in file /modules/mxdirectory/header.php line 38
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278


Deprecated
'Database::getInstance();' is deprecated since XOOPS 2.5.4, please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php

2
Mamba
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/2 0:46

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


This is an old and not maintained anymore module. I was looking one time into it to see if we could merge some of the xDirectory and mxDirectory and another directory module I don't remember the name now, but so far no time for that. Maybe in the Fall I'll have more time...

Or maybe somebody else could take the challenge and work on this? I have some ideas on this and will be glad to share if somebody decides to take it on...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
Mamba
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/2 12:45

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I've made some "quick and dirty" corrections to this module, and committed the changes to our SVN

It seems to be working OK, but I didn't tested much.

So please take a look and see if it works for you.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
mrphilong
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/2 13:44

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


The module works with errors

Errors
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278


'Database::getInstance();' is deprecated since XOOPS 2.5.4, please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.

5
Mamba
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/2 15:31

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


NoticeUndefined offset0 in file /modules/mxdirectory/include/functions.php line 278

I'll look into it...

'Database::getInstance();' is deprecated since XOOPS 2.5.4please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.

This should not happen, as all of these have been replaced. It's either a different module, are you need to update the module and clear cache.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

6
Mamba
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/6 19:25

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I have fixed few more bugs and committed to XOOPS SVN - can you test and see if it works?

I am not sure about the Premium listings, some of it is not clear to me, and I am not sure if the PayPal works. But at least the bugs that you reported, should be taken care of. Let me know...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
mrphilong
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/10 12:24

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Tested, same errors :Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278

8
Mamba
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/10 13:28

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I am afraid, you have probably non-standard content in the "Hours" fields:

mfhrs
sathrs
sunhrs

If there are no hours, then the content should be "space dash space":

-


Check what you have there, and you might need to change it.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

9
mrphilong
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/23 11:49

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Fresh installed doesn't have the errors.

in mxdirectory\admin\main.php need to remove line 400
echo "";
not needed.

10
Mamba
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/23 18:48

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Excellent! I am glad that the errors are gone now.

Please test some more and let me know if there are any other bugs, and if not, we'll be releasing as Final.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

362 user(s) are online (253 user(s) are browsing Support Forums)


Members: 0


Guests: 362


more...

Donat-O-Meter

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

Latest GitHub Commits