Jump to content

http 500 error on discover and profiles


Ramsesx

Recommended Posts

Posted

Without changing anything on my site, today I got a HTTP ERROR 500 on pages like discover and user profiles. If I switch to default style all is working fine.

What can cause my custom style to f*** up suddenly without changing any thing on it?

The only error I can found on my system log what could be related to this style issue was:

Error: Class '\IPS\Theme\hook809' not found (0)
#0 /home/www/doc/mydomain.de/www/applications/forums/modules/front/forums/forums.php(87): IPS\_Theme->getTemplate('forums', 'forums', 'front')
#1 /home/www/doc/mydomain.de/www/init.php(460) : eval()'d code(18): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
#2 /home/www/doc/mydomain.de/www/applications/forums/modules/front/forums/forums.php(36): IPS\forums\modules\front\forums\forumblocks_hook_forumsmodule->_forum(Object(IPS\forums\Forum))
#3 /home/www/doc/mydomain.de/www/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\_forums->manage()
#4 /home/www/doc/mydomain.de/www/system/Dispatcher/Dispatcher.php(146): IPS\Dispatcher\_Controller->execute()
#5 /home/www/doc/mydomain.de/www/index.php(13): IPS\_Dispatcher->run()
#6 {main}

Thanks.

Posted

Could fix this by duplicating my custom style and activating it as new default and deactivating the faulty style. But it would be interesting to know what caused this issue.

Posted

That’s an issue with a theme hook which seems to be still used because of the cache . Did you recently uninstall any apps or plugins? Are you using the „save templates to filesystem“ setting?

Posted
4 hours ago, Daniel F said:

Did you recently uninstall any apps or plugins?

No, not I am aware of.

4 hours ago, Daniel F said:

Are you using the „save templates to filesystem“ setting?

Do you mean this? define( 'STORE_METHOD', 'FileSystem' );

Posted

The best you can is browse the core_hooks table and see which app/plugin it is tied.

4 hours ago, Ramsesx said:

Error: Class '\IPS\Theme\hook809' not found (0)

Query on SQL Toolbox or PHPMyAdmin:

select * from core_hooks where id = 809;

You will see columns app and plugin in the results. If it is a plugin, then see the ID that shows up there and run another query:

select * from core_plugins where plugin_id = XXX;


where XXX is the plugin ID from the first query. 

Posted
8 minutes ago, Adriano Faria said:

Query on SQL Toolbox or PHPMyAdmin:

Thanks Adriano, it throws out the Ignore Topics plugin.

Do you think this was causing the style issues?

Posted
5 hours ago, Ramsesx said:

If I switch to default style all is working fine.

I would need to take a look in the plugin (tomorrow) to see which templates it uses. Probably they’re missing somehow in your custom theme, as it works in default. 

Download the plugin and reinstall it (upload new version), without uninstall it, otherwise you will lose your data. 

Posted
23 minutes ago, Ramsesx said:

Thanks Adriano, it throws out the Ignore Topics plugin.

Do you think this was causing the style issues?

Btw, your latest download of this resource is from November, which means you’re using version for IPS 4.3. Update your install if you’re outdated. 

Archived

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

  • Recently Browsing   0 members

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