PDA

View Full Version : Followed Install Guide Instructions but Admin Login Problems


argh2xxx
05-23-2006, 03:33 PM
I follow the install guide in the download. I got to step 6 and I'm confuse.

My site is working, except when I try to login as admin, it redirect me to index.html instead of admin's panel. Then I have to go back to admin login page and re-type in admin username and password again, and then it let me login into the admin panel.

I have to do that everytime. It's repeat and can be reproduce.

Do you know how to fix this problem?

Maybe I have to follow the instruction from the install guide comes with the download folder? To modify and do this:

If you are running your directory under a subfolder of your domain (example: http://www.your-domain.com/directory/)
please edit the .htaccess file.
In this case you need to add the foldername in the "ErrorDocument 404" statement:

- ErrorDocument 404 directory/index.php?httpstatus=404

But I'm confuse on how to do it. Does this mean .htaccess file inside the directory that have all the phplinkdirectory files and folders? Or .htaccess file from the /?

How do you modify it? etc... Will you make it clear? After fix this, will it fix my login into the admin panel problem?

Thanks...

Edit:::::::::

OOh, I notice that this happening with mozilla firefox, but not with IE. Weird.

Edit::::::::

Can I stop at step 5 and don't have to tackle with step 6? Since my site is doing just fine, without modify the .htaccess like step 6 explain in the installation guide.

Boby
05-23-2006, 04:00 PM
Yeah, I noticed that sometimes the login page redirects to index.php
I will try to fix this asap.

When you are redirected, go directly to admin/index.php and not admin/login.php and it will work, because you are already logged in ;)

Now to the htaccess...
If you are running your directory on the root level of your domain, like:
http://www.mydomain.com/
you have to leave the command as it is:
Content visible to registered users only.

If your link directory is in a subfolder of your domain, for example you access it like:
http://www.mydomain.com/directory/
only in this case you have to change the line in your htaccess file:
Content visible to registered users only.

Show me your directory and I will tell you what to use, if you are not understanding.

Good luck!
Boby

argh2xxx
05-24-2006, 12:40 PM
Thanks, I got it now.

Hope you fixing the error where admin log in and did not get redirect to admin panel.

Boby
05-24-2006, 01:22 PM
Content visible to registered users only.
Try this out...

Edit admin/login.php and search for (line 63)
Content visible to registered users only.

Add this right after that line:
Content visible to registered users only.

Let me know if it's working.
Boby