Skip to main content
Topic: "An Error Has Occurred" (Read 222 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

"An Error Has Occurred"

Hi All,
It's my first time installing Elkarte and I love it so far, but I'm getting an error that seems to pop up randomly "Call to undefined function shell_exec()".
I seem to be able to clear it by clicking on the Home link. But I need to fix this before I roll it out to my community.
Has anyone seen this before?
Cheers,
Martin

Re: "An Error Has Occurred"

Reply #1
Hi and welcome to Elkarte, I suggest yo to post all the details about the error you have (Admin CP ->Log error)
sorry for my bad english

Re: "An Error Has Occurred"

Reply #2
I think this will be fixed by turning off hostname lookup but I forget where the option is in the admin panel.

Re: "An Error Has Occurred"

Reply #3
Here's the error log:
Guest
Today at 12:48:37 AM
202.56.55.214
TbPeHkBT7SNIKglqn3TUyb9vLwRzK6GA
Type of error: Undefined
Exception: Call to undefined function shell_exec()
https://connect2.networkz.nz/index.php?action=login
File: /home/networkz/connect2.networkz.nz/sources/Subs.php
Line: 1246

Each error has referenced the same file and line

Re: "An Error Has Occurred"

Reply #4
I think this will be fixed by turning off hostname lookup but I forget where the option is in the admin panel.
I found this option and disabled hostname lookup -  let's see what happens!
It is in Server Settings\General

 

Re: "An Error Has Occurred"

Reply #5
That seems to have worked thank you!