Newbie needs help

AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 01:07

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!

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 01:28

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...

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 01:59

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
:???:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 02:11

What exactly have you done so far?

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 02:13

I have installed Apache and php.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 02:16

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:)...

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 02:22

Which file do I download? gallery? gallery remote? both gallery and gallery remote? Where do I put it after I download it?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 03:23

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).

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 03:58

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.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-05-02 07:53

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.

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 14:33
Quote:
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.

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?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-05-02 15:29

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 -->

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 15:46

Ok I put this info in httpd.conf:

Quote:
Warning!

<Directory c:program filesapache groupapachehtdocsgallery>
AllowOverride Options FileInfo
</Directory>

But then Apache won't start properly. Where exactly in the httpd.conf do I place the above text?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-05-02 16:23

Did you actually include Warning! in the file? If so, take it out!

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 16:57

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!

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 17:18

I'm almost there... the only thing I'm still having problems with is NetPBM. I get this error at the first configuration page:

Quote:
Fatal error: Call to undefined function: is_executable() in c:program filesapache groupapachehtdocsgallerysetupfunctions.inc on line 276

:???:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 20:50

Ummm...hard to say what that is. That function has been in PHP since version 3 (i.e. a long time ago)...

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 21:50

I'm using v4.3.1 :sad:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 21:56

Oh, it's a Windows thing...This function isn't on Windows...

What version of Gallery are you using?

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 22:01

Im using Gallery 1.3.1 and Apache 1.3.27

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 22:13

This may not be causing a problem, but can you upgrade to 1.3.3?

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Fri, 2003-05-02 22:39

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

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-05-02 22:42

FAQ C.9 / FAQ C.18

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-05-03 00:03

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:

Quote:
Executing:

"C:Program FilesApache GroupApachehtdocsgalleryNetPBMbinjpegtopnm" "c:program filesapache groupapachehtdocsalbumsalbum01nyc.jpg" | "C:Program FilesApache GroupApachehtdocsgalleryNetPBMbinpnmscale" -xysize 150 150 | "C:Program FilesApache GroupApachehtdocsgalleryNetPBMbinpnmtojpeg" --quality=95 > "c:program filesapache groupapachehtdocsalbumsalbum01nyc.thumb.jpg"

Results:
none

Error messages:

Status: 128 (expected 0)
Error: Unable to make thumbnail (0)!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-05-03 00:12

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 (

)

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-05-03 00:26

Alight I moved everything to a directory w/out spaces, restarted Apache but I still get:

Quote:
Processing status...
- Adding nyc.jpg
Executing:

C:wwwNetPBMbinjpegtopnm "c:program filesapache groupapachehtdocsalbumsalbum02nyc.jpg" | C:wwwNetPBMbinpnmscale -xysize 150 150 | C:wwwNetPBMbinpnmtojpeg --quality=95 > "c:program filesapache groupapachehtdocsalbumsalbum02nyc.thumb.jpg"

Results:
none

Error messages:

Status: 128 (expected 0)
Error: Unable to make thumbnail (0)!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-05-03 00:38

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 (

)

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-05-03 00:43

http://robm3.no-ip.com/gallery/setup/check_netpbm.php

It seems like there is something wrong with the jpeg binaries :???:

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-05-03 00:58

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 (

)

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-05-03 01:07

I used NetPBM-9.25-BIN.zip and libjpeg-6b-bin.zip and follwed these directions: http://gallery.menalto.com/modules.php?op=modload&amp;name=phpWiki&amp;file=index&amp;pagename=Installing%20NetPBM%20for%20Windows

but I still get the same error. Should I download something different?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-05-03 01:35

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 (

)

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-05-03 02:40

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?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-05-03 02:44

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 (

)

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-05-03 02:47

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.

 
sicjoke

Joined: 2003-05-15
Posts: 8
Posted: Thu, 2003-05-15 22:58

how come my installation never went that well :(

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-05-16 03:49

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 (

)

 
pluddle
pluddle's picture

Joined: 2003-05-16
Posts: 2
Posted: Fri, 2003-05-16 15:55

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!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-05-16 17:08

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 (

)

 
AutobahnTDI

Joined: 2003-05-02
Posts: 38
Posted: Sat, 2003-09-06 16:49

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/

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2003-09-06 16:53

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.