Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter Jeffs0n

    (@jeffs0n)

    Thread Starter Jeffs0n

    (@jeffs0n)

    is it an idea to relocate the temp folder in another place like the open httpdocs, and relink all the links to it?

    Plugin Author Mark_Bailly

    (@mark_bailly)

    I looked at the site and the image is not created as you mention.

    It is strange that you said it works for a little while and then stops.

    Are the permissions being reset on the temp folder automatically?

    Sometimes there are permissions issue but once the permissions are set to 777, the images are created properly.

    Regards,
    Mark

    Thread Starter Jeffs0n

    (@jeffs0n)

    Thank you. All i can see is that the permissions on the temp folder are set on 777. I did this with filezilla. What i do see is that the folders underneith gain the permission 755 automatically. I spoke to my host and they suggest a VPS and say no permissions can be changed. While i look in filezilla right now, i see that the 755 is back again. Think i can’t change it. What happens if i put the temp and saveddesigns folder in a public folder, and change all the links in the .php’s to it? (before i try to do that, haha)

    Thread Starter Jeffs0n

    (@jeffs0n)

    Spoke to my host again, now they put the permission to 777 on the temp folder. They say: We don’t change permissions back, and that directory is fully writable, so if this doesn’t work, it may be the fault of the plugin. I’m done, i really don’t know what to do right now..

    Plugin Author Mark_Bailly

    (@mark_bailly)

    The file php/getimage1.php uploads the file, makes a copy of it and uses Imagemagick to make a few different thumbnail versions of the file. The location of the “temp” folder is not relevant as long it is “writable”.

    In what directory does you host have imagemagick? The usual location is /usr/bin.

    Does the host allow exec() or do they have safe_mode turned-on? This is the method for running command lines in php. Some hosts will place restrictions on this.

    If I have the answers to these questions I can further diagnose the problem.

    Regards,
    Mark

    Thread Starter Jeffs0n

    (@jeffs0n)

    I am asking right now. They said before the correct path was /usr/bin/ . i am asking again to be sure. When i know more i will let you know.

    Thread Starter Jeffs0n

    (@jeffs0n)

    https://phpinformatie.nl/ This is my servers php information.

    Shell_exec() is turned off due to abusive reasons, they are looking to turn it on for me in exeption.

    Safe-mode is turned off.

    They just said they could not turn on the shell extension due safety reasons because i am hosted on a shared server.
    They are offering me a Virtual private server to solve the problems but i think that is a bit too much too get 1 plugin working isn’t it?
    Is there any other way to get to the right result with your plugin?

    Thread Starter Jeffs0n

    (@jeffs0n)

    then again it is weird that the plugin worked a couple times, for a couple of minutes. I did send a product to the cart with it, and the thumbnail was correctly showing in the tool, and as featured image in the product. When i try later, it not does its thing anymore.. strange.

    Thread Starter Jeffs0n

    (@jeffs0n)

    is this an option?

    Plugin Author Mark_Bailly

    (@mark_bailly)

    It is possible that the suPHP will work, but I have no experience with it.

    Most good hosting companies will allow shell_exec() and exec(). The demo sites for this plugin are on shared servers and they use exec(). When a hosting company says that they don’t allow exec() because of security reason means that they aren’t very good at handling security, so they disable many features.

    Imagemagick is a command line tool so you need to be able to access the command line via exec(), shell_exec, or system().

    Do they have any suggestions for running Imagemagick without having access to the command line?

    Regards,
    Mark

    Plugin Author Mark_Bailly

    (@mark_bailly)

    But it does not make sense that you were able to have it work once. If it worked once that means that the file was uploaded, saved to the temp folder and then imagemagick was used to process the image via the command line using exec.

    Regards,
    Mark

    Thread Starter Jeffs0n

    (@jeffs0n)

    Should the folders underneith temp: like DIY139878521391278, have the 777 permission automatically? Because now it is just 755, and stays 755 when it added a new folder.

    Thread Starter Jeffs0n

    (@jeffs0n)

    Or is there any other folder that has to be 777, think it is in the permissions, otherwise many plugins shouldn’t work properly without an exec option. And when i fooled around with the permissions it worked once or twice, then broke. When i deleted the plugin and installed it back again, it worked once, then broke. With no changes made after it worked, because i was happy it did work. Very strange, i’m going to a developer tomorrow to sort things out, any way, thanks for your help. Your app is very nice and saves a lot of work not having to build something in php/jcrop/jquery etc. Good luck.

    Thread Starter Jeffs0n

    (@jeffs0n)

    this is their suggestion: https://www.php.net/manual/en/book.imagick.php and thereby they say roughly: For Imagemagick you don’t need the shell_exec line.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Red. Reviews’ is closed to new replies.