wrong linked smarty

Bug #269079 reported by Pavel Mlčoch
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gallery2 (Ubuntu)
Fix Released
Medium
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

Revision history for this message
croxis (croxis) wrote :

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

Revision history for this message
Pekka Tiittanen (pekka-tiittanen) wrote :

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

Revision history for this message
rcarter (r-launchpad-net-x-ploited-net) wrote :

Ditto

Revision history for this message
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?

Revision history for this message
chenel (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.

Revision history for this message
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)
Changed in gallery2:
status: New → Confirmed
Revision history for this message
giboulet (gvuidel) wrote :

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

Revision history for this message
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)

Revision history for this message
Dan Lenski (lenski) wrote :

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

Revision history for this message
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.

Revision history for this message
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
Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

Iulian,

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

Cheers
Charlie

Revision history for this message
Iulian Udrea (iulian) wrote :

I have just uploaded it.

Thank you.

Changed in gallery2:
assignee: nobody → iulian
status: Confirmed → Fix Committed
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.