Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Closed Thread
 
Thread Tools
  #1  
Old 09-24-2003, 10:41 PM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

Hello,

I would like to share photos on my website, and have tried to install a Gallery (http://gallery.menalto.com/). However, I am having problems after configuring it, the program has conflicts. I have set ImageMagick as /usr/bin/X11/ but the program still has trouble resizing the images.

Is there anything I should know about?

Thanks,
Donald

http://www.sinthetiq.com
  #2  
Old 09-25-2003, 09:34 AM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

I checked out your site.... Are you trying to add the gallery to your forum? Because the gallery is a PHP based gallery and so you can't add it to your main site, since it appears to be coded in pure HTML. I'm just asking to make sure since I didn't see a link anywhere to the gallery.

Are there any particular error messages you're getting? Or is it simply not resizing pics into a thumbnail? I'll check out the menalto site some more to see if they have any info about this, but some more information here would really help as well.
  #3  
Old 09-25-2003, 09:37 AM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

From their FAQ:

http://gallery.menalto.com/modules.p...tall.faq.b.php

B.2. Does Gallery work under Windows?

Many people have gotten Gallery to work under Windows using Apache. However, Gallery does not interact well with IIS, because PHP still has some issues with executing programs like NetPBM and ImageMagick.
  #4  
Old 09-25-2003, 09:39 AM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Not sure if this is your problem or not, but you might find some valuable info here:

http://gallery.menalto.com/modules.p...tall.faq.c.php




C.2. I've installed Gallery and all seems well. But when I try to upload an image it says Unable to make thumbnail(0) or Invalid image. What gives?

This is a very common problem. It's usually because the image manipulation program isn't getting called correctly, and this can happen for a number of reasons. To diagnose the problem, follow these steps:

Verify that the binaries (NetPBM or ImageMagick) are installed correctly and are chmodded 0755 (including the directory they are in).

Put Gallery back into configuration mode (see the tutorials earlier in the manual for details)

Re-run the configuration wizard. On step 2, select the option to put Gallery into debug mode. Finish the configuration wizard and secure Gallery (this is described in the configuration wizard tutorial).

Attempt to upload a picture. There will be a whole lot more debugging messages now, and it will help to diagnose the problem. Possible issues are listed below

If you see any of the following messages, the solutions are listed below

Error in loading shared libraries -- Indicates that your dynamic library loader can't find a library that it needs. On Linux you can add the directory containing the appropriate library to /etc/ld.so.conf and then run ldconfig -v as root to fix this. If you don't have root access to the server, either contact your host for help or download a new version of ImageMagick or NetPBM and use the new install instead.

Abort trap or Segmentation Fault or Cannot execute binary file -- probably means you installed the wrong binaries for your system (e.g. installed the FreeBSD binaries on a Linux system) or you uploaded the binaries in ASCII FTP mode instead of BINARY FTP mode.

Permission Denied -- More than likely, your NetPBM directory or the actual NetPBM binaries are not chmodded 0755. It could also mean that your host has disallowed you from executing programs; if this is the case, you must talk to them in order to get it resolved.

/usr/bin/convert: Not a JPEG file: starts with 0x0a 0x4d (/home/uspalmer/public_html/gallery/AUTHORS). -- This is a bug that has been fixed with the latest version of Gallery, please upgrade.

/usr/local/bin/convert: no delegate for this image format (/home/sites/home/web/albums/album_01/IMGP0215.jpg) -- This means ImageMagick doesn't have the appropriate libraries to handle a type of image format (in this case JPEG). If you have root access, make sure the appropriate image libraries are installed or ask your host to verify this. If not, you can try using NetPBM from the Gallery Download Page, which has all major image formats already included. If you are using FreeBSD and installed ImageMagick from the ports collection, see FAQ C.30.

If you still can't find a solution, try asking in the Gallery Support Forums.
  #5  
Old 09-25-2003, 09:42 AM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Here's how to put your gallery in debug mode, which would be very useful in determining your problem:

http://gallery.menalto.com/modules.p...tall.faq.c.php


C.31. How do I put my Gallery into debug mode?

There are two ways, each pretty much equal in simplicity.

Put your Gallery into configuration mode. On Step 2, there will be an option to turn on debug mode. Make sure this is "on" and complete the wizard.

Edit config.php manually (use the first option if you are not comfortable modifying PHP files yourself). Change this line

$gallery->app->debug = "no";

to

$gallery->app->debug = "yes";
  #6  
Old 09-25-2003, 02:11 PM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

Quote:
Originally Posted by angeleyz
I checked out your site.... Are you trying to add the gallery to your forum? Because the gallery is a PHP based gallery and so you can't add it to your main site, since it appears to be coded in pure HTML. I'm just asking to make sure since I didn't see a link anywhere to the gallery.

Are there any particular error messages you're getting? Or is it simply not resizing pics into a thumbnail? I'll check out the menalto site some more to see if they have any info about this, but some more information here would really help as well.
No, I am not adding the gallery to the forums page. It will be an independent gallery free from the rest of the pages. I have installed this on other servers without problems
  #7  
Old 09-25-2003, 02:12 PM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

Quote:
Originally Posted by angeleyz
From their FAQ:

http://gallery.menalto.com/modules.p...tall.faq.b.php

B.2. Does Gallery work under Windows?

Many people have gotten Gallery to work under Windows using Apache. However, Gallery does not interact well with IIS, because PHP still has some issues with executing programs like NetPBM and ImageMagick.
I thought the server was running *nix? I dont see how windows would be the problem
  #8  
Old 09-25-2003, 02:15 PM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

Quote:
Originally Posted by angeleyz
Not sure if this is your problem or not, but you might find some valuable info here:

http://gallery.menalto.com/modules.p...tall.faq.c.php




C.2. I've installed Gallery and all seems well. But when I try to upload an image it says Unable to make thumbnail(0) or Invalid image. What gives?

This is a very common problem. It's usually because the image manipulation program isn't getting called correctly, and this can happen for a number of reasons. To diagnose the problem, follow these steps:

Verify that the binaries (NetPBM or ImageMagick) are installed correctly and are chmodded 0755 (including the directory they are in).

Put Gallery back into configuration mode (see the tutorials earlier in the manual for details)

Re-run the configuration wizard. On step 2, select the option to put Gallery into debug mode. Finish the configuration wizard and secure Gallery (this is described in the configuration wizard tutorial).

Attempt to upload a picture. There will be a whole lot more debugging messages now, and it will help to diagnose the problem. Possible issues are listed below

If you see any of the following messages, the solutions are listed below

Error in loading shared libraries -- Indicates that your dynamic library loader can't find a library that it needs. On Linux you can add the directory containing the appropriate library to /etc/ld.so.conf and then run ldconfig -v as root to fix this. If you don't have root access to the server, either contact your host for help or download a new version of ImageMagick or NetPBM and use the new install instead.

Abort trap or Segmentation Fault or Cannot execute binary file -- probably means you installed the wrong binaries for your system (e.g. installed the FreeBSD binaries on a Linux system) or you uploaded the binaries in ASCII FTP mode instead of BINARY FTP mode.

Permission Denied -- More than likely, your NetPBM directory or the actual NetPBM binaries are not chmodded 0755. It could also mean that your host has disallowed you from executing programs; if this is the case, you must talk to them in order to get it resolved.

/usr/bin/convert: Not a JPEG file: starts with 0x0a 0x4d (/home/uspalmer/public_html/gallery/AUTHORS). -- This is a bug that has been fixed with the latest version of Gallery, please upgrade.

/usr/local/bin/convert: no delegate for this image format (/home/sites/home/web/albums/album_01/IMGP0215.jpg) -- This means ImageMagick doesn't have the appropriate libraries to handle a type of image format (in this case JPEG). If you have root access, make sure the appropriate image libraries are installed or ask your host to verify this. If not, you can try using NetPBM from the Gallery Download Page, which has all major image formats already included. If you are using FreeBSD and installed ImageMagick from the ports collection, see FAQ C.30.

If you still can't find a solution, try asking in the Gallery Support Forums.
I have tried this. However, I cannot access the imagemagick nor netpbm files - that is why I am asking for support. is there any way I can view/verify the imagemagick/netpbm locations?
  #9  
Old 09-25-2003, 02:16 PM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

Quote:
Originally Posted by angeleyz
Here's how to put your gallery in debug mode, which would be very useful in determining your problem:

http://gallery.menalto.com/modules.p...tall.faq.c.php


C.31. How do I put my Gallery into debug mode?

There are two ways, each pretty much equal in simplicity.

Put your Gallery into configuration mode. On Step 2, there will be an option to turn on debug mode. Make sure this is "on" and complete the wizard.

Edit config.php manually (use the first option if you are not comfortable modifying PHP files yourself). Change this line

$gallery->app->debug = "no";

to

$gallery->app->debug = "yes";
I tried that, and the problem is with imagemagick. I checked with hostgator and the path is the only thing that is listed. I have my path correct on the gallery, however it does not work.

thanks for the help though.
  #10  
Old 09-25-2003, 02:22 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Alrighty Just trying to help -- wasn't sure what the exact problem was though so I wasn't sure what kind of info to look up for you. Good luck and perhaps Brent can help ya out.
  #11  
Old 09-26-2003, 02:11 PM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

Hmm.. Anybody that works for Host Gator that can help?

Thanks
  #12  
Old 09-27-2003, 01:41 PM
GatorBrent's Avatar
GatorBrent GatorBrent is offline
HostGator Staff
 
Join Date: Oct 2002
Location: houston, texas
Posts: 3,006
Default

Sorry we cannot review the coding for you nor install the script. Let angel help you out she is one of the best with this kind of thing.

Many scripts are faulty to begin with, and this could very well be the case with what your using.
__________________
Gators love marshmallows.
  #13  
Old 09-27-2003, 01:52 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

I thought this was an imagemagick thing... not a script problem... :?

He says he's installed it already, but the photos aren't resizing.

However, as Brent said, a lot of times scripts have to be modded individually for each site. Every script/mod we have used we have had to mod oursleves to make it work properly in our site. Perhaps you just need to sit down and look at the code -- perhaps there's an error in the coding somewhere that is keeping it from resizing properly.
  #14  
Old 09-30-2003, 04:59 PM
Babe Babe is offline
Hatchling Croc
 
Join Date: May 2003
Posts: 9
Default

Hello,

I've read the above posts with interest, because I am here right now looking for information. I have installed a photo album for my client and image majick isn't resizing for me either. It won't make the thumbs.
I was wondering if digest MD5 was installed?

Thanks
__________________
Babe

I hope to be the kind of person my dog thinks I am.

"Always do sober what you said you'd do drunk. That will teach you to
keep your mouth shut." Unknown
  #15  
Old 09-30-2003, 05:19 PM
Anonymous Anonymous is offline
Junior Croc
 
Join Date: Oct 2002
Posts: 105
Default

Delete
  #16  
Old 09-30-2003, 08:55 PM
Babe Babe is offline
Hatchling Croc
 
Join Date: May 2003
Posts: 9
Default

Hi Therczone, yes, I tried the path and it didn't work either, in fact, my script said that the path was wrong.

My diagnostics say that MD5 doesn't exist, and that may be the trouble with this particular script.
__________________
Babe

I hope to be the kind of person my dog thinks I am.

"Always do sober what you said you'd do drunk. That will teach you to
keep your mouth shut." Unknown
  #17  
Old 09-30-2003, 09:02 PM
Anonymous Anonymous is offline
Junior Croc
 
Join Date: Oct 2002
Posts: 105
Default

Delete
  #18  
Old 09-30-2003, 09:06 PM
Babe Babe is offline
Hatchling Croc
 
Join Date: May 2003
Posts: 9
Default

Thanks anyway

Another thing... when I upload a photo to the album it creates the "thumb" but doesn't create the smaller image. What I mean is, after I upload the photo and look in the directory, there is a th_image that was created, but it didn't resize. It's the same size as the original photo. Weird huh? LOL.
__________________
Babe

I hope to be the kind of person my dog thinks I am.

"Always do sober what you said you'd do drunk. That will teach you to
keep your mouth shut." Unknown
  #19  
Old 09-30-2003, 09:10 PM
Anonymous Anonymous is offline
Junior Croc
 
Join Date: Oct 2002
Posts: 105
Default

Delete
  #20  
Old 10-01-2003, 12:59 AM
sinthetiq sinthetiq is offline
Hatchling Croc
 
Join Date: Sep 2003
Posts: 26
Default

i wish there was some more help available from the administrators
  #21  
Old 10-01-2003, 03:05 PM
Nicotine Nicotine is offline
Hatchling Croc
 
Join Date: Jun 2003
Posts: 16
Default

Have you tried Coppermine? It was fairly easy to install and easy to upload pics once you have it running.

It seems the only issue I had with it is that I HAD to use imagemagick due to the enormous amount of pictures I was uploading. And I have not had any problems with Imagemagick.
  #22  
Old 10-01-2003, 04:43 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Coppermine is what we use as well We've never had a problem with it -- I highly reccommend it
  #23  
Old 04-27-2004, 01:32 AM
gatoruser
HostGator Guest
 
Posts: n/a
Default

i got this error and went thru FAQ at gallery.menalto.com. and heres what i found. can someone in the inside fix this problem?

Quote:
C.27. Why do I get errors like this: Warning: open_basedir restriction in effect. File is in wrong directory in /home/johndoe/public_html/gallery/platform/fs_unix.php on line 53?

This is caused by a PHP directive called open_basedir. Basically, your host has mis-configured this directive and not added the directory where Gallery is to the allowed directories where PHP can access and modify files. You'll need to contact them and ask them to add the directory where you website files are located.
  #24  
Old 04-27-2004, 07:21 AM
GatorJustin's Avatar
GatorJustin GatorJustin is offline
Banned User
 
Join Date: Apr 2004
Location: Atlanta, GA
Posts: 771
Default

Hello gatoruser-

I do not have access to modify any server configuration files, so if you would please send that same information to support@hostgator.com I am sure they will be able to assist you.


-Justin
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Closed] Vbulleting install question jmichalicek Shared Hosting Support 1 06-09-2004 10:33 AM
Can't get OS-Commerce to install ..... Help Please j3t11ro Pre-Sales Questions 2 05-21-2004 12:49 PM
[Open] Problem with Menalto Gallery Install webmorpheus.com Pre-Sales Questions 4 05-20-2004 11:04 AM
[Closed] need to install campsite tzerpa Shared Hosting Support 1 05-04-2004 10:56 AM
[Closed] gallery now messed up dilligaf Shared Hosting Support 4 05-03-2004 01:08 AM

All times are GMT -5. The time now is 11:12 AM.