RH 8.0
PHP 4.2.2
I was able to succesfully upload data to my albums folder (/home/albums). However, when trying to view the images, all I get are broken images. I've ftp to this folder and can see the images listed, and I've downloaded the images to my Win machine and they appear fine.
Does the albums directory have to be in the /var/www/html/gallery/ directory?
Any ideas?
TIA
Patrick
Posts: 3473
Nope... the albums directory can be anywhere, *provided* it's somewhere within your webspace (Apache can't open files outside of the webspace).
Usually people have this problem because they've mistyped the "Albums URL" in Step 2 of the Configuration wizard... make sure your "http://" URL jives with the path you've specified.
-Beckett (beck@beckettmw.com)
Posts: 17
I had this problem, make sure you give netpbm executable permissions on your server. Without it, netpbm won't be able to construct anything. Anyone know what the perms should be? I have mine at 777.
Pierre
Posts: 3473
777 is not secure, because anyone on your server could modify the files. For binaries like NetPBM, use 755.
Posts: 5
i'm on win2k, apache 2.0.43, gallery 1.3.1, php 4.3.0. I sit right next to the web server.
i have sort of the same problem: but i can see a couple of the thumbnails, just no sized or full images...
the /albums and /gallery reside under the document root. i haven't modified any of the directory settings (<Directory...>) since it falls under the root. i can see all of the gallery images (jpg's) when uploading and when in the gallery.
all seems to work well, i just can't see most of my images that i've uploaded, but they are in the folder???
is there something else I'm missing?
Posts: 7985
Hard to tell. Post your Gallery URL and we'll take a look.
Posts: 5
gladly:
http://www.deld.net/gallery/index.php
Posts: 3473
Yuck! :eek:
Can you:
a) turn on debug mode (in Config. Wizard step 2)?
b) create a user for us so we can try uploading ourselves?
This is either a browser issue or your NetPBM binaries are hosed. I'm guessing it's a browser issue, but it would be nice to be sure. In the mean time, can you try from another computer?
-Beckett (beck@beckettmw.com)
Posts: 5
a) it's in debug mode
b) beckett - beckettmw
thx for the help...
Posts: 3473
Hmm okay. So it's either your NetPBM programs or it's Apache2.
1. Try reinstalling the NetPBM binaries. Also fix the double backslash "\" in your paths:
In the Config Wizard "\"... make sure your paths don't have a trailing slash.
(if anything, it looks nicer :smile: ).
2. If you're still having problems, then it's, sad to say, either Apache2, PHP 4.3.0, or the combination of the two. Downgrading to 1.3.x and 4.2.3 would then be advised (though not what you want to hear!).
Posts: 5
i appreciate your assistance: i'll redo the NetPBM program and check the slashes... if there is no luck: i'll downgrade... :cry:
thx again!
Posts: 5
did and done! i downgraded and everything went as smooth as the testimonials i've been reading about...
note to anyone who tries to use my config: GOOD LUCK!
and a shout-out goes to mr. beckett... thx for the tip and saving me some aggravation & from wasting my time! :razz: