Search

Hi guys,

I'm trying to use JIT to crop an image, but it just returns error 500. I've tried in 'old way' and using recipe but neither works:

http://formulawinners.local/image/thumb-home/uploads/foto-51008400a25e2.jpg

http://formulawinners.local/image/2/129/96/5/uploads/foto-51008400a25e2.jpg

Rewrite engine seems to be working fine, any other page are disfunctional and http://formulawinners.local/image/uploads/foto-51008400a25e2.jpg works.

Does anyone knows how to solve it? Thanks in advance!

Which version of Symphony and JIT?

Regardless, the /extensions/jit_image_manipulation/lib/image.php file has a line at the top @ini_set('display_errors', 'off'); which suppresses the error message. If you comment this out you should get some more information to help debug the situation.

Is there anything in your log file?

I have been struggling with the same issue today. I changed the @iniset('displayerrors', 'off'); to on, but nothing changed. The problem is gone now, but i'm not sure what caused it to appear, and not sure what caused it to go away again :S

This might not be the case here, but...

I used to get 500 errors from JIT quite often when it was trying to scale images above a certain size. JIT image operations are quite memory intensive. I set my php memory_limit to 256M and haven't had one since.

Once you've fixed that you can watch it happen in real time by watching the memory resources for httpd - assuming you're using mod php - climb when you request a JIT modified image, it's quite spectacular :) And you can probably reproduce the error by trying to scale an even larger image. A 128mb limit, for example, should bawk at an image of around 8mb?

I thought something like that may be the issue, but the problem was on all images on separate pages. I will try to reproduce this issue when I have a little more time.

@brendo Symphony: 2.3.1 // JIT: 1.16 I've tried to remove that line before posting here, but still gets error 500. Log files are empty too.

@se incresing memorylimit didn't solve it

Any others ideas to find out what's going on?

Thanks!

Just solved it! The server I'm using was poorly set up, PHP GD wasn't installed!

Thanks a lot!

A more-subtle-than-usual piece of spamming above.

Got it, thanks Petertron :)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details