Jump to content

No Invocation Codes


MaxSparta

Recommended Posts

I have just installed the newest version of Revive Adserver (4.0.0)

I have set up some zones and yet there is no invocation codes, and no drop down menu for the type of code.

I suspect I have done something wrong?

I tried to search for the solution, but the forum posts were on older versions of Revive Adserver.

They mentioned plugins, but I am unsure where to find this in the new version.

Many thanks,

Max

Link to comment
Share on other sites

  • 1 month later...

Thx Erik , yes, I installed ABP for safari and chrome. But I set "Disable the current web site" for my site. And I tried uninstall ABP there is still the same problem.

 

added: I tried reinstall revive adserver with windows 10 not installed ABP. Still no drop down menu for the type of code.

Edited by toodoo
Link to comment
Share on other sites

I found the anwser finaly.

function _getComponentGroupsFromDirectory($directory)
    {
        $aGroups = array();
        if (is_readable($directory))
        {
            if ($aFiles = scandir($directory))
            {
                foreach ($aFiles as $i => $name)
                {
                    if (substr($name, 0, 1) == '.')
                    {
                        continue;
                    }
                    if (is_dir($directory.$name))
                    {
                        $aGroups[] = $name;
                    }
                }
            }
        }
        return $aGroups;
    }

 

Because my server disabled the function "scandir" as default. Turn it on it is worked well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...