23
Hi Reynaldo,
I tested the hack and it is working fine for the standard modules. Great work!!
I also made a custom module and when I activate the hack by enabling the call to xoops_shorturls.php in mainfile.php, I cannot see anything anymore in that custom module.
Do you have any key pointers where I may look for to solve this issue? When not calling the xoops_shorturls.php file everything is back to normal.
-- Edited: I found out that in the code of the pages that are giving the problems in the custom module all have something in common. They contain an object creating code... for example:
Quote:
ob_start();
include XOOPS_ROOT_PATH."/modules/amazon/recommended2.php";
$xoopsTpl->assign('recommended', ob_get_contents());
ob_end_clean();
I think this clashes with the Quote:
code in xoops_shorturls.php.
Do you know what can solve this issue?
Regards,
Martijn