Jump to content
  • 0

Eroare server list


r o b e r t -

Question

Salutare, am descarcat un hook cu Server List de pe invison-virus, l-am instalat iar cand dau sa adaug un server imi apare urmatoarea eroare:

Error: Undefined constant 'IPS\HTMLENTITIES' (0)
#0 /home/playhard/domains/playhard.ro/public_html/forum/system/Dispatcher/Controller.php(85): IPS\serverlist\modules\admin\serverlist\_manage->manageServer()
#1 /home/playhard/domains/playhard.ro/public_html/forum/applications/serverlist/modules/admin/serverlist/manage.php(24): IPS\Dispatcher\_Controller->execute()
#2 /home/playhard/domains/playhard.ro/public_html/forum/system/Dispatcher/Dispatcher.php(152): IPS\serverlist\modules\admin\serverlist\_manage->execute()
#3 /home/playhard/domains/playhard.ro/public_html/forum/admin/index.php(14): IPS\_Dispatcher->run()
#4 {main}

care este rezolvarea?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Sterge plugin-ul de pe forum, deschide fisierul xml cu un editor de text, si dai un search and replace la 

htmlentities(

cu

\htmlentities(

Si dupa, reinstaleaza.

In versiunile mai noi functiile php de baza trebuie folosite cu un "\" in fata cand folosesteti namespace, cum face IPS, ca sa stie unde sa caute functia. 

Pentru curiosi https://www.php.net/manual/en/language.namespaces.global.php

Link to comment
Share on other sites

  • 0
On 2/9/2020 at 11:58 AM, Portocala said:

Sterge plugin-ul de pe forum, deschide fisierul xml cu un editor de text, si dai un search and replace la 

htmlentities(

cu

\htmlentities(

Si dupa, reinstaleaza.

In versiunile mai noi functiile php de baza trebuie folosite cu un "\" in fata cand folosesteti namespace, cum face IPS, ca sa stie unde sa caute functia. 

Pentru curiosi https://www.php.net/manual/en/language.namespaces.global.php

nu exista nici-un fisier .xml

serverlist-ul vine intr-un format .tar iar acolo are foldere dar in nici-un caz fisier .xml

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.

Guest
Answer this question...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.