Processing status...
- Adding beagal huskey.jpg
Executing:
/home/sites/www.mysite.com/web/netpbm/jpegtopnm /home/sites/www.mysite.com/web/albums/album01/beagal_huskey.jpg | /home/sites/www.mysite.com/web/netpbm/pnmfile --allimages
Results:
none
Error messages:
Status: 126 (expected 126)
Executing:
/home/sites/www.mysite.comet/web/netpbm/jpegtopnm /home/sites/www.mysite.com/web/albums/album01/beagal_huskey.jpg | /home/sites/www.mysite.com/web/netpbm/pnmfile --allimages
Results:
none
Error messages:
Status: 126 (expected 126)
Executing:
/home/sites/www.mysite.com/web/netpbm/jpegtopnm /home/sites/www.canphoto.net/web/albums/album01/beagal_huskey.jpg | /home/sites/www.mysite.com/web/netpbm/pnmscale -xysize 150 150 | /home/sites/www.mysite.com/web/netpbm/ppmtojpeg --quality=95 > /home/sites/www.mysite.com/web/albums/album01/beagal_huskey.thumb.jpg
Results:
none
Error messages:
Status: 126 (expected 126)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ
Posts: 487
Sounds like you checked, but just in case, heres a link
to the proper <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php#gallery1-install.faq.c.2" TARGET="_blank">FAQ section</A><!-- BBCode End -->.
Basically, you need shell access to be able to manually execute the commands.
The FAQ entry tells you what to do from there.
Posts: 13
Thanks for trying to help. I've been creating web sites for years now and I know a little bit about php, asp, cgi, MySQL, FTP, etc, but I have to admit I don't know what you mean by "Shell Access". I've seen a lot of references to this since trying to install Gallery, but I think you guys may have forgotten this line from your Project Vision: "It must be so easy and self-explanatory to install that a bored, computer-fearing housewife in Ohio can set it up on her ftp-only ISP's webserver without having to ask us for help."
I'm no computer-fearing housewife, but could someone please explain "Shell Access" and how to simulate the "command yourself from a command line"? If I don't have shell access what can I do to get Gallery working?
Cheers.
Posts: 13
I just contacted my server, and unfortunately my plan does not support shell access.
So if I don't have shell access is there anything else I can do get gallery working? I sure hope so. :???:
Posts: 487
Asking if you have "shell access" basically means if you have the ability
to log into your account via 'telnet' or 'ssh' or some other method besides
ftp. It's likely that if you don't have shell access, then you won't be able
to access the error logs yourself, unless your ISP has some sort of special
setup. I have no idea, I don't use hosting companies.
The only other thing the FAQ mentions for this issue is to verify that you
have enough disk space (your quota isn't full, etc). Outside of that, maybe
somebody else that has had this issue can sound off on how they fixed it.
I've never encountered this personally so am limited in what I can advise.
Perhaps you can try searching the forum, I know this has been addressed
before by others.
Posts: 7994
The vision statement is a goal not a definition. In fact it's a goal for G2... when I wrote G1 I didn't have a clue that Gallery would be as successful as it is today. If I did, I would have written it better. Here's a <!-- BBCode Start --><A HREF="http://www.allianceonline.org/search/searchframe.cfm" TARGET="_blank">definition</A><!-- BBCode End --> of what a vision statement is for.
Posts: 13
I didn't mean to be critical, I just wanted some help and was probably a bit frustrated with the installation files and FAQs that seem to make some assumptions about people's knowledge levels.
I'm glad to hear that Gallery has become so successful and I would just like to be able to get it working. I have searched this discussion forum and even the old Gallery-usersArchives, but I have found nothing.
If any one can offer any advice and help me get Gallery working I would really appreciate it.
Thanks
Posts: 7994
Do you have access to your Apache error log? There may be an error message in there explaining what went wrong with the NetPBM command.
Something is going wrong, but we don't know what because we don't have enough information to go on. It's a puzzle with some pieces missing. Put your gallery in config mode and send us a link to your diagnostics and we may be able to figure it out.
The other option would be for somebody knowledgeable about PHP to log onto your account and fiddle with the code until they figure out what's going on. If you donate $10-20 to the Gallery fund and private-message me your ftp info, I'll do this for you.
Posts: 13
Thanks again for trying to help. I checked with my server and they said I don't have access to my Apache error log, but they sent me some copies of my web logs for the last week. Is this the same thing? Here is a sample of what's in the log:
I also ran diagnostics.php. Here is what it said about my PHP Info:
And here are the results of "Check NetPBM":
Does this help at all?
Posts: 7994
The key thing here is that the check_netpbm diagnostic appears to be running successfully. That seems to indicate that everything is ok with NetPBM, even though you're still getting errors. Without shell access, it's going to be hard to debug this remotely. Since this is probably a configuration issue on your server, I'll offer you my standard support deal. Donate $10-20 to the Gallery fund and private messsage me your ftp hostname, username, password and I'll log onto your box remotely and fix the issue for you.
Posts: 13
Thanks for the offer to fix things for me, but I'll have to admit I'm a little reluctant to give out my ftp password and donate money for something that doesn't work yet. I'm no expert, but I have managed to install a number of freeware and opensource solutions on my website and I have always been able to get things working on my own or with a little support from discussion forums like this. I have also been happy to pay or donate for solutions that work well and save me time and headaches.
Please don't take offence (I know how thankless projects like this can be), but if Gallery is going to be this much trouble to get up and running I have to wonder if it is the right solution for me.
Andrew
Posts: 3
Hi Andrew,
I noticed that the php info you gave says "safe-mode-enabled". I think I saw something as I was installing Gallery that it won't run with PHP in Safe Mode.
Hope this helps you,
Karen
Posts: 7994
When I used to offer to debug on site for free I found that I got deluged by people randomly mailing me their email and passwords without making any kind of effort to fix the problem themselves. So, now I raise the bar by making them donate some cash to demonstrate that they're actually serious about it.
Gallery poses a much more complex problem than most open source software because it has to execute other, separate programs in order to function which is a very difficult task to manage reliably. It is this particular functionality that is causing your problem. Since you don't have access to your logs and have only ftp access, you can't provide me any information about what's really going wrong. I have no idea how to help you except by experimenting with the code on your system. That kind of personal attention will take up my time, and I don't have a lot of that to give.
There are plenty of other programs out there that are like Gallery, you might find one of them easier to install and use...
Posts: 13
Thanks for pointing this out Karen. I asked my server about this and here is their response: "I hate to break it to you but Safe Mode is enabled for PHP on yours and every account and cannot be disabled, sorry. It is a security risk without safe mode being enabled."
I wish someone had pointed this out sooner. I read the FAQ about running Gallery using PHP as a CGI, but I can see this creating more headaches and an even longer url to the galleries, which is something I wanted to avoid.
I guess I'll have to look somewhere else. :cry:
Posts: 7994
Er, didn't Gallery tell you all about this on page 1 of the config wizard? v1.3.1 automatically detects safe mode and lets you know that there will be trouble so that you don't have to bash your head against the wall. If you're running v1.3.1 and it didn't inform you that safe mode is on, then this is a legitimate bug and it needs to be fixed.