I am new to the php scene and trying to get a gallery setup
sircasm
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] Thanks ---- |
|
Posts: 3236
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?
Posts: 17
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.
Posts: 17
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?
Posts: 660
sircasm, read the sad story about safe mode in FAQ Gallery:c.5
Posts: 17
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.
Posts: 660
sircasm, no problem!
Posts: 17
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?
Posts: 660
sircasm, I see no errors, just warnings... You should just continue with the config wizard.
Posts: 17
Thanks I am so glad that it is nothing serious thanks. :lol:
Posts: 17
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.
Posts: 3236
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.
Posts: 17
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.
Posts: 24
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!
Posts: 660
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.
Posts: 17
Now I feel really stupid LOL of course it should have been the linux version DOH! Ok that should do it. :lol: Thanks again.
Posts: 24
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.
Posts: 24
Did you get it working?
Posts: 24
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?
Posts: 24
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?
Posts: 17
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?
Posts: 17
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.
Posts: 17
ok that is not it either. Sooooo now where do I stand? This seems to be the only holdup now.
Posts: 24
Nice Try. Yup, that's not it either b/c it doesn't have the files.
Posts: 17
I have searched the web for more current binaries and have not come up with anything. Just giving an update.
Posts: 17
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?
Posts: 17
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
Posts: 17
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.
Posts: 24
I finally fixed it.
I re-uploaded all the files forced binary and chmod 'd all the binaries to 755.
Posts: 17
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