Jump to content

Bizarre behavior


SJ77

Recommended Posts

Posted
  1. Get a template error - not default template (can't remember the error exactly)
  2. Decide to use the default template. Then run support to clear cache. Still get the error
  3. Decide to disable all 3rd party things. (Error goes AWAY)
  4. Enable all Applications, Still ERROR FREE
  5. Enable all the plugins, Template error returns. (Assume one of the plugins must be bad)
  6. Disable plugins 1 by 1, until I have disabled them all. Error remains with all plugins disabled. WTF
  7. Run support again, still error
  8. Disable all 3rd party. This time enable all plugins first (apps are disabled) ERROR FREE.. no template error.. ok it must be an app.
  9. Enable apps Template error returns
  10. run support and disable all 3rd party apps AGAIN, ERROR FREE
  11. enable all apps, and enable all plugins. ERROR free.. suddenly everything is working.

It's working now? I didn't change anything just ran in a few circles. What the heck?

come on wtf GIF

Posted
58 minutes ago, Daniel F said:

Nobody will be able to assist without the error message. Is there anything in the system log?

Well good news! The error message is back.

[[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

 

Posted
8 hours ago, Adriano Faria said:

This error logs an entry in the System Logs. Post it.

Error: Undefined constant 'IPS\HTMLENTITIES' in /MyRoot/system/Theme/Theme.php(840) : eval()'d code:2561
Stack trace:
#0 /MyRoot/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->commentEditLine(Object(IPS\forums\Topic\Post), false)
#1 /MyRoot/system/Content/Comment.php(648): IPS\Theme\_SandboxedTemplate->__call('commentEditLine', Array)
#2 /MyRoot/system/Theme/Theme.php(840) : eval()'d code(448): IPS\Content\_Comment->editLine()
#3 /MyRoot/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->post(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), 'topic_comment', 'forums', 'forums', 'forums_Topic')
#4 /MyRoot/system/Theme/Theme.php(840) : eval()'d code(1722): IPS\Theme\_SandboxedTemplate->__call('post', Array)
#5 /MyRoot/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '')
#6 /MyRoot/system/Theme/Theme.php(840) : eval()'d code(4039): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array)
#7 /MyRoot/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, true, '\n\n\n\t\n\t<ul class...', Array)
#8 /MyRoot/applications/forums/modules/front/forums/topic.php(434): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#9 [internal function]: IPS\forums\modules\front\forums\_topic->manage()
#10 /MyRoot/init.php(588) : eval()'d code(35): call_user_func_array('parent::manage', Array)
#11 /MyRoot/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\hook1502->manage()
#12 /MyRoot/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#13 /MyRoot/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#14 /MyRoot/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\front\forums\_topic->execute()
#15 /MyRoot/index.php(13): IPS\_Dispatcher->run()
#16 {main}

 

Posted

what I see.JPG

22 minutes ago, opentype said:

You need to replace  \IPS\HTMLENTITIES with ENT_DISALLOWED in that theme template. (Or any other template it might appear)

Which is weird because I am using the default IPS template. Is this normal?

Posted
1 minute ago, SJ77 said:

Which is weird because I am using the default IPS template. Is this normal?

It the theme templates are really not customized, it probably is injected by one your third-party apps/plugins. You might not see the effect instantly when turning them on and off because of caching. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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