PDA

View Full Version : Cannot log into admin


fire3000
06-27-2005, 06:29 AM
Hey,

I am having a great deal of trouble logging into the admin panel.

When I click on the "To start setting up the directory access the administrative pages" I get the following error as a JavaScript alert box:

Redirection limit for this URL exceeded...

I am using WinXP.

Cheers in advance.

yktan
06-27-2005, 07:47 AM
No worries, just open up your browser and browse to:
http://yourdomain/phpfolder/admin
Replace yourdomain with your domain name and phpfolder with the folder where you installed PHP Link Directory.

You would then be shown the admin login screen. If not, then just post the error message that you see.

Regards,
yktan

fire3000
06-27-2005, 08:24 AM
Hey,

I get the following error message:

Redirection limit for this URL exceeded. Unable to lad the requested page. This may be caused by cookies that are blocked.

I am using Firefox. I am not blocking any cookies.

Cheers for your help.

yktan
06-27-2005, 08:35 AM
Hi, I tried my own installation with firefox and it works fine. Would you be able to post your url so that can I see what is the problem? Thanks.

yktan

fire3000
06-27-2005, 08:57 AM
Hi,

I am running it on my localhost - Apache.

Cheers.

yktan
06-27-2005, 09:03 AM
Hi again,

The problem that you're facing is very weird. The error message mentions about redirection but there shouldn't be any redirection at all. In any case, can you try to go straight to the php...like thus:

http://localhost/phplinkdirectory/admin/index.php

As mentioned, substitude the phplinkdirectory with the actual directory name you installed PHP Link Directory on...

Tell me if it shows the login screen.

Good luck

*Edited, wrong URL posted, sorry.
yktan

fire3000
06-27-2005, 09:48 AM
Hi,

This error is popping up all over the place. I did a google search and there are many people getting the same error.

I am having another problem which could be related to the above issue. On the intial start screen it tells me that "Fatal session.save_path is not set."

Could this be the issue?

Thank you for all your help.

yktan
06-27-2005, 10:03 AM
Yes thiscould be the issue.

In your php folder, open up php.ini
Search for the string session.save_path (those with a semicolon ";" in front means it's commented out, so you have to ignore those).
If there are none defined, just create a folder (maybe called temp) in your machine and make is it's world write-table, and then put a line in your php.ini pointing to it like such:
session.save_path = /temp

I'm not sure if this will solve the problem. If not, create a php file in your web root with the following contents:
<?php
echo phpinfo();
?>
And browse to it. It will display your php configuration details. Post that on the board for the experts to help you in configuring your machine.

fire3000
06-27-2005, 11:10 AM
Hey,

I did that and now I have php.ini pointing to a temp directory. But the issue is still there.

I think it has something to do with accecpting cookies.

Below is a screenshot of part of my php.ini

Content visible to registered users only.

Cheers.

yktan
06-27-2005, 11:25 AM
One quick question, what is the version of php that is installed on your machine? The settings look a bit different from mine.

fire3000
06-27-2005, 12:04 PM
PHP Version 4.3.11

Thanks yktan

David
06-27-2005, 03:01 PM
I recall someone else had this problem too. Hopefully, we can find the answer soon. In the meantime, it might be nice if you were able to do some of your testing on a webserver rather than localhost (if that is possible for you).