Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Jan-Willem on April 11, 2002, 01:39:51 AM

Title: Gallery
Post by: Jan-Willem on April 11, 2002, 01:39:51 AM
Hi,

Somebody knows how to install Gallery 1.2 on a SME 5.1.2 server.

http://www.menalto.com/projects/gallery/modules.php?op=modload&name=News&file=index

Greetings, Jan-Willem.
Title: Re: Gallery
Post by: Dan Brown on April 11, 2002, 02:01:16 AM
Was that a statement or a question?  If the former, I don't see how the URL you posted supports it.  If the latter, yes, I do, and I wrote a HOWTO about it.  It's a little outdated (I'd definitely download the 1.2.5 tarball instead of the 1.1 one I have linked from there), but it should still work.

Yeah, I know I really need to get around to updating it...
Title: Re: Gallery
Post by: Jan-Willem on April 11, 2002, 02:14:23 AM
Hi Dan,

It was a question. I thought the URL would give some usefull information :-(
So, I can use your HOWTO for E-Smith 4.1.2 on my SME 5.1.2 server?

Greetingz, Jan-Willem.
Title: Re: Gallery
Post by: Dan Brown on April 11, 2002, 02:30:44 AM
Yeah, the howto should work in general.  I followed it when my server was running 4.1.2, and it's stayed working through the upgrade to 5.0 and then to 5.1.2, FWIW...
Title: Re: Gallery
Post by: Jan-Willem on April 11, 2002, 02:34:27 AM
Thankz Dan.

JW

Dan Brown wrote:
>
> Yeah, the howto should work in general.  I followed it when
> my server was running 4.1.2, and it's stayed working through
> the upgrade to 5.0 and then to 5.1.2, FWIW...
Title: Re: Gallery
Post by: Terry Brummell on April 11, 2002, 02:59:57 AM
I followed Dan's HowTo using 5.1.2, it works great!
Title: Re: Gallery
Post by: Dan Brown on April 11, 2002, 07:48:04 AM
I've updated my HOWTO to specifically address 5.1.2.
Title: Re: Gallery
Post by: Allen on April 11, 2002, 08:22:20 AM
I tried installing gallery following Dan's Howto but was unable to make it work properly :(   I am able to create albums and upload pictures.  However, the pictures are not being displayed correctly.  Instead of seeing the pictures, I get a blank box with the broken link symbol.

Any idea's??

I'm using SME 5.1.2 w/update1 - IMP3.0 Upgrade - Gallery 1.2.5
Title: Re: Gallery
Post by: Julian Luton on April 11, 2002, 08:34:14 PM
hi guys
not strictly on topic but anyway ...
I'm a big fan of Gallery and I'm currently looking into modifying it a liitle.

I'd like to add the ability to upload a few extra file types - .doc .xls .pdf .mp3 etc...

This is really quite easy to do but what's a little trickier for a php novice like me is to make the script display a different icon depending upon the file type. I know that the work for this is allmost done as you get a movie camera thumbnail for .mov .mpg etc..

I run a small IT company so if anyone fancys doing this in exchange for a bit of hardware or whatever do get in touch.

All the best,
Julian
Title: Re: Gallery
Post by: frits on April 12, 2002, 12:29:48 AM
Great work all works fine, great Howto, Only one little problem

If login to upload a jpg or gif or an mpg; this happen--->
Processing status...
No images uploaded!

same if i use the zip or ftp ???
Title: Re: Gallery
Post by: Boris on April 12, 2002, 01:25:30 AM
Disabled PHP upload  (as a temporary fix as recomended by Mitel) or disabled cookies in your browser?
Title: Re: Gallery
Post by: Dan Brown on April 12, 2002, 05:52:35 AM
Allen, I really don't have any idea; it works fine for me.  Maybe a post to the gallery-users list would help.
Title: Problem Solved
Post by: Allen Miller on April 12, 2002, 01:07:03 PM
Thanks everyone for your help.  I took Dan’s advice and headed over to the Gallery site and searched their archive’s.  They have a ton of useful information.  If anyone every has a problem with gallery, I would suggest checking out their achieves.  In my case it turned out that the setup file was improperly configured.  The following is an taken from the gallery mailing list.

----------------------------------------------------------------------------
> The problem I have is, thumbnails and other photos are not
> displayed after they are uploaded.

From your debug data I can see that Gallery is processing
your images correctly.  My guess is that you're seeing
the broken image icon in your web browser.  

This is asked often enough that I'm amazed that it wasn't
in the FAQ.  (it is now, FAQ 4.25).  

Q: I can successfully upload photos, but when I look in my
   album all I see are broken image icons. Why?

A: You've specified an incorrect path to your albums directory
   in the config wizard. You can fix this by re-running the
   config wizard and correcting the Albums URL value or you can
   edit the config.php file and fix the
   $gallery->app->albumDirURL variable.


[ debug output snipped ]

>
> /usr/bin/jhead /tmp/topy1.jpg
>
> Results:
> none
>
> Error messages:
>
>
> Status: 139 (expected 0)IN UTIL ITEMCAPTUREDATE = 2001
>

I also noticed that you're getting this error with jhead.
I believe this is because you're running the wrong version
of jhead for your platform.  Try running "/usr/bin/jhead"
from a shell prompt and see if it works for you.  If not,
replace jhead and try again.  
-----------------------------------------------------------------------------------
Title: Re: Gallery help!
Post by: Sidney on April 15, 2002, 08:55:14 PM
Hello,

I am trying to install gallery but I get an error.

could someone help :)

Thanks

The error I get is.
syntax error on line 2772 of /etc/httpd/conf/httpd.conf
Addtype Requires at least two argument, a mime type followes by on or more file extensions.

Is this because I named the jhead.html to jhead ?
or do I have a type-O?

Now my web site is down!

This is the 93gallery file
#-----------------------------------------------
# Gallery 1.2
#-----------------------------------------------


Alias     /gallery     /opt/gallery

  AddType application/x-httpd-php.php.php3.phtml
  Options Indexes +Includes FollowSymLinks
  AllowOverride Options FileInfo
  order deny,allow
  allow from all


#-----------------------------------------------
Title: Re: Gallery help!
Post by: Dan Brown on April 15, 2002, 08:58:24 PM
>  AddType application/x-httpd-php.php.php3.phtml

    There's your problem.  There were spaces in the HOWTO for a reason.