Forums / Setup & design / image problem:system() disabled for security reasons!

image problem:system() disabled for security reasons!

Author Message

Selmah Maxim

Thursday 09 February 2006 5:49:56 am

Hi ...

No image showing up in the site ... and i get this strange errors :


Undefined variable:  returnCode in /var/www/html/ez/lib/ezimage/classes/ezimageshellhandler.php on line 124

system() has been disabled for security reasons in /var/www/html/ez/lib/ezimage/classes/ezimageshellhandler.php on line 124

Undefined variable:  returnCode in /var/www/html/ez/lib/ezimage/classes/ezimageshellhandler.php on line 126

Unknown destination file: var/automobile/storage/images/automobile/bmw/445-16-eng-GB/bmw_reference.gif

Failed converting var/automobile/storage/images/automobile/bmw/445-16-eng-GB/bmw.gif to alias original in directory var/automobile/storage/images/automobile/bmw/445-16-eng-GB

Failed creating the referenced alias reference, cannot create alias large

Any idea ... this last step ...

Thanks in advanced.

Łukasz Serwatka

Thursday 09 February 2006 6:28:38 am

Selmah, you have this error because function system() is disabled when php works in safe_mode. Disable safe_mode for eZ publish root directory.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Selmah Maxim

Thursday 09 February 2006 2:47:55 pm

Sorry ... but how can I do that on vps ... the safe mode is off now.

Thanks in advanced.

Selmah Maxim

Friday 10 February 2006 2:45:32 am

Lukasz ...

Din`t understand you yet ... ezp need safe mode to be disabled ... and its off whole vps ... help me out of this .. please !

Łukasz Serwatka

Friday 10 February 2006 2:54:44 am

Then it looks that your hosting provider does not allow to use it. You should contact their support in this case, and they will help you solve the problem.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog