I am new to the php scene and trying to get a gallery setup

sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 01:43

I am trying to setup a Gallery for my EQ2 guild site, yours came highly recommended. (www.eq2fantasy.com to be precise). I just do not see how to install the gallery to teh postnuke. It is it a mosule like normal? From what I have read of your documenttation I Am not getting it. I would like to use it though. But I do not want to spend a lot of time coding things.

My site that I am trying to get this working on is at [url]www.sircasm.com/eq2 [/url]
I do not see a config wizard to run I first thought this was just a postnuke module and installed it there and initialized it and activiated it but nothing happened as then I read ( normal IT mistake read the readme after ). Not sure If I need to move it out of there to the root dir or jsut leave it. It is on a linux box as for the rest not certain what version of PHP I will try to look into for you. I would appreciate any help on this.

Thanks

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2004-10-19 06:41

you should be able to point a browser at something like /postnuke/modules/gallery/setup/ and setup your gallery. You should be able to specify its inside post nuke. You should then be able to use it as a module, eh?

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 10:40

http://www.sircasm.com/eq2/modules/gallery/setup/

I got some errors there. I guess there is more to Download and install to get this working. Going to try to get the fils it wants.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 10:57

Ok I do not understand the safe mode with the .htaccess does that not affect security issues? and which .htaccess? I just slip in this to the file using notepad "php_admin_flag safe_mode off" and that is all?

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Tue, 2004-10-19 11:38

sircasm, read the sad story about safe mode in FAQ Gallery:c.5

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 13:24

Thanks for your help. I have paid for a year for this host just two months ago. So I hope that they will do this. If not I am sorry to have troubled you.

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Tue, 2004-10-19 13:48

sircasm, no problem! :)

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 16:44

Ok I got them to turn off safe mode but no I get some other errors can you take a look? There are a few of them. http://www.sircasm.com/eq2/modules/gallery/setup/

Is this something my webhost has to do?

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Tue, 2004-10-19 18:58

sircasm, I see no errors, just warnings... You should just continue with the config wizard. :)

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 19:46

Thanks I am so glad that it is nothing serious thanks. :lol:

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-19 21:06

two errors now

$gallery->app->albumDir = "/home/sircasm/public_html/albums";

Error: Missing value: Temporary directory!

$gallery->app->photoAlbumURL = "http://www.sircasm.com/eq2/modules/gallery";

$gallery->app->albumDirURL = "http://www.sircasm.com/albums";

and then

$gallery->app->maximumAlbumDepth = "50";

Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!

/* Defaults */
$gallery->app->default["bordercolor"] = "black";

any ideas on what to do now?

I know that I am very close.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Wed, 2004-10-20 01:39
Error: Missing value: Temporary directory! 
Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!

You need to do exactly what it says. Pay attention while you are running the setup, that is all. You need to specify a temporary directory (frequently /tmp works) AND you need to point it to your NetPBM or ImageMagick files. Sometimes these are installed on the server somewhere by the host... but most of the time, people have to upload a pre-compiled set of binaries into a directory on their site.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Wed, 2004-10-20 14:18

Ok got one more error.
Error: Could not find /home/sircasm/public_html/netpbm/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick).

/home/sircasm/public_html/netpbm is the path and the pnmtojpeg.exe is there and it is set as is the DIR to 777 permissions. I uploaded this version through scourceforge.

Again thanks for your assistance with this.

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Thu, 2004-10-21 07:13
sircasm wrote:
Ok got one more error.
Error: Could not find /home/sircasm/public_html/netpbm/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick).

/home/sircasm/public_html/netpbm is the path and the pnmtojpeg.exe is there and it is set as is the DIR to 777 permissions. I uploaded this version through scourceforge.

Again thanks for your assistance with this.

I'm getting the same error and have been searching this board for about an hour and haven't found anything.

Error: Could not find /home/virtual/site15/fst/var/www/html/netpbm/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead).

pnmtojpeg is listed in the netpbm directory.

I've tried chmod 755 and 777 ... same error.

the actual file name is pnmtojpeg.exe

I've renamed it to pnmtojpeg. and put the .exe back in w/o any luck.

HELP!

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Thu, 2004-10-21 09:13

sircasm and sid007, you are both on a Linux system. Then you must install the Linux (probably intel) binaries, not the Windows ones (pnmtojpeg.exe gives that away)

sid007, it makes it rather difficult to help out when you post your questions in more than one thread at the same time, and it doesn't help when you provide slightly different (but essential) info in your postings.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Thu, 2004-10-21 12:43

Now I feel really stupid LOL of course it should have been the linux version DOH! Ok that should do it. :lol: Thanks again.

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Thu, 2004-10-21 17:29
foffo wrote:
sircasm and sid007, you are both on a Linux system. Then you must install the Linux (probably intel) binaries, not the Windows ones (pnmtojpeg.exe gives that away)

sid007, it makes it rather difficult to help out when you post your questions in more than one thread at the same time, and it doesn't help when you provide slightly different (but essential) info in your postings.

See, I tried installing that originally and this is the error I got:

Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from the Gallery Download Page.

Path: "/home/virtual/site15/fst/var/www/html/gallery/netpbm";

My other thread is different b/c I have other questions as well.

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Thu, 2004-10-21 17:29
sircasm wrote:
Now I feel really stupid LOL of course it should have been the linux version DOH! Ok that should do it. :lol: Thanks again.

Did you get it working?

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Thu, 2004-10-21 17:35

Ok. Changed from full path to this:

/var/www/html/gallery/netpbm

and now this error: Error: Could not find /var/www/html/gallery/netpbm/ppmtojpeg.

and could not find pnmtojpeg (tried both).

DO you need any other info?

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Thu, 2004-10-21 19:01

Ok, still browsing forums. Some one said they were having netpbm issues and they downloaded 1.1 and it worked.

SO I download netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz

and installed and now the setup/index.php times out and I get a 404.

So it's not 1.1 and I've tried every single other one. What am I doing wrong?

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Thu, 2004-10-21 19:48

Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from the Gallery Download Page. Or, you can compile and install the entire NetPBM package from the NetPBM website.
Note: You can install the binaries from the Gallery site even if you don't have root access on your box! If you can't get it working, try leaving the NetPBM path blank and using ImageMagick instead.

I am geting this now myself. So what do we do now? I really really do not want to use a diferent gallery, as I have seen this one in action. So, I guess we need to find ver 9.9 or up for linux somewhere?

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Thu, 2004-10-21 19:58

I found this at scourceforge today http://sourceforge.net/project/showfiles.php?group_id=5128&package_id=64780

IT is the latest stable version, but it does not say if it is windows or linux or any platform. so going to DL it and check it out.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Thu, 2004-10-21 20:14

ok that is not it either. Sooooo now where do I stand? This seems to be the only holdup now.

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Thu, 2004-10-21 20:24

Nice Try. Yup, that's not it either b/c it doesn't have the files.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Fri, 2004-10-22 01:00

I have searched the web for more current binaries and have not come up with anything. Just giving an update.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Mon, 2004-10-25 15:15

Does no one have an answer for this? It asks for a newer version? Do I have ot go find a older version of gallery and try it with the netpbm that is available?

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Tue, 2004-10-26 20:06

I still do not have the gallery up even tried it in another location and get the same errors. Is there some other binaries out there? that it seems to want? I saw taht others were having the same problem but were using wrong versions I have tried several. I am back to using the Linux
(intel) just get that it wants newer version of the netpbm

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Wed, 2004-10-27 20:24

Is this such a a difficult problem that there is no answer for it? Not even a We will have to look into it. That one gets left if it is something simple? Or is it that this is not simple and not easy so no one replies back? just curious about how it is done here.

 
sid007

Joined: 2004-10-21
Posts: 24
Posted: Mon, 2004-11-01 07:11

I finally fixed it.

I re-uploaded all the files forced binary and chmod 'd all the binaries to 755.

 
sircasm
sircasm's picture

Joined: 2004-10-19
Posts: 17
Posted: Mon, 2004-11-01 16:43

Thanks it was the forcing to binary that did it. The Auto feature was not working out it seems. Got mine up and running too. Thanks Sid007