Can't get past Configuration Wizard
rbullington
![]()
Joined: 2002-09-17
Posts: 3 |
![]() |
My setup: Redhat 7.2 on Intel kernel 2.4.7 I've completely rebuilt Apache 2.0 from sources and applied PHP 4.2.3 - I know this works, because I can run ./gallery/setup/index.php I've also check that register_globals is On in /usr/local/lib/php.ini - I run sh ./configure.sh Instead of seeing my albums, I see the infamous "Gallery has not been configured page!". I've done this before without any probs, and now, after reading the FAQ's, searching the forums, eyballing the php source and general head-banging, I could really use a little friendly advice from a kind wizard reading this forum. What would trigger the strange looping behavior? Are there some permissions or values in my gallery directories that would point to the problem? Thanks in advance! |
|
rbullington
![]()
Joined: 2002-09-17
Posts: 3 |
![]() |
O.K. I can see that you don't support Apache 2, so I will give using apache 1.3.26 one more try. Initially, I had big problems applying php4 to the apache 1.3.26 source tree, but I can now at least see that php4_mod.c is loaded with 1.3.26. If I can make Gallery work with 1.3.26, I will post another followup. Since I have PHP working under both Apache 2 and Apache 1.3.26, the results might be useful to the group. |
|
rbullington
![]()
Joined: 2002-09-17
Posts: 3 |
![]() |
Working under Apache 1.3.26 with php 4.2.3. Apache was built with: PHP was applied with: Hopefully, Apache 2 will be supported soon, as this will soon become the new "stable" version of apache. |
|
psg11
Joined: 2002-09-07
Posts: 54 |
![]() |
Yeah! but it's a php problem, I guess when php will support apache2(<->) gallery should follow. |
|
ariven
Joined: 2002-09-20
Posts: 6 |
![]() |
Quote:
Yeah! but it's a php problem, I guess when php will support apache2(<->) gallery should follow. I am not using apache at all, and with a slightly older release of PHP I was able to get past the configuration wizard.. but when I upgraded to PHP 4.2.3 it ceased allowing me to get past... I tried listing all errors and nothing is showing, my minimal php skills don't show me anything in the source thats funky... but then I am not a php wizard.... |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Probably because register_globals is now on by default. This is FAQ C.14. Upgrade to Gallery 1.3.1 -- it works with register_globals off. |
|
ariven
Joined: 2002-09-20
Posts: 6 |
![]() |
Quote:
Probably because register_globals is now on by default. This is FAQ C.14. This is with 1.3.1 I was trying to set it up for the first time and decided to upgrade PHP to the latest micro-revision and bammo.. no more gallery. |
|
ariven
Joined: 2002-09-20
Posts: 6 |
![]() |
Quote:
Probably because register_globals is now on by default. This is FAQ C.14. Just went in and tried it with register_globals turned on, and tried it with the latest bleeding edge 1.3.2, no go either way.. it just wont acknowledge that it has been configured.. I suspect it has something to do with the revision of PHP and -not- specifically apache 2 since I am not even running apache.... |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
ariven, what webserver are you using, if not Apache? We only provide support for Apache 1.x, so you're probably on your own here. Also, can you be more specific when you "it just wont acknowledge that it has been configured". Does this mean that you complete the wizard, but then when you go to the Gallery you get a "needs configuration" message? There are three such messages, which one are you getting? Please provide the URL to your Gallery, and the URL to your PHP diagnostic. Thanks. |
|
ariven
Joined: 2002-09-20
Posts: 6 |
![]() |
Quote:
ariven, what webserver are you using, if not Apache? We only provide support for Apache 1.x, so you're probably on your own here. Aolserver :smile: Which is supported by PHP btw... Quote:
Also, can you be more specific when you "it just wont acknowledge that it has been configured". Does this mean that you complete the wizard, but then when you go to the Gallery you get a "needs configuration" message? There are three such messages, which one are you getting? Yes, thats what I mean, I get the one titled: "gallery has not been configured" Quote:
Please provide the URL to your Gallery, and the URL to your PHP diagnostic. Thanks. http://www.randomramblings.com/gallery/ One thing I am noticing in a lot of threads here complaining of similar problems is the only static thing is the 4.2.3 version of PHP, but I can't find what the difference would be that could cause it, but then I am not an expert at PHP... I have tried the bleeding edge revision, register_globals on and off, and would definately love to use gallery, but don't want to have to set up a second webserver (apache) to do it.. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Humm. I don't have AOLServer set up and I can't reproduce your problem. I guess this is the point where I offer you my <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Donation%20Based%20Support" TARGET="_blank">Donation Based Support</A><!-- BBCode End --> option. |
|
ariven
Joined: 2002-09-20
Posts: 6 |
![]() |
Quote:
Humm. I don't have AOLServer set up and I can't reproduce your problem. I guess this is the point where I offer you my <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Donation%20Based%20Support" TARGET="_blank">Donation Based Support</A><!-- BBCode End --> option. well I would avail if 1) I had the spare $20 at the moment and 2) I met the qualifications ... :smile: since aolserver isn't on the list.. What I -am- doing on my end is: 1) setting up another box I borrowed, I am going to be putting apache 1.x on it and the latest rev of PHP to see if it replicates the problem. If so, it will give me a basis to narrow things down from that end because I suspect from what I am reading of people with similar problems that PHP changes are the culprit 2) I am (as I can spare the time) peeling out code chunks from gallery trying to isolate just where the problem is.. no luck yet.. but I should be MUCH better at PHP by the time I am done. but rest assured that if I can figure it out I will let you know what I narrowed it down to, and if I -do- get gallery running I will be donating anyway :smile: |
|
ariven
Joined: 2002-09-20
Posts: 6 |
![]() |
Quote:
Humm. I don't have AOLServer set up and I can't reproduce your problem. I guess this is the point where I offer you my <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Donation%20Based%20Support" TARGET="_blank">Donation Based Support</A><!-- BBCode End --> option. I promised I would give you what I found out... :wink: I took this in init.php: and added: just before it and jadaboom.. I got right on past the configuration screen.. I am suspecting there is some difference in the php you are using and the bleeding edge one that is telling it to do something different when it cant' find the variable... or there is some toggle I am missing in php.ini.... any ideas? I really don't want to hack into ALL the php files and put in a hardcoded GALLERY_BASEDIR, but I suspect that if I do, everything will start working fine... |
|
Maddox
Joined: 2002-10-01
Posts: 2 |
![]() |
I used to have that same problem, the error seems to be in the way that php 4.2.3 behaves. I upgraded to the current snapshot and it works quite happily. hope it helps |
|
zeroasterisk
![]()
Joined: 2002-10-07
Posts: 1 |
![]() |
System FreeBSD gsd-devel.mercer.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 the server was just built, so i've not yet applied the patch to PHP... i'm just wondering if anyone has other information (the patch will be applied, i will report if that worked for me as well). anything? |
|