Jump to content

How to analyse System Logs?


Recommended Posts

2 hours ago, Emediate said:

Why would the above apply to just one file of many in the datastore, and not affect any others?

That is exactly my question too. And the error was reported more than once but the only "solution" given each time is to swap to the database:

Link to comment
Share on other sites

8 minutes ago, Luuuk said:

That is exactly my question too. And the error was reported more than once but the only "solution" given each time is to swap to the database:

As mentioned in multiple topics there is a limitation on your server, an error on the server, etc... which would indicate that the datastore is not being written properly to the file system thus creating the error. Switching to database would eliminate that server issue for testing. If it continues with database selected, we can take a further look but if it does not then you would need to contact your hosting provider to see the limitation or error that is happening with writing to your storage.

Link to comment
Share on other sites

@Jim M That's fine.

But I won't swap to the database writing (for one specific widget only) to be a "guinea pig" without a support (I am on Windows Server so of course you won't investigate, while the error was reported by "LAMP" customers as well but you "could not reproduce").

So you need other "LAMP" customer for further investigations.

Link to comment
Share on other sites

This solved that particular repeated System Log, but only seems to have created a new repeated one:

Quote

TypeError: IPS\core\_Approval::loadFromContent(): Argument #2 ($id) must be of type int, null given, called in /home/stereoglobal/public_html/forums/system/Content/Content.php on line 754 and defined in /home/stereoglobal/public_html/forums/applications/core/sources/Approval/Approval.php:212
Stack trace:
#0 /home/stereoglobal/public_html/forums/system/Content/Content.php(754): IPS\core\_Approval::loadFromContent('IPS\\core\\Messen...', NULL)
#1 /home/stereoglobal/public_html/forums/system/Content/Comment.php(189): IPS\_Content->checkProfanityFilters(false, false)
#2 /home/stereoglobal/public_html/forums/applications/core/sources/Messenger/Message.php(151): IPS\Content\_Comment::create(Object(IPS\core\Messenger\Conversation), '<p>\n\tmaybe sna ...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, NULL)
#3 /home/stereoglobal/public_html/forums/system/Content/Item.php(5040): IPS\core\Messenger\_Message::create(Object(IPS\core\Messenger\Conversation), '<p>\n\tmaybe sna ...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, NULL)
#4 /home/stereoglobal/public_html/forums/system/Content/Item.php(4726): IPS\Content\_Item->processCommentForm(Array)
#5 /home/stereoglobal/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(430): IPS\Content\_Item->commentForm()
#6 /home/stereoglobal/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_messaging->conversation(Object(IPS\core\Messenger\Conversation), Array, NULL)
#7 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(447): IPS\Theme\_SandboxedTemplate->__call('conversation', Array)
#8 /home/stereoglobal/public_html/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\messaging\_messenger->manage()
#9 /home/stereoglobal/public_html/forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#10 /home/stereoglobal/public_html/forums/init.php(927) : eval()'d code(16): IPS\Content\_Controller->execute()
#11 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(67): IPS\Content\templates_hook_TemplateController->execute()
#12 /home/stereoglobal/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\messaging\_messenger->execute()
#13 /home/stereoglobal/public_html/forums/index.php(13): IPS\_Dispatcher->run()
#14 {main}

Backtrace

Quote

#0 /home/stereoglobal/public_html/forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(TypeError), 'template_error')
#1 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(447): IPS\Theme\_SandboxedTemplate->__call('conversation', Array)
#2 /home/stereoglobal/public_html/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\messaging\_messenger->manage()
#3 /home/stereoglobal/public_html/forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#4 /home/stereoglobal/public_html/forums/init.php(927) : eval()'d code(16): IPS\Content\_Controller->execute()
#5 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(67): IPS\Content\templates_hook_TemplateController->execute()
#6 /home/stereoglobal/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\messaging\_messenger->execute()
#7 /home/stereoglobal/public_html/forums/index.php(13): IPS\_Dispatcher->run()
#8 {main}

Never saw this error before the shift of the datastore to the database.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...