axec() in PHP

Status
Not open for further replies.

Archkronos

New Member
Messages
257
Reaction score
0
Points
0
Hi, I am using Jaws as a CMS and when using the built-in image gallery (Phoo), when I try to upload I get the following error:

Warning: exec() has been disabled for security reasons in /home/arkronos/public_html/include/JawsTypes/JawsImage.php on line 150

Any ideas how I can make it work, or do you have to enable it?

Cheers.
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
As of right now, it's going to stay disabled. The reason being what is posted in that thread that Ivan_Andrei above me posted.

Corey and I are working on a way for us to be able to control PHP settings on a per user basis. Hopefully by the end of this week or early next week it will be ready for use. So if you want to hang on for a few more days without it..

Can you look up what exactly it is doing on line 150 of public_html/include/JawsTypes/JawsImage.php ? Maybe it is possible to modify it to use an alternative to exec(), allowing you to upload or whatever until we get the new PHP system in place.
 
Last edited:
Status
Not open for further replies.
Top