| Author |
Message |
h2
Beginner


Joined: Mar 26, 2005 Posts: 2
|
Posted: Sat Mar 26, 2005 5:55 pm Post subject: Status: 255 (expected 0) when uploading a picture |
|
|
Hello,
This gallery for Postnuke is keeping me busy for the last 2 days. I fixed some minor errors but now im stuck. Ive tried to find the solution on several forums but wasnt able to find it.
Ive installed Gallery 1.5 RC2 on my Postnuke 0.7.5.0 website that is running on a webserver:
General server information:
Operating system Linux
Kernel version 2.4.29dn
Machine Type i686
Apache version 1.3.33 (Unix)
PERL version 5.6.1
PHP version 4.3.9
MySQL version 4.0.22-standard
cPanel Build 10.0.0-RELEASE 149
After that i download and installed NetPBM netpbm_gallery-1.4-pl2-linux-intel.zip downloaded from the http://sourceforge.net/project/showfile ... up_id=7130 website.
I followed each and every step described in the manual.. the CHMODding of the Netpbm files etc etc.
When i upload a jpeg file as a test that is so small it dont have to be resized it works fine. But when i use a jpeg that is bigger and need to be thumbnailed etc .. then i get these errors.
Ive put my Gallery in debug mode but it still didnt help me much.
The error messages i get when uploading the file in debug mode is :
Processing status...
******Adding tafel.jpg*****
Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg
Getting Dimension of file: /home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg
No resizing required
Adding Photo to the photo list
File /home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg type 2.
Getting Dimension of file: /home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg
Generating thumbnail.
Resizing Image: /home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg
Getting Dimension of file: /home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg
Executing:
'/home/wwwbval/public_html/netpbm/jpegtopnm' '/home/wwwbval/public_html/albums/Dames1eten/tafel_001.jpg' | '/home/wwwbval/public_html/netpbm/pnmscale' -xysize 150 150 | '/home/wwwbval/public_html/netpbm/pnmtojpeg' --quality=90 > '/home/wwwbval/public_html/albums/Dames1eten/tafel_001.thumb.jpg'
Results:
none
Debug messages:
Status: 255 (expected 0)
Error: Unable to make thumbnail (0)
For some reason i have the feeling that its because i use a wrong version of netpbm, i tried imagemagick but it had the 127 errors. I decide to focus on netpbm so i stopped trying imagemagick.
I tried several versions of NetPBM .. the ones listed on the site above tell me i386. Im not a Linux expert but i can read the server runs i686. Ive tried to install i686 files but the only files i can find for netpbm are .rpm files that i cannot read / extract.
Please anyone, help me with this.... Gallery 1.5 RC2 is giving me a headache and i dont think its designed to give people headaches but to share photo's
Hopefully someone can lead me the way to the light.
Thanks in advance!
Respectfully,
Remco |
|
| Back to top |
|
|
AdBot
|
| Post subject: Status: 255 (expected 0) when uploading a picture |
|
|
|
|
|
| Back to top |
|
 |
drmike
Wizard


Joined: Mar 20, 2005 Posts: 229 Location: Charlotte, NC
|
Posted: Sun Mar 27, 2005 11:18 am Post subject: Re: Status: 255 (expected 0) when uploading a picture |
|
|
A quick search in Google for this error shows lots of things to check.
The biggest appears to be is to see if you're running PHP in Safe Mode. I'm providing a link here [menalto.com]. Note this this doesn't talk about your error. I was directed to this solution via three different posts on their forums. I followed the links so you didn't have to.
Another big issue is the path for netpbm. Make sure the capital letters in the path are caps, the lowercases are lowercases, and make sure that the path has the last '/' mark. That came up a few times in forum posts.
Third is make sure you're on an Intel (or Intel like) chip box.
Try is any of that helps your out.
-drmike |
|
| Back to top |
|
|
h2
Beginner


Joined: Mar 26, 2005 Posts: 2
|
Posted: Sun Mar 27, 2005 3:32 pm Post subject: Re: Status: 255 (expected 0) when uploading a picture |
|
|
if these guys that host my server ever respond i can answer the questions.. thanks for your help so far.
One question i can answer .. the path is 100% correct. |
|
| Back to top |
|
|
|
|
|
|
|