Search

I’ve upgraded from Symphony 2.0.6 to 2.0.7RC2 and JIT image manipulation has stopped working, though it worked before.

However, I know it should work in 2.0.7RC2 because I have other sites running this version that have no problems.

I have no idea what’s causing the problem. The XSLT generates what should be the proper URL but nothing shows up.

Here’s the .htaccess rule:

### IMAGE RULES 
RewriteRule ^image/(.+.(jpg|gif|jpeg|png|bmp))$ //extensions/jit_image_manipulation/lib/image.php?param=$1 [L,NC]

Here’s the XSLT:

<img class="main-image" src="{$root}/image/2/264/144/5/uploads/{pictures/item/file/filename}" width="264" height="144" alt="{pictures/item/title}" />

This isn’t the full XSLT but this is the bit that pertains to each image. What’s annoying is it generates the correct URL:

http://www.goodbuytimeshare.com/image/2/264/144/5/uploads/full_01.jpg

However, this does not work. But if I were to replace image/2/264/144/5 with workspace the image shows up just like it should.

I tried updating the JIT plugin to the latest GitHub build but that didn’t seem to fix it.

UPDATE:

I deleted the latest log in Symphony’s Manifest folder and refreshed the page. I refreshed it a second time just to verify and the end result is I was getting this error in the main log:

============================================
Log Created: 2010-02-19T00:06:03-08:00
============================================
Symphony Log
Version: 2.0.7RC2
--------------------------------------------
2010/02/19 03:06:25 > WARNING: 2 - array_intersect() [<a href='function.array-intersect'>function.array-intersect</a>]: Argument #2 is not an array in file /home/gbt_ftp_admin/goodbuytimeshare.com/symphony/lib/toolkit/class.frontendpage.php on line 427
2010/02/19 03:07:35 > WARNING: 2 - array_intersect() [<a href='function.array-intersect'>function.array-intersect</a>]: Argument #2 is not an array in file /home/gbt_ftp_admin/goodbuytimeshare.com/symphony/lib/toolkit/class.frontendpage.php on line 427

I do not know if this is connected, it may not be, but I figure it can’t hurt.

Did you update to the latest version of the extension?

http://getsymphony.com/discuss/thread/32795/

I have just tried updating a website - same issue, JIT (latest version form GitHub) does not work. The first thing I noticed was that many extensions are disabled after the upgrade, even some that have not been changed! But even after enabling JIT, it refuses to work.

The error is “500 - internal server error”.

Seems like the latest changes have not been pulled into the main repository yet:

http://github.com/bpierre/jit_image_manipulation/commit/cf09d966bb202bf3cb3e1fde83d5f52fb788394a

It does indeed work with this commit! And it won’t do anything without it.

Worked for me as well. Thanks guys, you rock!

Thanks for pointing out the fix, Nils. I’d been stuck on this issue as well, thinking there was just something wrong with my localhost. It’s working now.

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