By Anonymous (not verified) on
Anyone have any suggestions as to what the problem may be?
I have a suspicion that it may have something to do with my PHP4 installation...since it was giving me troubles earlier.
"Register" points to module.php which contains:
// $Id: module.php,v 1.13 2002/03/05 22:53:51 kjartan Exp $
include_once "includes/common.inc";
if (module_hook($mod, "page")) {
page_header();
module_invoke($mod, "page");
page_footer();
}
else {
header("Location: index.php");
}
So it looks like common.inc isn't working or something...?
Kane
Comments
register globals
you probably have register globals off. add this to your conf.php:
--
Marco
--
Marco
Thank you!
Awesome. I was having the same problems, and all i did was copy/paste that into my conf.php file and i was running.
Desertfox
WOW
Took me about two hours of searching... After the initial install I kept bumping back into the index.php-page.
and now it WORKS
I copied and pasted this (whatever it is
You made someone happy today
Thanks.
you may want to check your register_globals setting
(which should be "1") before using this workaround. latter is only needed if you cannot set register_globals from your php.ini or drupal's .htaccess.
Thank You
Thank you for posting this information...
Excellent help!
Thaks for that bit of code - it solved my problems as well!
JC
Neither the code nor register_globals worked for me
I tried both options and neither worked (i have a fresh install, but can't register the main user to follow on).
From what i seem to understand, the above code is passing environment variables to all URL GET or POST methods (please correct me). I think this problem might also have something to do with this, as my apache (2.2.23) and php (5.1.6) and all libraries (gd 2.0.33 for instance) are compiled into /usr/software (non standard place), although i resolved all dependencies for php using necessary configure options.
I used both solutions (register_globals = 1 and the code given above) with my php.ini file, but i still see nothing but a default Apache message ("Seeing this instead of the website you expected? ...) when i try to register main user.
First i thought this might be happening because i ran httpd 2.2.3 as daemon user (using User and Group in httpd.conf) which has no HOME folder and is set as nologin (and thus, i can't give him the PATH and other Environment Variables which might need by using a .bashrc file). So i did SetEnv PATH variable to php bin folder in httpd.conf, but it didn't work. I also created a user with a physical home folder and gave him all PATHs to non-standard /usr/software/programs, as well a LD_LIBRARY_PATH (inside his .bashrc), but it neither works. Finally, i did the same with root user (which is the user i run apachectl from), including all the PATH and LD_LIBRARY_PATH in its .bashrc file, but it didn't work neither.
Now i ran out of ideas, any other explanation/solution to this problem?
Thank you very much !!
Guillem.
Worked through it by connecting from elsewhere
Just for the archive, these problems only happened while i was trying to access the website from a web browser in the same computer as the web server. I tried to register the first user from a different computer (after restarting web server using a user account created adhoc) and worked fine.
Guillem.