Posts: 6
Threads: 1
Joined: Oct 2011
When I go to the login page for the admin panel where it asks for username and password after I login it sends me to the 404 page. What am I doing wrong? Installation went fine with no issues. Thanks in advance for any help you can provide.
Posts: 2,890
Threads: 59
Joined: Jun 2010
Hi,
It could be due to a bad upload. Try re-uploading the /comments/admin/ folder.
Have
you completed
the interview?
Posts: 6
Threads: 1
Joined: Oct 2011
(25-Oct-2011, 11:12 AM)Steven Wrote: Hi,
It could be due to a bad upload. Try re-uploading the /comments/admin/ folder.
Didn't work. It takes me to /admin/includes/index.php which is a 404 error page.
Posts: 2,890
Threads: 59
Joined: Jun 2010
Okay does the login page have the following URL?
www.yourdomain.com/comments/admin/
Do you have any .htaccess rules which may be affecting it?
Are there any error messages in your server error log?
Have
you completed
the interview?
Posts: 6
Threads: 1
Joined: Oct 2011
(25-Oct-2011, 05:54 PM)Steven Wrote: Okay does the login page have the following URL?
www.yourdomain.com/comments/admin/
Do you have any .htaccess rules which may be affecting it?
Are there any error messages in your server error log?
The login page is /comments/admin/index.php?page=dashboard
no idea about .htaccess rules
no error logs
Posts: 2,890
Threads: 59
Joined: Jun 2010
I don't know what else to suggest. It's possible that it's a session issue, in which case it would be best to talk to your host.
Have
you completed
the interview?
Posts: 6
Threads: 1
Joined: Oct 2011
(25-Oct-2011, 07:59 PM)Steven Wrote: I don't know what else to suggest. It's possible that it's a session issue, in which case it would be best to talk to your host.
Is this the correct page it is supposed to go to when I login to the admin panel?
/admin/includes/index.php
Posts: 2,890
Threads: 59
Joined: Jun 2010
No, it should go to /comments/admin/index.php?page=dashboard, the same URL as the login page.
You can see how it should work on the admin demo:
http://www.commentics.org/demo-menu.php
The bit of code which directs is line 62 in /comments/admin/includes/auth.php.
PHP Code:
<?php
header("Location: index.php?page=dashboard");
Have
you completed
the interview?