wrong linked smarty

Bug #269079 reported by Pavel Mlčoch on 2008-09-11
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gallery2 (Ubuntu)
Iulian Udrea

Bug Description

Binary package hint: gallery2

When I upgrade gallery2 to intrepid I see only white page on /gallery/main.php
On /gallery/upgrade/ wizard I see missing smart files.
In source file debian/rules is wrong ln which create link to /usr/share/php/smarty/lib but smarty library is located in /usr/share/php/smarty
After repair this link, gallery works fine.

Related branches

croxis (croxis) wrote :

I also had the same bug as well when I upgrade ubuntu-server from hardy to intrepid

Same issue with me. Correcting that link everything works just fine.


Kirk Bridger (kbridger) wrote :

I've run across this problem (I believe) but am not clear what the solution is mentioned above. Where do I change this link?

Jeremy Wolcott (jeremy-wolcott) wrote :

Change the symlink 'smarty' in /usr/share/gallery2/lib to point to /usr/share/php/smarty instead of /usr/share/php/smarty/libs.

+1 for me. changing the symlink fixes it.

Kirk Bridger (kbridger) wrote :

Excellent, thank you. That removed all but 4 of my missing file warnings (20 adodb and 2 smarty related). However the gallery now works.

Pavel Mlčoch (pavkamlc) on 2008-11-01
Changed in gallery2:
status: New → Confirmed
giboulet (gvuidel) wrote :

Apache return error code 500. After changing the symlink all works fine !

Dan Lenski (lenski) wrote :

+1, this bit me too. RRRGGGHGH. Just fix the symlink already :-)

(By the way, the 4 files still missing after upgrade are only license/copyright info files and not needed for proper functioning of Gallery2)

Dan Lenski (lenski) wrote :

Here is a trivial patch to the gallery2-2.2.6 source package which fixes the bug. Please apply :-)

Charlie_Smotherman (cjsmo) wrote :

I have created a proper debdiff for MOTU sponsorship, using the patch provided by Dan Lenski (thanks Dan). Not sure if this is a SRU candidate for Intrepid, but just for the record without this patch the software does not install correctly and is unusable. Would a kind MOTU please comment on this. Subscribing Ubuntu Universe Sponsors for upload.

Iulian Udrea (iulian) wrote :

Thank you for your patch.

Charlie, what did you put yourself as the Maintainer? The Maintainer should be "Ubuntu MOTU Developers <email address hidden>". Please also add: "XSBC-Original-Maintainer: Michael C. Schultheiss <email address hidden>

Don't mention in debian/changelog that you modified both debian/control and debian/changelog. You will obviously modify the changelog file.

The version number is also incorrect, it should be: 2.3-1ubuntu1 not 2.3-0ubuntu2. Adding -0ubuntu2 means that the package does not exist in Debian and the Ubuntu revision number is 2. Anyway, we should start counting from 1 not from 2.

Changed in gallery2:
importance: Undecided → Medium
Charlie_Smotherman (cjsmo) wrote :


Thank you for looking at this

1) my bad, miss interpreted policy, it is now fixed.

2) I have had MOTU's in the past complain about not providing enough information in the changelog, just covering all the bases, it has been removed.

3) Oversight on my part, thank you for explaining it. (the sarcasm is not needed, I know how to count)

attaching new diff


Iulian Udrea (iulian) wrote :

I have just uploaded it.

Thank you.

Changed in gallery2:
assignee: nobody → iulian
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery2 - 2.3-1ubuntu1

gallery2 (2.3-1ubuntu1) jaunty; urgency=low

  * The symbolic link for /usr/share/gallery2/lib/smarty is not created
    correctly in debian/postinst. Applied patch supplied by Dan Lenski that
    creates the smarty symbolic link correctly. (LP: #269079).

 -- Charlie Smotherman <email address hidden> Thu, 5 Feb 2008 11:01:59 +0500

Changed in gallery2:
status: Fix Committed → Fix Released
Dan Lenski (lenski) wrote :

Any chance of fixing this in Intrepid as well???

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments