I've searched the Mailing List & FAQ as much as I can. I've checked the permissions as much as possible (I only have FTP access), but still can't figure it out.
I can view the gallery just fine, but can't upload images.
I put the gallery in debug mode and it returned the following:
Quote:
Processing status...
- Adding redneckpacifier.jpg
Executing:
/usr/bin/jpegtopnm /home/virtual/site150/fst/var/www/html/galleries/albums/weird/aak.jpg | /usr/bin/pnmfile --allimages
Results:
stdin: Image 0: PPM raw, 740 by 860 maxval 255
Error messages:
jpegtopnm: WRITING PPM FILE
Status: 0 (expected 127)
Error: Invalid image: aak.jpg!
Need help? Look in the Gallery FAQ
I've had it running on 3 other servers (2 at my current host) so this isn't my first attempt. It was however just moved to a new server. They just turned Safe Mode off which got me a little further, but still to no avail.
I re-downloaded the netpbm binaries (I got the redhat ones) and uploaded them but that didn't change the error message. Here's some additional info:
Quote:
PHP Version 4.1.1
Linux dhrystone3.ensim.com 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown
My site is at <!-- BBCode Start --><A HREF="http://www.themintonfamily.com/galleries" TARGET="_blank">Gallery Link</A><!-- BBCode End -->
Let me know if there is anything else you need to help me out.
Thanks in advance,
Bill
Posts: 120
Greetings Bill,
I've visited your website and found some dead link when I visited one of your album. To correct this, SSH to your host.
Go to your gallery path ... /var/www/albums
chmod -R 777 *
this will correct invalid links and might resolve the other issue too.
Posts: 19
Thanks for the reply!
With FTP access, all I can do is highlight all the folders under the album folder and chmod them. They are all currently set to 777 so is that all I can do?
Posts: 19
BTW, could you post the dead link so I could check it out? I haven't found any as of yet.
Thanks again.
Posts: 7994
This is FAQ C.19, pretty much verbatim.
Posts: 19
That did it, thank you. Sorry for the trouble.
Bill
Posts: 19
That FAQ is not working for me and rather than start another topic of the same subject, I thought I would just post here. I am having the same problem uploading images or even trying to get them from URL. Here is my Debug mode message when uploading files.
Processing status...
- Adding reverie.jpg
Executing:
/www/f/fastacs/htdocs/test/netpbm/jpegtopnm /www/f/fastacs/htdocs/test/albums/phpBBtoNuke-Themes/reverie.jpg | /www/f/fastacs/htdocs/test/netpbm/pnmfile --allimages
Results:
none
Error messages:
Abort trap
Abort trap
Status: 134 (expected 0)
Error: Invalid image: reverie.jpg!
I've tried on page 2 of the config wizard, where it says "(advanced) Expected status", changing the value there from -1 (or 127) to 0., to no avail. I even tried 134 since that is what it is specifying for some reason. I even tried every number from -1 to 89, but got tired :sad:
I still cannot upload images.
http://www.fastacs.com/test/
mikem
Posts: 7994
Mike, your problem is unrelated to BillyMinton's. In his case, the binaries were working properly but he had a bogus expected return code. In your case, the binaries are not working properly.
You should read FAQ C.2 (or do a site-wide search for "abort trap") to learn how to fix your problem.
Posts: 19
Thank you for your speedy reply. You were right, I apparently am using the wrong ntpbm files for my OS. Forgive me for not reading the FAQ more closely.
However, I do still have a problem and it may be a stupidity factor on my part. I checked my site's OS and here it is.
The site http://www.mbdc.net <http://www.mbdc.net> is running Apache/1.3.26 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.9 OpenSSL/0.9.6g on unknown.
Now, I d/l'd and installed the netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz version and it didn't work. I wonder which other one I should try?
netpbm1.1-gallery1.0-macosx10.1-ppc.tgz
netpbm1.1-gallery1.0-solaris2.8-intel.tgz
netpbm1.1-gallery1.0-solaris2.8-sparc.tgz
netpbm1.1-gallery1.0-win32.tgz
I'm soo confused. :roll:
mikem
Posts: 487
Hmm, well, using nmap, it reports your webhost as using
FreeBSD as it's best guess. Not sure how portable linux binaries
are to a *bsd flavour as I've never tried it.
If you have shell access, try running the command 'uname -a' to find
out for sure, or ask the sysadmin. Perhaps they will even be kind enough
to compile or install appropriate binaries for you.
Posts: 756
As Netcraft obviously cannot tell you what OS your server is running, ask your ISP / hoster yourself. They should know it. And then decide which NetPBM distribution is OK for you.
Posts: 19
Well, I am baffeled.
I got fed-up last night and this morning..but all is well... :roll:
I found out my server is running FreeBSD, so I uploaded the binaries for that OS. I got a little further, I could upload images, but they were not showing up, just blank. I finally re-did EVERYTHING this morning. Re-uplaoded all files, and basically started from scratch and lo-behold, it is all working. I think in the process of not getting it right the first time, I may have taken an unknown step in trying to correct the problem, which I must have somehow implemented the second time I did the install.
If I figure out where I made my error, I will be sure to post the solution back here....
Thank you for all your help!!
mikem
Posts: 487
Woo hoo, nmap got it right :razz: