Script install

Status
Not open for further replies.

djdubuque20

New Member
Messages
1
Reaction score
0
Points
0
I'm receiving the following error. What should I do to correct?

Warning: shell_exec() has been disabled for security reasons in /home/ddubuque/public_html/mod/install.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /home/ddubuque/public_html/mod/install.php:146) in /home/ddubuque/public_html/index.php on line 315

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, no-reply@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
1) Your script is trying to use shell_exec() to execute a command via the command line, which we don't allow on Free Hosting. You will need to find that line in the script and figure out how to run whatever it is trying to run manually via the web
2) for the 500 Internal Server Error: check file and folder permissions, files should be 644 and folders should be 755. anything 666 or 777 will cause errors. Second, check .htaccess files and remove any mention of php_flag, php_value, etc.
 
Status
Not open for further replies.
Top