1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Include PHP script with CURL

Discussion in 'XenForo Development Discussions' started by Zwirc, Feb 13, 2012.

  1. Zwirc

    Zwirc Member

    Hi!

    Hope that anyone out there could help me solve this one ;)

    I have installed http://xenforo.com/community/resources/nodes-as-tabs.9/
    Created a tab with
    Code:
    <div class="baseHtml messageText">
     
    {xen:raw $myContent}
     
    </div>
    and PHP Callback
    Ranksystem_PageCallback_Test :: respond


    I have tried up and down and everything since this morning, but cant figure it out :s

    Please enter a valid callback method. in the file. Where to find all theese?

    I get that all the time, I manage to http://xenforo.com/community/threads/editing-templates-and-defining-a-callback-for-pages.7226/ use the default.
    But i cant get it working with my script in it.

    Could anyone please help me?
    Would be nice through PM or something so i can show my script.
     
  2. Zwirc

    Zwirc Member

    Ok, tried another way to just paste my code into the template, but I only see the code in page o_O
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    EQnoble likes this.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    With that stack trace you can find the exact code that is causing the error. There is a _SESSION variable somewhere that is not defined. That needs to be addressed in your code.
     

Share This Page