I really didn't want to ask for help, but this is a last resort. I read the entire FAQ and User Guide.
I've spent hours trying to set-up Gallery on my server that is running Windows XP. I have already installed Apache and php. I don't know where to begin with Gallery. I can download the set-up file, but what directory do I install it to? What do I do after it's installed in the correct directory?
Please tell me where to begin. TIA!
Posts: 8194
Most installation instructions are in the README file, distributed with Gallery. If you have a specific question about a part of that, feel free to post back...
Posts: 38
I read this README but it still wasn't very helpful: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gallery/gallery/README?rev=HEAD&content-type=text/vnd.viewcvs-markup
I followed the instructions under #4 (HOW DO I INSTALL GALLERY ON WINDOWS?)
I think there is something that needs to be done before I start following those instructions
:???:
Posts: 8194
What exactly have you done so far?
Posts: 38
I have installed Apache and php.
Posts: 8194
I really can't tell you anything that's not in the README -- I'd just be rephrasing it. What are you having trouble with? If you have an Apache server with PHP support, then you just start from the beginning of the README (well, download Gallery first :smile...
Posts: 38
Which file do I download? gallery? gallery remote? both gallery and gallery remote? Where do I put it after I download it?
Posts: 8194
Just download Gallery for right now. Untar it (i.e. unzip) somewhere in your web root (where it is accessible via the web -- usually the 'htdocs' folder whereever you installed Apache).
Posts: 38
Ok that was a HUGE help telling me to "untar" that file... I wasn't familiar with those types of files. Now I am having a problem starting the configuration wizard. I go to the directory where I put all the Gallery files after I start the configure.bat script, but the wizard doesn't start. When I type in http://www.myhost.com/gallery, It just shows the regular listing of all the Gallery files.
Posts: 3473
Try clicking on index.php.
If that works, then you need to change httpd.conf so it recognizes index.php.
If it doesn't. then you haven't installed PHP properly.
Posts: 38
OK I can get to index.php and it tells me that PHP v4.3.1 is OK What do I need to add to the httpd.conf file and where do I put it?
Posts: 3473
This worked for me (just added "index.php" to what was already there).
Stop and restart apache after changing
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>
</TD></TR></TABLE><!-- BBCode End -->
Posts: 38
Ok I put this info in httpd.conf:
But then Apache won't start properly. Where exactly in the httpd.conf do I place the above text?
Posts: 3473
Did you actually include Warning! in the file? If so, take it out!
Posts: 38
Ok my problem was that I didn't put the path to the httpd.conf file in quotes. You need to use quotes if there are spaced in the path!
Posts: 38
I'm almost there... the only thing I'm still having problems with is NetPBM. I get this error at the first configuration page:
:???:
Posts: 8194
Ummm...hard to say what that is. That function has been in PHP since version 3 (i.e. a long time ago)...
Posts: 38
I'm using v4.3.1 :sad:
Posts: 8194
Oh, it's a Windows thing...This function isn't on Windows...
What version of Gallery are you using?
Posts: 38
Im using Gallery 1.3.1 and Apache 1.3.27
Posts: 8194
This may not be causing a problem, but can you upgrade to 1.3.3?
Posts: 38
woo hoo! Switching to 1.3.3 fixed those problems. Unfortunately it looks like I've opened a whole new can of worms. At least you can look at what's wrong now: http://robm3.no-ip.com/gallery/albums.php
Posts: 8194
FAQ C.9 / FAQ C.18
Posts: 38
Ok I checked those FAQs and fixed that problem. Now I'm having problems uploading. I read FAQ C.2 buy I'm still confused. I'm getting this error when trying to upload a jpeg image file:
Posts: 3474
You need to move your NetPBM directory to a path with no spaces in it.
That means... Not in C:Program FilesApache Group
Try something like C:NetPBM, or C:wwwnetpbm...
-Beckett (
)
Posts: 38
Alight I moved everything to a directory w/out spaces, restarted Apache but I still get:
Posts: 3474
What does your gallery/setup/check_netpbm.php page say?
If it's not all green, then you probably have the wrong netpbm binaries.
Can you provide your URL so we can see as well?
Thanks
-Beckett (
)
Posts: 38
http://robm3.no-ip.com/gallery/setup/check_netpbm.php
It seems like there is something wrong with the jpeg binaries :???:
Posts: 3474
Try grabbing fresh copies from the Gallery Download Page. These ones are corrupted for some reason. Even though only some of them are showing errors, you should replace them all just to be sure.
-Beckett (
)
Posts: 38
I used NetPBM-9.25-BIN.zip and libjpeg-6b-bin.zip and follwed these directions: http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Installing%20NetPBM%20for%20Windows
but I still get the same error. Should I download something different?
Posts: 3474
You'll have better luck with the NetPBM binaries at the bottom of this page (get the win32 ones):
http://sourceforge.net/project/showfiles.php?group_id=7130
There's no need to get the JPEG libraries... they're built in to these ones.
-Beckett (
)
Posts: 38
Finally got it working! http://robm3.no-ip.com/gallery/
Just one more question... I promise! I put jhead in C:wwwjhead.exe and told the configurator where it is but it's not working. Any ideas on that?
Posts: 3474
Your Jhead is working fine:
http://robm3.no-ip.com/gallery/view_photo_properties.php?index=1
So ignore any messages to the contrary! :wink:
Enjoy your new Gallery! (and tell all your friends)
-Beckett (
)
Posts: 38
Excellent! I didn't see the "photo properties" link.
Ok no more questions and thanks to everyone for their help. Donation will be on its way.
Posts: 8
how come my installation never went that well
Posts: 3474
sicjoke, please don't complain in every topic! I posted in your page, but I can't link to your site. It seems to be down. Once we can get a look at your site, we'll be able to help you a little better. So hang in there!
-Beckett (
)
Posts: 2
Eek! Help me too! This email thread was extremely helpful with setting up. (I have to admit, for newbies, the install instructions are a tad vague.)
In anycase, I've learned a lot but like AutobahnTDI, I'm having trouble with netpbm. My files all are set to 755/executable, but I'm still getting the error that Gallery can't find it. I currently have it in my public_html folder in a file called "netpbm". I've tried every path suggested and a few modified ones, but it's still not working.
I'm also getting an error: Warning: exec,site,dl() has been disabled for security reasons . I think this should be easy to fix, but 2 hours later and I admit I'm stumped. Can anyone help with a "user error"? ;-)
Thanks!
Posts: 3474
Your second error (exec(), etc. disabled) is the real problem here, so ignore your other problem. Unless you can fix this problem, Gallery won't run at all without these functions enabled. You will need to contact your ISP admin and ask whether they will re-enable these functions, because you need them to run Gallery. If not, then you're pretty much out of options, and won't be able to run Gallery on this host.
-Beckett (
)
Posts: 38
My server was down for the summer and I brought it back up and it has some problems w/ Gallery. I can't login and the pages have no style. Any ideas? http://robm3.no-ip.com/gallery/
Posts: 13451
AutobahnTDI, first idea:
Make a new thread, this one is totally unrelated.
second idea: A bit more info on what you did, how you did it and what was there before would help a great deal.