Jump to content

Recommended Posts

Posted

Getting these errors randomly after server move when I try to access the Support section, and always when I try to view the System Logs. I have tried setting perms, but they still appear. Any advice would be much appreciated.

A configuration or server error has occurred

  •  
EX0 Something went wrong. Please try again.
UnexpectedValueException: DirectoryIterator::__construct(/www/tfans/talk/uploads/logs): Failed to open directory: Permission denied (0)
#0 /www/tfans/talk/applications/core/modules/admin/support/systemLogs.php(66): DirectoryIterator->__construct()
#1 /www/tfans/talk/system/Dispatcher/Controller.php(118): IPS\core\modules\admin\support\_systemLogs->manage()
#2 /www/tfans/talk/applications/core/modules/admin/support/systemLogs.php(38): IPS\Dispatcher\_Controller->execute()
#3 /www/tfans/talk/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\support\_systemLogs->execute()
#4 /www/tfans/talk/admin/index.php(13): IPS\_Dispatcher->run()
#5 {main}
Posted

The application can't open the /uploads/logs folder. Ensure that it is writable and has correct ownership.

Posted (edited)

Thanks! It is, and owned by the same user. Not sure why its still not able to access. What should the perms be?

Edited by tforums
Posted

That is a question for your hosting company. We can only tell you the application needs to be able to write

Posted (edited)

Yea, I know. I am asking if if should be "0777" or something else? And is the account owner or apache use who needs to access? FWIW, this is self hosted. So I can access everything, no problem. Just trying to get the right details here. Thanks.

Edited by tforums
Posted
5 minutes ago, tforums said:

I am asking if if should be "0777" or something else? And is the account owner or apache use who needs to access?

This would be dependent on your server configuration. We cannot tell you this as server configuration support is outside our scope of support. Only your hosting provider or server administrator can tell you why it's not working.

Posted

I am the hosting provider / server administrator. All I am looking for is answer like "It should be like user X and perms Y. "

Posted
2 minutes ago, tforums said:

I am the hosting provider / server administrator. All I am looking for is answer like "It should be like user X and perms Y. "

As a software provider, we do not provide hosting support. Software does not control this but rather your hosting configuration does. If you are unsure, you would want to hire a server administrator to help you.

  • Recently Browsing   0 members

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