new installation does not show photos or thumbnails

ElQuinde

Joined: 2008-03-08
Posts: 7
Posted: Sun, 2008-03-09 04:20

Hi,

I just completed a Gallery2 install on Site5, using their Fantastico. Below is current System info. I set my /g2data/ folder outside my /public_htm/ folder, and gave it 777 permission. I can create albums and upload images, but no thumbnail is displayed, and the image is not displayed. I imagine a path problem, but am new to these types of installs (lots of html experience, none with sql and php).

My URL is www.ceiba.org/gallery/

Can you please advise on how to repair the problem? Also, during the installation process, I was informed that some modules needed further configuration, supposedly via the Site Admin page; however, I don't see any links that let me manage modules.

Thanks in advance,

ElQuinde

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.6 cgi
Webserver = Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysqlt 4.1.22-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux apollo.site5.com 2.6.9-67.0.1.ELsmp #1 SMP Wed Dec 19 16:01:12 EST 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Rows in GalleryAccessMap table = 9
Rows in GalleryAccessSubscriberMap table = 4
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2008-03-09 10:11

must be some server problem since the images show fine if you browse to them directly.

e.g. http://www.ceiba.org/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=20&g2_serialNumber=1 works fine.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ElQuinde

Joined: 2008-03-08
Posts: 7
Posted: Sun, 2008-03-09 14:12

When I clicked through your link, I don't see an image, but rather a server message:

Forbidden
You don't have permission to access /gallery/main.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.ceiba.org Port 80

Can you provide a little more assistance on resolving the problem, or suggest other sources? I also am posting a similar comment to the Site5 (domain host) forums.

Thanks!

 
ElQuinde

Joined: 2008-03-08
Posts: 7
Posted: Sun, 2008-03-09 14:15

Valiant,

Further information: I normally use Firefox (2.0.0.9), but just tried the gallery with Explorer (7.0.5730.11), and found that I am able to view the actual image, but still cannot see the thumbnail (replaced by a white box with red x). Is Gallery configured to work only with Explorer? Does this suggest any solutions?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2008-03-09 15:02

> Is Gallery configured to work only with Explorer?

gallery 2 works with any major browser (firefox, internet explorer, opera, safari, ...) and all browser versions from the last years.

it's a problem with your server.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ElQuinde

Joined: 2008-03-08
Posts: 7
Posted: Sun, 2008-03-09 15:40

Valiant,

Ok, the problem was that URL Rewrite didn't installed via Fantastico, and I had not yet configured and activated it. Thanks for your help along the way, and yes, I am very new to this, so apologies for stupid questions.

That said, what the heck is URL Rewrite, and what does it do? Why was it the missing link?

Next I'll be trying to integrate G2 with WordPress, so I may return with more queries.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2008-03-09 16:28

URL rewrite generates nice, short URLs. without URL rewrite all your URLs are pretty long and a bit cryptic.

URL rewrite isn't required. all images should show up fine even without url rewrite.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
fiendish

Joined: 2008-06-26
Posts: 3
Posted: Thu, 2008-06-26 17:08

I had the same problem,
and the same solution
using URL rewrite it now works fine

 
shirleyd

Joined: 2009-08-17
Posts: 2
Posted: Mon, 2009-08-17 22:50

Hi,
I'm VERY much an amateur and am just trying to install Gallery on our website to show some albums and sub-albums. I'm really ignorant about all these computer terms, sorry! So far, of only about 15 images I've uploaded, some show as photos, others don't show up at all - just the gallery icon (torn picture logo). Also in my Gallery page, only this same icon shows instead of any photos. I read the above posts and have fixed the URL rewrite (as that was also a problem for me). It sems my problem is with ImageMagick - see the test results below. I really don't know what this means. We use a web-server which showed Gallery as an option in their easy apps collection so I uploaded Gallery automatically there. Any help would be appreciated!! Please keep it simple!!
Thanks,
Shirley D

ImageMagick binary test results
Binary Name Pass/Fail
identify Failed
Error messages:
Problem executing binary:
File does not exist
identify Failed
Error messages:
Problem executing binary:
File does not exist
convert Failed
Error messages:
Problem executing binary:
File does not exist
composite Failed
Error messages:
Problem executing binary:
Debug output (4 failed tests) -
We gathered this debug output while testing your ImageMagick binaries. If you read through this carefully you may discover the reason why your ImageMagick binaries failed the tests.
is_dir(/usr/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/identify)
file_exists(/usr/bin/gm)
tempnam(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/, imgk_)
file_exists(/usr/bin/convert)
unlink(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/imgk_JAjEr8)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/combine)
file_exists(/usr/bin/composite)
file_exists(/usr/bin/gm)
tempnam(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/, imgk_)
getParameter exec.beNice for core plugin
Executing: ( "/usr/bin/composite" "-geometry" "+0+0"
"/hsphere/local/home/imofinc/imofinc.org/gallery/modules/imagemagick/data/test.jpg"
"/hsphere/local/home/imofinc/imofinc.org/gallery/modules/imagemagick/data/test.gif"
"/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/imgk_HyoI2q" )
2>"/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/g2dbgvdWODJ"
getParameter exec.expectedStatus for core plugin
file_exists(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/g2dbgvdWODJ)
filesize(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/g2dbgvdWODJ)
unlink(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/g2dbgvdWODJ)
Regular Output:
Error Output:
Status: (expected 0)
unlink(/hsphere/local/home/imofinc/imofinc.org/gallery/g2data/tmp/imgk_HyoI2q)
chdir(/hsphere/local/home/imofinc/imofinc.org/gallery)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-08-18 13:55

Either imagemagick isn't installed on your server, or there are restrictions on your server.

Please post your system information AND an link to phpinfo, this explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
shirleyd

Joined: 2009-08-17
Posts: 2
Posted: Tue, 2009-08-18 14:04

Thanks. I've been in touch with my server and I think we've got it figured out now. I really appreciate everyone's help!!