I installed the latest nightly build. Everything went fine except NetPBM, Imagemagick, and FFMPEG. NetPBM said it installed ok. However, it still doesn't allow me to use thumbnails.
I checked with my web host 1&1 about imagemagick and they informed me that they won't allow it on my server and I have to use NetPBM. I want to get NetPBM working. I also want to know why they won't allow imagemagick and if I can get around that.
Can you help me to at least get NetPBM working. My settings are:
the "/usr/bin/" directory.
pnmtojpeg converter.
quality = 75
don't know where the jhead directory would be?
Here is the output I get when I try to test setting for NetPBM:
NetPBM binary test results
Binary Name Pass/Fail
giftopnm
Passed
ppmtogif
Passed
jpegtopnm
Passed
pnmtojpeg
Passed
pngtopnm
Passed
pnmtopng
Passed
tifftopnm
Passed
pnmtotiff
Passed
bmptopnm
Failed
Error messages:
File does not exist
ppmtobmp
Passed
pnmcomp
Passed
Here is what the debugger puts out (I don't know how much to post, oh well):
is_dir(/usr/bin/)
file_exists(/usr/bin/giftopnm)
Executing: ( "/usr/bin/giftopnm" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgZk6vHJ
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgZk6vHJ)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgZk6vHJ)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgZk6vHJ, r, 0)
feof(Resource id #99)
fgets(Resource id #99, 4096)
feof(Resource id #99)
fgets(Resource id #99, 4096)
feof(Resource id #99)
fgets(Resource id #99, 4096)
feof(Resource id #99)
fgets(Resource id #99, 4096)
feof(Resource id #99)
fgets(Resource id #99, 4096)
feof(Resource id #99)
fgets(Resource id #99, 4096)
feof(Resource id #99)
fclose(Resource id #99)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgZk6vHJ)
Regular Output:
Error Output:
giftopnm: Using libpbm from Netpbm Version: Netpbm 9.20
giftopnm: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
giftopnm: BSD defined
giftopnm: RGB_ENV='RGBDEF'
giftopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/ppmtogif)
Executing: ( "/usr/bin/ppmtogif" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgzjPWx2
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgzjPWx2)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgzjPWx2)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgzjPWx2, r, 0)
feof(Resource id #101)
fgets(Resource id #101, 4096)
feof(Resource id #101)
fgets(Resource id #101, 4096)
feof(Resource id #101)
fgets(Resource id #101, 4096)
feof(Resource id #101)
fgets(Resource id #101, 4096)
feof(Resource id #101)
fgets(Resource id #101, 4096)
feof(Resource id #101)
fgets(Resource id #101, 4096)
feof(Resource id #101)
fclose(Resource id #101)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgzjPWx2)
Regular Output:
Error Output:
ppmtogif: Using libpbm from Netpbm Version: Netpbm 9.20
ppmtogif: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
ppmtogif: BSD defined
ppmtogif: RGB_ENV='RGBDEF'
ppmtogif: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/jpegtopnm)
Executing: ( "/usr/bin/jpegtopnm" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgxMtwIn
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgxMtwIn)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgxMtwIn)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgxMtwIn, r, 0)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fclose(Resource id #103)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgxMtwIn)
Regular Output:
Error Output:
jpegtopnm: Using libpbm from Netpbm Version: Netpbm 9.20
jpegtopnm: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
jpegtopnm: BSD defined
jpegtopnm: RGB_ENV='RGBDEF'
jpegtopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/pnmtojpeg)
Executing: ( "/usr/bin/pnmtojpeg" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgdKwIRM
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgdKwIRM)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgdKwIRM)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgdKwIRM, r, 0)
feof(Resource id #105)
fgets(Resource id #105, 4096)
feof(Resource id #105)
fgets(Resource id #105, 4096)
feof(Resource id #105)
fgets(Resource id #105, 4096)
feof(Resource id #105)
fgets(Resource id #105, 4096)
feof(Resource id #105)
fgets(Resource id #105, 4096)
feof(Resource id #105)
fgets(Resource id #105, 4096)
feof(Resource id #105)
fclose(Resource id #105)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgdKwIRM)
Regular Output:
Error Output:
pnmtojpeg: Using libpbm from Netpbm Version: Netpbm 9.20
pnmtojpeg: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
pnmtojpeg: BSD defined
pnmtojpeg: RGB_ENV='RGBDEF'
pnmtojpeg: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/pngtopnm)
Executing: ( "/usr/bin/pngtopnm" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgN4Em3a
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgN4Em3a)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgN4Em3a)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgN4Em3a, r, 0)
feof(Resource id #107)
fgets(Resource id #107, 4096)
feof(Resource id #107)
fgets(Resource id #107, 4096)
feof(Resource id #107)
fgets(Resource id #107, 4096)
feof(Resource id #107)
fgets(Resource id #107, 4096)
feof(Resource id #107)
fgets(Resource id #107, 4096)
feof(Resource id #107)
fgets(Resource id #107, 4096)
feof(Resource id #107)
fclose(Resource id #107)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgN4Em3a)
Regular Output:
Error Output:
pngtopnm: Using libpbm from Netpbm Version: Netpbm 9.20
pngtopnm: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
pngtopnm: BSD defined
pngtopnm: RGB_ENV='RGBDEF'
pngtopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/pnmtopng)
Executing: ( "/usr/bin/pnmtopng" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgL3Di6C
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgL3Di6C)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgL3Di6C)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgL3Di6C, r, 0)
feof(Resource id #109)
fgets(Resource id #109, 4096)
feof(Resource id #109)
fgets(Resource id #109, 4096)
feof(Resource id #109)
fgets(Resource id #109, 4096)
feof(Resource id #109)
fgets(Resource id #109, 4096)
feof(Resource id #109)
fgets(Resource id #109, 4096)
feof(Resource id #109)
fgets(Resource id #109, 4096)
feof(Resource id #109)
fclose(Resource id #109)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgL3Di6C)
Regular Output:
Error Output:
pnmtopng: Using libpbm from Netpbm Version: Netpbm 9.20
pnmtopng: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
pnmtopng: BSD defined
pnmtopng: RGB_ENV='RGBDEF'
pnmtopng: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/tifftopnm)
Executing: ( "/usr/bin/tifftopnm" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg1hIBq6
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg1hIBq6)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg1hIBq6)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg1hIBq6, r, 0)
feof(Resource id #111)
fgets(Resource id #111, 4096)
feof(Resource id #111)
fgets(Resource id #111, 4096)
feof(Resource id #111)
fgets(Resource id #111, 4096)
feof(Resource id #111)
fgets(Resource id #111, 4096)
feof(Resource id #111)
fgets(Resource id #111, 4096)
feof(Resource id #111)
fgets(Resource id #111, 4096)
feof(Resource id #111)
fclose(Resource id #111)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg1hIBq6)
Regular Output:
Error Output:
tifftopnm: Using libpbm from Netpbm Version: Netpbm 9.20
tifftopnm: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
tifftopnm: BSD defined
tifftopnm: RGB_ENV='RGBDEF'
tifftopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/pnmtotiff)
Executing: ( "/usr/bin/pnmtotiff" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgJEJkgB
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgJEJkgB)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgJEJkgB)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgJEJkgB, r, 0)
feof(Resource id #113)
fgets(Resource id #113, 4096)
feof(Resource id #113)
fgets(Resource id #113, 4096)
feof(Resource id #113)
fgets(Resource id #113, 4096)
feof(Resource id #113)
fgets(Resource id #113, 4096)
feof(Resource id #113)
fgets(Resource id #113, 4096)
feof(Resource id #113)
fgets(Resource id #113, 4096)
feof(Resource id #113)
fclose(Resource id #113)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgJEJkgB)
Regular Output:
Error Output:
pnmtotiff: Using libpbm from Netpbm Version: Netpbm 9.20
pnmtotiff: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
pnmtotiff: BSD defined
pnmtotiff: RGB_ENV='RGBDEF'
pnmtotiff: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/bmptopnm)
file_exists(/usr/bin/ppmtobmp)
Executing: ( "/usr/bin/ppmtobmp" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg9ZQKR9
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg9ZQKR9)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg9ZQKR9)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg9ZQKR9, r, 0)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fclose(Resource id #115)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg9ZQKR9)
Regular Output:
Error Output:
ppmtobmp: Using libpbm from Netpbm Version: Netpbm 9.20
ppmtobmp: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
ppmtobmp: BSD defined
ppmtobmp: RGB_ENV='RGBDEF'
ppmtobmp: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/usr/bin/pnmcomp)
Executing: ( "/usr/bin/pnmcomp" "--version" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgR8G3iK
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgR8G3iK)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgR8G3iK)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgR8G3iK, r, 0)
feof(Resource id #117)
fgets(Resource id #117, 4096)
feof(Resource id #117)
fgets(Resource id #117, 4096)
feof(Resource id #117)
fgets(Resource id #117, 4096)
feof(Resource id #117)
fgets(Resource id #117, 4096)
feof(Resource id #117)
fgets(Resource id #117, 4096)
feof(Resource id #117)
fgets(Resource id #117, 4096)
feof(Resource id #117)
fclose(Resource id #117)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbgR8G3iK)
Regular Output:
Error Output:
pnmcomp: Using libpbm from Netpbm Version: Netpbm 9.20
pnmcomp: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
pnmcomp: BSD defined
pnmcomp: RGB_ENV='RGBDEF'
pnmcomp: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
----
Gallery URL (optional): http://www.chipperway.com/gallery2/main.php
Gallery version: Latest Nightly build from 2/3
Webserver (with version): ? (1&1 shared hosting plan)
Datatabase (with version): MySQL Database 4.0.20
PHP version (eg 4.2.1): 4.3.6
phpinfo URL (optional):
Graphics Toolkit(s): Gd & NetPBM
Operating system: XP
Web browser/version: Firefox 1.0
Posts: 8601
so.... what exactly is the problem? aren't you able to activate the netpbm module, just without support for bmp files? you can ask your webhost about that missing binary if you want bmp support.
Edit: from looking at your site i'm guessing you did activate the module but you get the broken-image for thumbnails? what you really need to post is debug output from when it tried to create a thumbnail. (The Executing: ... part and not the whole thing, please)
Posts: 7
Alright, I see what you mean. I uploaded an image and had it create a thumbnail and I get that broken thumbnail image. Here is the output I got:
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/entity/0/3)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/entity/0/3/33.inc,
wb, 0)
flock(Resource id #148, 2, )
fwrite(Resource id #148, ..., )
fwrite(Resource id #148, ..., )
fwrite(Resource id #148, ..., )
fwrite(Resource id #148, ..., )
fwrite(Resource id #148, ..., )
fclose(Resource id #148)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3/33.dat)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0)
mkdir(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3,
755)
file_exists(/homepages/3/d87994343/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/archiveupload/classes/ArchiveExtractToolkit.class)
file_exists(/homepages/3/d87994343/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/exif/classes/ExifToolkit.class)
file_exists(/homepages/3/d87994343/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/thumbnail/classes/ThumbnailToolkit.class)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/module/netpbm/0/0/0.inc)
tempnam(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/, npbm_)
Executing: ( "/usr/bin/giftopnm" "--quiet"
"/homepages/3/d87994343/htdocs/gallery2/g2data/albums/Baby/tsunami-33.gif"
| "/usr/bin/pnmscale" "--quiet" "-xysize" "150" "150" |
"/usr/bin/ppmquant" "256" | "/usr/bin/ppmtogif" >
"/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/npbm_0hx7D7" )
2>/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg4ZIkuG
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg4ZIkuG)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg4ZIkuG)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg4ZIkuG, r, 0)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fgets(Resource id #156, 4096)
feof(Resource id #156)
fclose(Resource id #156)
unlink(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/g2dbg4ZIkuG)
Regular Output:
Error Output:
ppmquant: making histogram...
ppmquant: 7035 colors found
ppmquant: choosing 256 colors...
ppmquant: mapping image to new colors...
ppmtogif: computing colormap...
ppmtogif: 251 colors found
Status: 0 (expected 0)
rename(/homepages/3/d87994343/htdocs/gallery2/g2data/tmp/npbm_0hx7D7,
/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3/33.dat)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3/33.dat)
filesize(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3/33.dat)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3/33-meta.inc,
wb, 0)
flock(Resource id #157, 2, )
fwrite(Resource id #157, ..., )
fwrite(Resource id #157, ..., )
fwrite(Resource id #157, ..., )
fwrite(Resource id #157, ..., )
fclose(Resource id #157)
getimagesize(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/derivative/0/3/33.dat)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/cache/module/sizelimit/0/0/9.inc)
fclose(Resource id #57)
file_exists(/homepages/3/d87994343/htdocs/gallery2/g2data/sessions/114e6c9aa8091ac408d154df74321350)
fopen(/homepages/3/d87994343/htdocs/gallery2/g2data/sessions/114e6c9aa8091ac408d154df74321350,
r+b, 0)
flock(Resource id #160, 6, )
fseek(Resource id #160, 0, 0)
fwrite(Resource id #160, ..., 7022)
ftruncate(Resource id #160, 7022)
flock(Resource id #160, 3, )
fclose(Resource id #160)
realpath(/homepages/3/d87994343/htdocs/gallery2/modules/core/classes/../../..)
Posts: 7
UPDATE: I noticed that thumbnails are showing for gif images, but not jpegs. If that means anything?
Posts: 8601
um... you noticed that worked, right?
Edit: so post the debug output for jpeg instead of gif!
Posts: 7
UPDATE: I switched around the priority of the toolkits and that seemed to fix the problem. Gp can't create thumbnails for anything except gifs.
I'm still curious if there is any reason for me to need imagemagick? Is it faster or something? Why would I want both imagemagick and netpbm?
Posts: 7
Can anyone point me to help for using ffmpeg since my webhost 1&1 won't answer me? How do I install it on a shared server? Is it already there?
Posts: 87
It's not on there and you can't really install properly, since they won't allow you to call files that are needed. I installed Ffmpeg, and it worked enough to extract a thumb from the first frame, if I try to extract from subsequent frames it fails.
Posts: 7
The problem didn't seem to go away entirely. I still get about 1/4 of the jpegs that I upload don't load thumbnails and I get the broken image.
What could be causing this? Any help? Why only some of the pictures?
I've tried using different upload methods and they apprear to all create some pictures with no thumbs.
Posts: 27
Hi..
I also have this problem (see www.us.remarked.net) which is the gallery I'm trying to build.
I have Gd and NetPBM inbstalled, with NetPBm as the priority tool kit. I also host with 1 & 1and have the same problem with imagemagick not working (though until I read this post I thought it was me as they never told me they would not allow it).
Allow the files I upload are (to the best of my knowlegde) jepg's and I also get broken image thumbnails.
Help always appreciated.
Cheers..
Posts: 8601
chipallen2, you haven't yet posted debug output for a jpg that is failing!
Posts: 27
Sorry, how do I do that?
Posts: 44
i am having the same problem. i'm not sure i can get the log output as i am not the server admin.
thanks,
keith
Posts: 8601
enable buffered debug output in config.php, then look for the "Executing:".. portion of the debug output.. similar to what chipallen2 posted above.
Posts: 44
Posts: 8601
you can see your error message in there.. try a google search to help you resolve it.. you'll find things like this
Posts: 44
i see... so i'm using godaddy.com as my host. anyone out there use godaddy and have a similar problem?
Posts: 27
Sorry.. how do I access the config.php file using G2..?
Excuse my ignorance.
Thanks..
Posts: 8601
it's in your gallery2 install directory.. if you have shell access, use any text editor.. otherwise ftp download the file, edit, and reupload.
Posts: 44
i just called godaddy. they said they disable some things because i'm on a shared account (multiple websites on one server) inorder to prevent problems from occuring.
at first they said they never heard of fork! and they're supposed to be the experts. anyway is there any option for me? if there's no work around with G2, would G1 require fork?
thanks,
keith
Posts: 7994
The only image toolkit that doesn't use fork() is the GD graphics toolkit. I haven't read the whole thread, but if GD is available, try using it and see if that helps.
Posts: 44
bharat,
thank you, that is working... at least partly. now when i try to either import from G1 or select several photos at a time from the server to import, G2 adds 2 of them and then craps out. i tried to run with immediate debug mode, but nothing came up. any thoughts on what i'm doing wrong now? the thumbnail generation is working fine on the photos that do get in.
thanks,
keith
Posts: 44
weird... i just ran the import from local directory again and this time it looks like the pictures went up. i'm heading out the door to work now, but i'll try this again and see wtf my deal is or if i can manage to find any error messages.
thanks gang,
keith
Posts: 4
Im on GoDaddy and am experiencing the same problem.
So you were able to get GD to work with Gallery? How do you get Gallery to use GD instead of ImageMagic or NetPBM?
Posts: 7994
chaos421, looks like your webhost can't handle the load:
They are either overloaded or preventing you from executing other processes. Either way, this prevents G2 from operating properly...
Posts: 2
I have the same question as mentioned earlier. How do i get the gallery to use gd2? I'm using Gallery v1.4.4-pl6
Please help me out
Posts: 8601
um, by installing G2?
Posts: 2
right, sry i thought i was using the newest version...
Installed G2 and everything is working perfectly now...
Wil it be possible to get G2 ported in mambo in the future?
Posts: 32509
what about browsing the forums and using the search function? ;)
here you go:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=25979
it's not finished, far from it. but there will be a mambo integration.
</offtopic>
Posts: 100
I assume that you are using the free package that's provided by 1&1. That package does not include FFMPEG or any other library that might stress the server's cpu. The scripting capabilities are limited as well and I'm sure there are restrictions to php and sql. However that has indirect relationship to your problem. What I suggest you do
1. Try using one of the other 3 graphic libraries that come with G2
2. Try to figure out the exact path where those binaries are stored (it might not be /usr/bin/, it depends on the OS and your host's preference)
3. Ask around on Forums and try IRC to find other 1&1 Users. There should be a lot of them. They became pretty infamous with the package that they offered at one time and I'm sure someone is using the host to run some kind of an image gallery so they might tell you the proper settings.
Posts: 11
I realize this is an old thread, but I ran across it when I was looking for install help on FFMPEG on a 1&1 server. I have imagemagick running on my 1&1 server, for insructions, see the post in my blog here: http://www.indemnity83.com/?p=134