Jump to content

Issues with theme caches


Prank

Recommended Posts

Hi Guys,

About 10 days ago my server crashed, I'm not sure of the reason but she's been up and running fine since.

But, I've been having issues with my forums ever since. I have contacted support but they refused to help me over ssh and require sftp access which sounds straight forward but that would result in some major file changes on my server to make sftp write permissions work.

So, I'm now on my own.

This is a really strange issue...

I use 2 themes, my 'default' theme and a 'dark' theme. Both just lightly modified from the default theme.

99% of my registered users (130k or so) use default and i have a few hundred only on the dark theme.

My site will not load at all without the designer mode on. When designer mode is off I get these;
PHP message: PHP Fatal error:  Class 'IPS\Theme\Cache\class_forums_front_topics' not found
and
ArgumentCountError: Too few arguments to function IPS\Theme\Cache\hook87::imageInfo(), 1 passed in
and
ArgumentCountError: Too few arguments to function IPS\Theme\hook87::imageInfo(), 1 passed in

BUT my dark theme will load.

When I enable designers mode my default theme will load and the dark theme will not, it gives;
BadMethodCallException: NO_TEMPLATE_FILE

The whole time I am testing, the theme cache is pretty empty.

[root@ded2100 forums]# ls -la system/Theme/Cache/
total 16
drwxrwxrwx+ 2 nginx nginx 4096 May 17 17:52 .
drwxrwxr-x+ 7 nginx nginx 4096 May 12  2018 ..
-rw-r--r--  1 nginx nginx    0 Mar  4  2019 index.html
-rw-rwxr--+ 1 nginx nginx 4484 Jul 15  2019 Template.php

I have tried several methods to rebuild cache, including through support and selecting 'something is not working right' and also through the clear cache plugin. I've also systematically disabled each application and plugin and reloaded the page. 

I'd love any assistance at all here. Thanks in advance!

Christian

Link to comment
Share on other sites

10 hours ago, Adlago said:

Try and create a new theme - manual mode.
Put in Custom CSS on a new theme all the personalizations of, for example, a dark theme.
Check for issues.

Thanks, I'll give that a go at some stage. It sounds like a lot of work so I'll need to pick a low traffic period when i have a few hours available. 

Link to comment
Share on other sites

11 hours ago, Adlago said:

Try and create a new theme - manual mode.
Put in Custom CSS on a new theme all the personalizations of, for example, a dark theme.
Check for issues.

I replaced my current default theme with a new one and disabled designer mode and its working really well. Thanks very much!

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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