1
2headedpuppy
Quick fix if your xoopsodp module is not displaying DMOZ results

xoopsodp module has worked really well in the past. It is based on DWodp live (http://www.dominion-web.com/products/dwodp_live/)

Recently it stopped working for me. All results were blank. I read the
DWodp live page and they have a new version:

Quote:
DWodp live change log
Version 1.2.5 - August 2007
* Bug fix - DMOZ changed url structure and so updated in config.inc.php
* Bug fix - Search only this category fixed

To make xoopsodp work again it is a really really simple fix:

in the module directory (for example /modules/xoopsodp), open file:

/includes/config.inc.php

change configuration value of $rooturl from:

$rooturl "http://dmoz.org";

to:

$rooturl "http://www.dmoz.org";

save config.inc.php .. voilaa

The fix is adding "www" to the URL. It should work now again.

Since I think that the other DMOZ module (SnX DWodp XOOPS DMOZ Integrator) is also "DWodp live" based perhaps a similar change can make it work again.