Jump to content
  • 0
Sign in to follow this  
r o b e r t -

Eroare server list

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?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
  • 0
34 minutes ago, Portocala said:

Well, nu ai mentionat nici unde ca e vorba de o aplicatie, in cazul asta fa ce am zis cu fisierele .php din arhiva.

nu-i dau de cap. imi poti trimite tu o arhiva deja facuta cu serverlist-ul? te rog.

Share this post


Link to post
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...