Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: René on September 16, 2002, 12:38:55 AM
-
Hello toghether
I had the same problem as described many times in this forum. But unfortunately are the problem never solved.
The installation process I made without any problems. I could setup a new album and add new pictures. Unfortunately the pictures are not shown. At each place a picture shoud be I get the symbol with a red "X".
I've set up Gallery 1.3.1 on two different systems, on both systems I get the same.
For the installation process I followed the instructions from the howto section at www.familybrown.org.
For the first server
http://www.familybrown.org/howtos/gallery-howto.html
SME 5.1.2 Update2
PHP 4.0.6
For the second server
http://www.familybrown.org/howtos/gallery-howto-sme55.html
SME 5.5 Update1
PHP 4.1.2
Has anyone an idea why the Gallery shows me only the placeholder for the pictures.
For any information thanks in advance
Kind regards
René
-
Rene,
FWIW, it could be because Gallery uses your site name as a pointer to the pictures. If you do not have a valid Domain Name (as many home users don't), it can't find the pictures. Works OK from internally, but won't from outside (unless you have your 'internal' name in your local hosts file).
You may be able to use your external IP address, but I haven't played with it to check (my SME box is currently off-line after a stupid user error whilst installing a secondary backup drive....).
Trevor B
René wrote:
>
> Hello toghether
>
> I had the same problem as described many times in this forum.
> But unfortunately are the problem never solved.
>
> The installation process I made without any problems. I could
> setup a new album and add new pictures. Unfortunately the
> pictures are not shown. At each place a picture shoud be I
> get the symbol with a red "X".
>
> I've set up Gallery 1.3.1 on two different systems, on both
> systems I get the same.
> For the installation process I followed the instructions from
> the howto section at www.familybrown.org.
>
> For the first server
> http://www.familybrown.org/howtos/gallery-howto.html
> SME 5.1.2 Update2
> PHP 4.0.6
>
> For the second server
> http://www.familybrown.org/howtos/gallery-howto-sme55.html
> SME 5.5 Update1
> PHP 4.1.2
>
> Has anyone an idea why the Gallery shows me only the
> placeholder for the pictures.
>
> For any information thanks in advance
>
> Kind regards
> René
-
I followed Dan Brown's Howto for Gallery 1.3.1 and had the same problem you are having. After some research on the Gallery site, the authors stated a RED X placeholder was 99% of the time a path problem. I edited "config.php" with pico in the /opt/gallery dir and looked at the path statements for "$gallery->app->photoAlbumURL" AND "$gallery->app->photoDIRURL". $gallery->app->photoAlbumURL was the problem. IT SHOULD READ $gallery->app->photoAlbumURL= "http://www.yourdomain.com/gallery"; If I remember correctly the"/gallery" was missing. CHECK $gallery->app->AlbumDirURL, it should read $gallery->app->AlbumDirURL=http://www.yourdomain.com/gallery/albums";
Hope it helps
Bill
BTW Thank you Dan for the Gallery Howto
-
Double check your version of netpbm and netpbm-progs, I'm sure this is where your problem lies.
-
Hi Trevor, Bill, Lloyd
many thanks for your informations
Now I have checked the configuration and get the following results.
Trevor
I had installed the server with a valid domain name and the primary site is working without any problems.
Bill
I had checked the file "/opt/galler/config.php" but the path-informations are correct. Also the /gallery is there
Lloyd
The installed netpbm versions are like the information bellow
[root@mm-sme01 gallery]# rpm -qa | grep netpbm
netpbm-progs-9.9-5
netpbm-9.9-5
[root@mm-sme01 gallery]#
I think the versions are the same as described in Dan Brown's HowTo.
P.S. Thanks Dan for the Gallery HowTo
Has anyone an idea what could be wrong.
Thanks in advance
René
-
Rene,
I had exactly the same same problem and it took me nearly a whole weekend to work it out. When I followed the SME 5.5 howoto I done a quick rpm -q netpbm and thought great I already have that installed, so I didn't DL both those programs. I wasn't until I re-installed and followed the howto EXACTLY including DL'ing all 3 rpm's that it worked. There is also some info on the Gallery homepage about the netpbm libraries, the ones installed stock with SME 5.5, DONT WORK with Gallery 1.3.1.
-
Lloyd,
thanks for your time.
I have still the same problem. I deleted the rpm with
rpm -e netpbm-9.9-5 and
rpm -e netpbm-progs-9.9-5
I installed then after a newly download the same rpms netpbm-9.9-5.i386.rpm and netpbm-progs-9.9-5.i386.rpm, no success. An other time rpm -e netpbm-*
Then I tried with other rpms netpbm-9.14-2.i386.rpm and netpbm-progs-9.14-2.i386.rpm but still the same problem.
What do you mean with "followed the howto EXACTLY including DL'ing all 3 rpm's that it worked."
What do you mean with EXACTLY, something special?
Is DL'ing deleting?
3 rpm's? Why 3 (netpbm and netpbm-progs) and ...??
In stock SME 5.5 I could not find any netpbm rpm's installed.
Thanks for further information
René
-
DL is download, and the 3 RPMs mentioned are netpbm, netpbm-progs, and libtiff.
If you're getting the red X, there's obviously an error somewhere; try taking a look in /var/log/httpd/error_log and see if anything looks suspicious.
-
Hi Dan
Yes, I get it. Many thanks for your hint. In the errorlog I found the problem. It was a path problem.
Thanks to all for your time and your tipps
Now it works all.
René
-
Bill is 100% right,
"gallery" was also missing in my setup as well.
$gallery->app->AlbumDirURL=http://www.yourdomain.com/gallery/albums";
Added it to the config fill and all is work fine.
Thanks Bill.