installation of Gallery on fox serv2.0 and windows 2000

krotaz

Joined: 2003-02-13
Posts: 21
Posted: Thu, 2003-02-13 18:55

Hi well I've tryed ton install gallery's last version (1.3.1) on my internal windows 2000 pro server. I have installed the FoxServ 2.0 with phpnuke 6.0 and I've downloaded the Gallery and NetPBM 1.1 then what??? I unzip the files into the phpnuke directory and configure the phpnuke to activate the Gallery module. The problem happens when I try to access it. The galley shows me a message that says that I have to run the configure.bat script and all that stuff.

I ran the script and tryed to acces to the gallery and then I do clic on the link that say's to start the Conf. Wizard but sends me a Error 400!!!

Hope you can help me!!!

my mail by the way is

------
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: 1.3.1
Apache version: 1.3.22
PHP version (don't just say PHP 4, please): php 4.0.6
Operating system: Win 2000 pro with service pack 3
Web browser/version (if applicable): internet Explorer 6

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2003-02-13 21:59

Well, do what it says. Put Gallery into config mode and run the configuration wizard. After this, secure it. If you get a 500 error, delete the .htaccess file in the setup/ directory.

Everything I just said is in the FAQ & README files.

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 15:01

Yes I know but the problem is that I done that and nothing happend.

I did this steps.

1-unzip the gallery.zip files into the phpnuke modules directory.
2- open phpnuke in admins mode and tell him to activate gallery module.
3- put gallery into config mode.
4- go to the phpnuke and clic on the link to the gallery mode. then a page told me that gallery isn't on the config mode and tell me the comands to put it on the config mode but on the buttom of the page appears a link to the config wizard.
5- do a clic on that link and then appears that error page!!!

What should I don==== :cry:

 
alindeman
alindeman's picture

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

What's the error?

Can you get to Gallery directly (i.e. not through Nuke).

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 15:15

the error says:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gallery has not been configured!

Gallery must be configured before you can use it. First, you must put it into configuration mode. Here's how:

Unix with shell access
% cd /path/to/your/gallery
% sh ./configure.sh

Unix with FTP access
ftp> chmod 777 .htaccess
ftp> chmod 777 config.php
ftp> chmod 755 setup

Windows
C:> cd pathtoyourgallery
C:> configure.bat

And then start the Configuration Wizard If you experience problems, you should seek help on the Gallery Help Page
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Ok if I can get to gallery directly. How can I do it???

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 15:20

OK, have you gone through the configuration and saved it? If so, have you secured gallery? Can you give us the address to your site & gallery?

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 15:29

No havent gone through the configuration because I cant!!!

I can't gie you my site adress because I'm on a Lan and I'm behind a firewall would you like that I open a port and gve you an static adress so you can access????

:smile:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 15:31

If it's not too much trouble, you can try to open a port and give me the address.

However, have you chmodded those files yet? You need to create two blank files (config.php and .htaccess) and chmod them 0777. You also need to chmod the setup/ directory 0755. If you've done this and Gallery still doesn't let you configure, then post back.

If you get some kind of 500 error or 'Internal Server Error', delete the .htaccess file in the setup/ directory.

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 15:35

Well I'll try to open the port.

I cant do a Chmod because I'm on Windows!!!!

Do you have any msnmessenger account so we can chat???

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 15:55

You can talk to me on AIM at thejoyoflinux. However, give me about 20 minutes or so to get on.

If you're on Windows, you need to run configure.bat from the command line (see the instructions in the README).

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 15:57

I sent you a mail with the ip adress.

Ok I ran the .bat script and then???
I have to open the wizard!!! but how do I open it??? :eek:

 
alindeman
alindeman's picture

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

Where did you send it?

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 16:19

It didn't arrive because it didn't found your @NOSPAMMyahoo.com

is that your mail or only @yahoo.com

 
alindeman
alindeman's picture

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

yes, it's spam-protection, remove the NOSPAMM

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 16:28

ok.

Well but if I ran the configure.bat file then how am I supposed to run the configuration wizard??? :eek:

 
alindeman
alindeman's picture

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

There should be a link. If not, try navigating to the setup/ directory.

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 17:06

how do I found that link???

and

If I navigate to the setup/ directory I do find an Index.php.

When I open it with Internet Explorer it sends me this lines

n"; return $buf; } foreach ($preserve as $key => $val) { if ($key && !$onThisPage[$key]) { print embed_hidden($key); } } // String-ize preserve list $preserve = join(" ", array_keys($preserve)); print embed_hidden("preserve"); ?> n"; return $buf; } foreach ($preserve as $key => $val) { if ($key && !$onThisPage[$key]) { print embed_hidden($key); } } // String-ize preserve list $preserve = join(" ", array_keys($preserve)); print embed_hidden("preserve"); ?>

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 17:13

by the way

What for is the Netpbm??? or where am I suposed to unpack those files???

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 17:31

ok ok ok ok.

Lets see.

To install the gallery on my windows 2000 pro phpnuke server what do I need??

Gallery and the Netpbm???

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 17:45

Yep. Make sure you get the binaries for Windows, and if necessary (if you use FTP), use BINARY mode. If you were on Unix/Linux, you should chmod them 0755, but this isn't applicable. In the configuration, tell Gallery where you put them. One other pointer, don't put them in a directory tree with a space in it (e.g. c:program files wouldn't work)

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 17:50

aim sucks man!!!

I've been trying to obtain an acount and nothin!!!

WELL LETS SEE

I do unpack the gallery files on my FoxServ the path is this: C:FoxServwwwhtmlmodulesGallery.

Then I do have the NetPMB and into the zip comes a Readme file that said to unzip the files to any directory and then ad the Netpmb directory to my PATH!! Wich path????

Am I ok???

Then what???

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 18:03

You can unpack NetPBM anywhere where there is not a space in the directory. You tell Gallery where NetPBM is in the configuration wizard (are you able to get to that yet?)

BTW, the IP you sent me keeps timing out. I'm able to ping it, but not get a web page from it...

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 18:08

ok I got the idea with netpmb or the whatever it's it name.

Now please imagine I'm a 10 years old kid. What am I supposed to do to installa gallery.

1-Download the zip
2-Unpackit but where?? anywhere??? on my phpnuke directory??
3-after unpackinig it I have to run the configure.bat file.
4-I have to run the configuration wizard. but how???

Thanks :grin:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 18:15

OK...Got it...Here goes (use this in conjunction with the README).

Download the zip and unpack it in the modules/ directory of Nuke. Download NetPBM and put it in some directory anywhere without a space. Put it into config mode by running configure.bat Navigate to the setup directory (e.g. http://mynukesite.com/modules/gallery/setup/index.php ) Run the configuration wizard, specify all that good stuff. Run secure.bat. Go to the Nuke admin area and active the gallery module.

That should do it. Post back with any other problems or clarifications :smile:

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 18:25

well it didn't workd
:???:

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 18:28

I ran the configure.bat script and it appears a message that said

Didn't dind C:FOXSERVWWWHTMLMODULESGALLERYsetupSECURE
:
: You are now in setup mode, which is *INSECURE*. Your Gallery
: installation can be configured by pointing your web browser
: to the URL to 'setup' in this directory.
: When you are done with your installation, don't forget to
: run the secure.bat script!
:

is there something wrong?? on the first line?? :sad:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 18:35

Can you still get to the setup page? This is just a file to tell Gallery it's secure because chmods don't apply on Windows. This is probably normal. Can you access the configure wizard. e.g. if you go to that (example) address in my last post...

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-14 18:38

no I cant!!!!1 :cry: :cry: :cry:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-02-14 19:34

What happens if you try?

 
Phosy

Joined: 2003-02-17
Posts: 3
Posted: Mon, 2003-02-17 14:57

I have the same Problem!

Using: FoxServ 2.0 (Apache 1.3, PHP 4.0.5 [I think?!])
On: WindowsXP

Downloaded: Gallery 1.3.3

Extracted the file, ran the configure.bat over the command line, pointed the browser on the gallery directory ... following message:

Quote:
Gallery must be configured before you can use it. First, you must put it into configuration mode. Here's how:

Unix with shell access
% cd /path/to/your/gallery
% sh ./configure.sh

Unix with FTP access
ftp> chmod 777 .htaccess
ftp> chmod 777 config.php
ftp> chmod 755 setup

Windows
C:> cd pathtoyourgallery
C:> configure.bat

And then start the Configuration Wizard If you experience problems, you should seek help on the Gallery Help Page

Used the link to the Configuration Wizard, following message:

Quote:
Bad Request
Your browser sent a request that this server could not understand.

I'm a complete newb so i thought FoxServ (a ready Server which includes PHP and Apache) is a very good possibility for me to test some PHP things. I tried to install several other php scripts - without problems (for example inv board)

Maybe you can help me - would be very happy :wink: thanks
Phosy

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Mon, 2003-02-17 21:33

I don't know what is going on with galley!!!

I have just reinstalled my pc and did the steps that joyoflinux toldme and still sending the same error 400 whats going on??? :evil:

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Wed, 2003-02-19 15:46

helppppp

I cant do gallery work!!!!! :sad: :sad: :sad: :sad:

 
Phosy

Joined: 2003-02-17
Posts: 3
Posted: Wed, 2003-02-19 20:34

i didnt get the gallery working with foxserv 2 but it worked with no problems when i tried foxserv 3.0:

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Thu, 2003-02-20 00:31

ok thanks for the info.

But how can I configure the foxserver to run phpnuke could you help me with that via mail??

Thanks!!!

 
bunno

Joined: 2003-02-20
Posts: 3
Posted: Thu, 2003-02-20 12:04

i can run after have the following change

1.rename the file to (some name).php

and then

2. """""http://localhost/.......gallery/setup/index.php""""
change to
"""""http://localhost/.......gallery/setup/(some name).php""""

:grin:

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Thu, 2003-02-20 14:11

Thanx MAN!!!!! Thank you very much. Gallery is working now!!!!

You rock bunno!!!! :cool:

 
bunno

Joined: 2003-02-20
Posts: 3
Posted: Tue, 2003-02-25 09:20

Hi krotaz ,
Could you show me how you set the configuretion,what image programme you are uesd(netpbm or image....) and where you place these file .

I configurated it many many time but still have many warning message !

thank you!
:sad:

 
krotaz

Joined: 2003-02-13
Posts: 21
Posted: Fri, 2003-02-28 17:48

Bunno.

I don't want to be a party pooper but the thing is that I don't like very much this program and I decided to use My E-gallery!!!! :roll: