I got a few problems! :D help me! - UNSUPPORTED TYPE FILES +

vidan

Joined: 2003-01-06
Posts: 6
Posted: Mon, 2003-01-06 22:07

NAh, ppl.. im just tryin to install my G2

<?php

$gallery->setConfig('setup.password', 'vidan');
$gallery->setConfig('data.gallery.base', '/home/sloki/user/u5702/sites/vidan/www/studio/');

$storeConfig['type'] = 'mysql';
$storeConfig['hostname'] = 'localhost';
$storeConfig['database'] = 'studio';
$storeConfig['username'] = 'vidan';
$storeConfig['password'] = 'vidan';
$storeConfig['tablePrefix'] = 'g2_';
$storeConfig['columnPrefix'] = 'g_';
$gallery->setConfig('storage.config', $storeConfig);
$gallery->setConfig('storage.type', 'database');

$gallery->setDebug(false);

$gallery->setProfile(false);
?>

nah, installing is good, no problem.. but problem start from NETPBM

Binary Name Pass/Fail
jpegtopnm Passed
giftopnm Passed
pnmtojpeg Failed --> all is passed/except this.. (*btw i set Path to NetPBM to /usr/bin*) is it right?
ppmtogif Passed

---- ps: because im not the admin/ i dont have admin/local priviledges passwd

nah when im upload/add item/add picz..
i found this
Add From Your Server - Not implemented yet , what does it mean? in additem page
then i upload some jpg files, i found this message

Error (ERROR_UNSUPPORTED_FILE_TYPE)
in modules/netpbm/classes/NetPbmGraphics.class at line 272
in modules/netpbm/classes/NetPbmGraphics.class at line 205
in modules/core/classes/GalleryDerivativeImage.class at line 330
in modules/core/ItemAdmin.inc at line 74
in modules/core/classes/GalleryView.class at line 164

ah, can someone help me with this error message, i have been look on this forum/doc but still havent got a clue :grin:

thanks

 
vidan

Joined: 2003-01-06
Posts: 6
Posted: Mon, 2003-01-06 22:28

it seems problem with the

pnmtojpeg Failed

i try to add gif file. and it works.. but not for the jpg..
why was pnmtojpeg Failed ?

NetPBM binary test results
Binary Name Pass/Fail
jpegtopnm Passed
giftopnm Passed
pnmtojpeg failed
ppmtogif Passed
pnmtopng Passed
pnmscale Passed
pnmfile Passed
ppmquant Passed
pnmcut Passed
pnmrotate Passed
pnmflip Passed

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Mon, 2003-01-06 22:46

In Gallery 2, you can set the name of this when you install the NetPBM module:

<!-- BBCode Start --><IMG SRC="http://www.beckettmw.com/images/g2pnmppm.png"><!-- BBCode End -->

-Beckett (

)

 
vidan

Joined: 2003-01-06
Posts: 6
Posted: Mon, 2003-01-06 22:57

*lol*

thanks, <U>i did it</u>, and still get error like this (ppm-jpeg)

Error (ERROR_UNSUPPORTED_FILE_TYPE)
in modules/netpbm/classes/NetPbmGraphics.class at line 272
in modules/netpbm/classes/NetPbmGraphics.class at line 205
in modules/core/classes/GalleryDerivativeImage.class at line 330
in modules/core/ItemAdmin.inc at line 74
in modules/core/classes/GalleryView.class at line 164

when i add jpg files.. why was that? <B>help help help!!</B> :roll:

btw.. when i install gallery1.3 - it said that.. the options is NONE.. in the httpd.conf
but it require option followsymlinks enabled right? can i install it without option followsymlinks? because my option is none, i cant change it. since im not the admin..

thanks...
:lol: :lol: :lol:

 
vidan

Joined: 2003-01-06
Posts: 6
Posted: Tue, 2003-01-07 00:56

hehe

 
vidan

Joined: 2003-01-06
Posts: 6
Posted: Tue, 2003-01-07 19:42

SO ANYONE HELP ME AGAIN :grin:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2003-01-08 01:16

Vidan,

There is no tech support for G2. Please figure out what's wrong with your setup and
get back to us with a detailed description of the problem and solution, if possible. If
not, you might consider waiting until G2 reaches at least an alpha stage. sorry.

 
vidan

Joined: 2003-01-06
Posts: 6
Posted: Wed, 2003-01-08 08:38

bharat. is there anypossible from gallery1.3.3 - option none?
my option is set to none, but it seems require followsymlinks..

or is there another choice to pass the follow symlinks?
thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2003-01-08 19:03

Vidan,

This is the wrong forum to ask about Gallery 1.x. You should be asking in the Gallery 1.x Troubleshooting forum. Neither Gallery 1.x or 2.x uses symlinks so it should make no difference to Gallery if that option is on or off.