XF 1.4 Getting Callback to work.

drastic

Well-known member
Recently moved to a new VPS and my callback doesn't seem to work anymore.

Here's how it's setup:

I have this in my /library/TE3/tracking/index.php file

Code:
<?php

class TE3_tracking_index
{
    public static function getHtml()
    {
        include("/home/mypath/public_html/mydomain.com/trades/in.php");
    }
}

?>

The code has to be above the </head tag on every page, so I have the code below in the PAGE_CONTAINER tempate above </head

Code:
<xen:callback class="TE3_tracking_index" method="getHtml"></xen:callback>

It used to work perfectly, but hasn't worked since moving to new VPS. Any changes I could make?

Thanks.
 
Path is ok.

It actually works when we visit mydomain.com/trades/in.php - but once it's placed in the templates, it stops rendering.

This script has its own admin, which has an iframe on it for displaying their news - that stopped working too.

We contacted the developer and they think there's a setting blocking all iframes on the server. @xenBoost Mike - if you can check that.

Or possibly something in the template - if that's it, then @Russ let me know if there's a better place to insert our callback code.

I just wanted to make sure that our callback is still correct.
 
Top Bottom