View Full Version : escapeshellarg error
February 18th, 2008, 01:58 PM
I've recently moved to a new VPS and when I upload an image I get the message
warning escapeshellarg() disabled for security reasons.
The image uploads but its not resized. I know its a hosting issue, but I want to learn how to do this myslef rather than ticketing them to do it.
Can anyone give step by step instructions on how to enable this please (if indeed it should be enabled)
February 18th, 2008, 02:23 PM
This means you can not use jhead jpegtran or imagemagick. You can clear out the jpegtran jhead boxes if they are filled in and set your image processor to GD2 and you should be able to upload and have images sized right. Those Options are in Admin => Global Options.
February 18th, 2008, 05:02 PM
I'd rather get Imagemagick working
February 18th, 2008, 05:15 PM
Then you can ask your host if they will lift those restrictions on your setup otherwise you need to use GD2. From my experience with hosts who set things like this your left to use GD2.
February 18th, 2008, 06:24 PM
Its a VPS, I can do it myself, I just dont know how ;)
February 18th, 2008, 08:07 PM
In your php info what functions are labeled as disabled? You might need to ask your host where they disabled things in php or apache. They might be able to help you.
February 19th, 2008, 04:39 AM
thanks that helped, as I was able to amend the php.ini and remove escapeshellarg from the disabled list.
As usual with these things its just a case of knowing where to look.
I now have the following error ;)
any advice please?
February 19th, 2008, 10:10 AM
Never seen an issue like that where do you get this? Trying to understand where that is displayed as I do not see any language like that within our product please post a url and login.
February 19th, 2008, 10:21 AM
oops my bad. Photopost is working correctly after removing escapeshellarg from the disabled list.
is a vB issue with imagemagick when uploading attachments/changing avatars etc.
February 19th, 2008, 11:00 AM
No problem no wonder I was stumped as to where that was displayed its not our program ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.