|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
strange error message on initial runwhen I point to index.php I get a message from firefox:
The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. Any Ideas on how to fix this? Thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ______________________________________ phpLDAPadmin development mailing list. To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel http://phpldapadmin.sourceforge.net/ |
|
|
Re: strange error message on initial runI just dealt with this issue a few days ago when upgrading from 1.0.1
to the latest 1.1.0.5 ... as it turns out it was encountering an error and instead of showing a proper error it gets itself caught into an infinite redirect from the "system_message" function in "/lib/functions.php". I had to comment/disable the redirect on line 613 of "/lib/functions.php" for starters, then I could start to analyze the remaining files of code and place quick breakpoints (or simple echo statements) throughout the code to find out what was wrong. [ /phpldapadmin/lib/functions.php : line 612-615 ] -------------------------------------------- if ($redirect) { // header("Location: $redirect"); // comment to prevent redirection // die(); } -------------------------------------------- I don't know if this methodology is intentional, but it is somewhat close to being an issue of improper error handling ... of which I don't have time to fix at the moment, ah, and I am not a dev for this project either. So anyway, what I found out was that I had a mistyped value in "/config/config.php" for the $ldapservers array ... therefore, it WAS my fault that made the whole thing blow up. Specifically, somehow I changed 'dn' in this line to 'uid' while setting it up. Since I didn't even try to use phpldapadmin until I had the whole server working, I had no idea that I broke it so early on in the configuration. [ /phpldapadmin/config/config.php ] -------------------------------------------- $ldapservers->SetValue($i,'login','dn','cn=Manager,dc=domain,dc=tld'); // this is correct -------------------------------------------- I'd suggest that you might be experiencing a similar issue, but I don't know how widespread the mis-managed error handling is. But definitely start with this array, and make sure you've established all the values properly. Good luck, I'll keep an eye out if you need further help, and please post when/if you do find an answer! wd On Tue, Jun 3, 2008 at 5:56 PM, Bruce Ferrell <bferrell@...> wrote: > when I point to index.php I get a message from firefox: > > The page isn't redirecting properly > > Firefox has detected that the server is redirecting the request for this > address in a way that will never complete. > > * This problem can sometimes be caused by disabling or refusing > to accept cookies. > > > Any Ideas on how to fix this? > > Thanks > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ______________________________________ phpLDAPadmin development mailing list. To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel http://phpldapadmin.sourceforge.net/ |
| Free Forum Powered by Nabble | Forum Help |