Donate Share

The Empowered Non-Profit

Tracker: Support Requests

5 login url changes to https:... - ID: 2785073
Last Update: Comment added ( nobody )

At my initial login, after setting up the database, when directed to
http://mydomain.com/subdir/forms/main/login.php instead of giving me a
login page it changes the url in the browser and tries to go to:
https://mydomain.com//subdir/forms/main/login.php
Note it is then https: and there's an extra slash after the domian name.

I had no problem pulling up ReadMe.txt in my browser, so there doesn't seem
to be a problem with my subdirectory. Is this a permissions problem or
what? It's a fresh install on a functioning Apache server with PHP and
MySQL up to date. The database appears to be in order and the initial
installation completed with no errors.

Any ideas?


Nobody/Anonymous ( nobody ) - 2009-05-01 14:27

5

Open

None

John Zimmerman

Install Problem

None

Public


Comments ( 4 )




Date: 2009-05-03 03:22
Sender: nobody

Thanks, John. I'll be away from my computer until some time on Monday, so
will look it all over again and get back to you as soon as I get a chance.
Thanks!


Date: 2009-05-02 19:04
Sender: simplegiftsProject AdminAccepting Donations

Hmmm... This problem is completely unrelated to the original problem, so I
guess we're making progress.

This error indicates that a php library routine, used to encrypt URL
information, if failing, probably due to a bad seed value. The seed value
is stored as part of the session. Double check that you have cookies
enabled.

Beyond that I'd need to take a look. I'd be willing to take a look at your
installation, but I'd need ftp access to the site. If you'd like me to look
at it, please send me an email directly to my sourceforge email link.

Thanks,
John


Date: 2009-05-02 16:18
Sender: nobody

Thanks for getting back to me so quickly, John.

I don't have an ssl certificate on my site, so I tried the fix you
suggested. That allowed me to move forward, and come up with a login page.
Now I have a different problem. I can't log in. I see in the online
manual that the default username and password are admin/admin, but that
combination produces the following error:

Catchable fatal error: mcrypt_encrypt() [function.mcrypt-encrypt]: Mcrypt
initialisation failed in /[mypath]/forms/dbAustinLib/util_zUtilities.php on
line 204

Since the login page comes up with my own name instead of admin, I tried
that too. For that and any other user/pw combo, it gives me a clean
message: Your account information was not found. Click here to try
again....

Thanks again for your help!



Date: 2009-05-01 15:21
Sender: simplegiftsProject AdminAccepting Donations

Sorry you ran into this snag. Do you have an ssl certificate on your site?
If not, edit the file ./config/util_DEF_ENP.php.

Change the line:
define('CB_REQUIRE_HTTPS', true);
to
define('CB_REQUIRE_HTTPS', false);

By the way, the next release of the ENP will allow https access to the
entire site. Right now it only applies to log-ins and the Account Manager.

Another thing to try - if you alter the URL and remove the extra "/", will
it bring up the page?

Thanks,
John




Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.