Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-26-2007, 08:39 AM   #1
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Programmers: Quick question

I'm getting this error:

couldn't execute /usr/local/bin/mogrify -resize 250x79 /var/www/vhosts/domain.com/httpdocs/imagenes/imagenes/umfqo_qok02_L.gif 2>&1


Basically it is an image uploading script that I use a lot. Never had a problem with it up until now that I'm trying to run it on a new VPS.

What are the possible reasons why it can't execute mogrify?
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 08:41 AM   #2
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
could be

file permissions? ...
path problems ? ...
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

Last edited by 2012; 09-26-2007 at 08:43 AM..
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 08:43 AM   #3
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
I spent an hour playing with that. Changed most of the relevant stuff to 777 and nothing.
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 08:44 AM   #4
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
is "mogrify" whatever that is installed on the server ?

it's always something stupid when it worked someplace else and you make a move ...
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

Last edited by 2012; 09-26-2007 at 08:46 AM..
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 08:45 AM   #5
pussyserver - BANNED FOR LIFE
So Fucking Banned
 
Join Date: Oct 2005
Location: I convert perverts like catholic church!
Posts: 5,133
filename
pussyserver - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 08:48 AM   #6
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Quote:
Originally Posted by fartfly View Post
is "mogrify" whatever that is installed on the server ?

it's always something stupid when it worked someplace else and you make a move ...
Ya, installed it with my bare hands. It's part of ImageMagick I suppose.

Filename works in other VPSs. :S
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 08:52 AM   #7
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
have you tried mogrify -resize 250x79 directly from putty or whatever your using for a console.

I bet somethings missing. good luck
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 09:05 AM   #8
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Yup, works from the console with a regular user, not even root.
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 10:07 AM   #9
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
are you running that from php? safe_mode maybe?
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 10:18 AM   #10
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
is php set up to allow exec() to run at all? i've had problems with servers that were set up like that in the past
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 11:28 AM   #11
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
try running it with system, shell_exec, or pass_thru
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 03:08 PM   #12
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Quote:
Originally Posted by woj View Post
are you running that from php? safe_mode maybe?
It is off, according to php.ini
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 03:09 PM   #13
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Quote:
Originally Posted by mortenb View Post
is php set up to allow exec() to run at all? i've had problems with servers that were set up like that in the past
Where can I find this?
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 03:09 PM   #14
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Quote:
Originally Posted by k0nr4d View Post
try running it with system, shell_exec, or pass_thru
I'm not sure what you mean. Can you please elaborate?

Thanks!

__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 04:14 PM   #15
jimbona
Confirmed User
 
Join Date: Jan 2007
Posts: 190
Quote:
Originally Posted by Gillespie View Post
I'm not sure what you mean. Can you please elaborate?

Thanks!

what they are saying is to use the PHP functions to pass the resize string.
http://uk2.php.net/system
http://uk2.php.net/manual/en/function.exec.php
http://uk2.php.net/manual/en/function.passthru.php

create a php file with

PHP Code:
<?php phpinfo();?>
upload it onto your server and see if any of these functions are on the disabled list.
jimbona is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 04:15 PM   #16
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
Quick answer. No.
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 05:17 PM   #17
Gillespie
Confirmed User
 
Join Date: Aug 2006
Location: Montevideo
Posts: 1,391
Quote:
Originally Posted by jimbona View Post
what they are saying is to use the PHP functions to pass the resize string.
http://uk2.php.net/system
http://uk2.php.net/manual/en/function.exec.php
http://uk2.php.net/manual/en/function.passthru.php

create a php file with

PHP Code:
<?php phpinfo();?>
upload it onto your server and see if any of these functions are on the disabled list.
None of them are even present in the info page.

I'm really starting to wonder wtf is going on with this script :S
__________________
Blue Design Studios
My choice for web design.
Click this to see why.


Get a REAL host. Try JaguarPC.

294-659-259
Gillespie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2007, 06:14 PM   #18
4boxmedia
Registered User
 
Join Date: Sep 2007
Posts: 29
can you link to the php info page?
4boxmedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.