Jump to content

Featured Replies

Posted

Site is returning this error message when trying to view most topics as a guest:

[[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.]]

Disabling customizations did not seem to address the issue.

We are hosted on the Cloud, and unfortunately my tech capabilities are "explain it like I'm five" level. 😅

When I go to System Logs I see a whole bunch of these:

Screenshot 2025-02-11 160638.png

Unfortunately, that list doesn't help much. Can you copy/paste one of the errors? You can click on the search icon to view the single logs.

Edited by teraßyte
typo

11 hours ago, fanfictalk said:

Site is returning this error message when trying to view most topics as a guest:

What was the latest change done to the forum prior to this happening?

  • Author

Sorry for the delay in my response --

On 2/12/2025 at 4:07 AM, Miss_B said:

What was the latest change done to the forum prior to this happening?

I had installed a 3rd party theme. And interestingly, as far as I could tell, the topics and blog entries that were returning the error message (again, just for guests) were the ones that had been posted prior to the installation of the theme. Newer topics did not appear to be having the same issue. So I thought that must be the reason behind it but it did not appear to right itself when I disabled the theme.

On 2/12/2025 at 2:58 AM, Marc said:

You have 2 plugins running at that point. I would suggest disabling them for a while to test as they are currently still enabled at present. As you dont seem to be seeing the error all the time, it can be hard to pin these down without leaving them off a while

Thank you -- previously when I tried disabling all customizations, I then went onto the site from other browsers as a guest and was still getting the error messages then. But I am going to disable the customizations again right now!

On 2/11/2025 at 5:38 PM, teraßyte said:

Unfortunately, that list doesn't help much. Can you copy/paste one of the errors? You can click on the search icon to view the single logs.

#0 /var/www/html/107800/system/Member/Member.php(878): IPS\Patterns\_ActiveRecord::load(3)

#1 /var/www/html/107800/system/Patterns/ActiveRecord.php(335): IPS\_Member->get_group()

#2 /var/www/html/107800/system/Content/Item.php(6712): IPS\Patterns\_ActiveRecord->__get('group')

#3 /var/www/html/107800/system/Content/Item.php(5515): IPS\Content\_Item->can('reply', Object(IPS\Member), true)

#4 /var/www/html/107800/system/Content/Item.php(5381): IPS\Content\_Item->canCommentReview('reply', Object(IPS\Member), true)

#5 /var/www/html/107800/applications/forums/sources/Topic/Topic.php(1795): IPS\Content\_Item->canComment(Object(IPS\Member), true)

#6 /var/www/html/107800/system/Content/Item.php(4938): IPS\forums\_Topic->canComment(Object(IPS\Member))

#7 /var/www/html/107800/system/Theme/Theme.php(891) : eval()'d code(5424): IPS\Content\_Item->commentForm()

#8 /var/www/html/107800/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)

#9 /var/www/html/107800/applications/forums/modules/front/forums/topic.php(650): IPS\Theme\_SandboxedTemplate->__call('topic', Array)

#10 /var/www/html/107800/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()

#11 /var/www/html/107800/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()

#12 /var/www/html/107800/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()

#13 /var/www/html/107800/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()

#14 /var/www/html/107800/index.php(13): IPS\_Dispatcher->run()

#15 {main}

So now this is also interesting... when I went to return to the default IPS theme, I now notice my list of themes has the default one listed... multiple times. And also this "core theme set title 38 / 39" which was never there before.

Screenshot 2025-02-15 162535.png

  • Author

Just an update, Terabyte is helping me out by taking a look for me in my site's ACP.

I figured out the issue, but only IPS can fix it with the site hosted on the Cloud. I've provided more details to @fanfictalk.

Edited by teraßyte

  • Author

@Marc here is the issue I need IPS help with (copied and pasted from what Terabyte was able to discover for me):

The conf_global.php file by default has the group ID 3 as the default Member group, but in your case no such group with ID 3 exists. It must have been deleted at some point.

When the code tries to check if a member can reply if they login (canComment() call in the error log) the default member group the code tries to load doesn't exist and it throws an exception.

I also found several broken API call logs in your ACP. Here are a few examples:

group_promotion => Group promotion found a member (#2577: Asa [Group ID 3] with an invalid member group

api_invalid_group=> XXXXX has an invalid group (3) during API call. Resetting.

Everything is related to the default Member group (ID: 3) which doesn't exist anymore.

You need to setup a new default Members group in your conf_global.php file by choosing a group ID from the ones available in ACP: https://fanfictalk.com/admin/?app=core&module=members&controller=groups

Since FTP is unavailable on the Cloud, you must contact IPS to fix the invalid group ID.

Indeed there is actually more to it than that, as you have members who are allocated to that group too by the look of it. I have created a ticket for you so we can get some more information and get this resolved for you

Recently Browsing 0

  • No registered users viewing this page.