Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Status: 255 (expected 0) when uploading a picture

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NukedGallery.net Forum Index » Postnuke Issues » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
h2

Beginner
Beginner


Joined: Mar 26, 2005
Posts: 2

PostPosted: Sat Mar 26, 2005 5:55 pm    Post subject: Status: 255 (expected 0) when uploading a picture Reply with quote

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 Wink

Hopefully someone can lead me the way to the light.

Thanks in advance!

Respectfully,

Remco
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Status: 255 (expected 0) when uploading a picture  

Back to top
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Sun Mar 27, 2005 11:18 am    Post subject: Re: Status: 255 (expected 0) when uploading a picture Reply with quote

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. Smile

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. Smile

Try is any of that helps your out.

-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
h2

Beginner
Beginner


Joined: Mar 26, 2005
Posts: 2

PostPosted: Sun Mar 27, 2005 3:32 pm    Post subject: Re: Status: 255 (expected 0) when uploading a picture Reply with quote

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
Offline View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NukedGallery.net Forum Index » Postnuke Issues » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia