PDA

View Full Version : Login.php Problems


irishfreakout2
07-28-2004, 02:11 PM
When I set permissions so that unregistered/not logged in users cannot view the page, I naturally get the page that starts with:

"vBulletin Message

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons: "

This is when i try to access cmps_index.php (or whatever i name it, doesn't matter). The problem is that it will not allow me to login with this page because it specifies the action to post to "login" instead of "login.php" (so missing the .php)

I get a page that looks the EXACT same when using the normal index.php but it properly posts to login.php.

I am not sure how to rectify this... are these two indexes building two seperate login pages?

Help would be much appreciated

Brian
07-28-2004, 03:49 PM
If you'll look in your /forum/includes/vba_cmps_include_bottom.php file for this code:

"\"$vboptions[bburl]/login"

And replace it with:

"\"$vboptions[bburl]/login.php"

Then that should fix the problem.

Our Sponsors
 

irishfreakout2
07-29-2004, 11:52 AM
Thats it! Thanks Brian!

akmartin
09-19-2004, 11:38 PM
Brian,

I've got the same problem, except I'm coming back with:
http://www.newtongamers.com/login.php

which, in order to work, should be:
http://www.newtongamers.com/forum/login.php

My forum URL is:
http://www.newtongamers.com/forum

and my site URL is:
http://www.newtongamers.com/

Our Sponsors
 

akmartin
09-19-2004, 11:48 PM
Scratch that. I did some more searching and found the solution of editing the STANDARD_ERROR template, which worked.

KIX
10-12-2004, 02:20 PM
I have th eexcat same problem Here......

what did you do???? HELP....!!!!

KIX
10-12-2004, 02:24 PM
ok I found a solution I changed <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">


to


<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<form action="foro/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">

but anyways when I log in I brings me back to the login screen...I have changed everything,, the URL to the forums, cleared the cookies, changed the directory for the cookies,,,,AGHHHHHH somebody help me...

akmartin
10-12-2004, 02:33 PM
Look at this thread: http://www.vbadvanced.com/forum/showthread.php?t=519

KIX
10-12-2004, 10:44 PM
thanks I read it and It finally solved my problem...

Gronilot
10-13-2004, 01:12 PM
If you'll look in your /forum/includes/vba_cmps_include_bottom.php file for this code:

.

Where do I find this file?

I have searched in "languages and phrases" and also through style manager in templates.

I have searched both with the filename and by "\"$vboptions[bburl]/login"

I have followed the instructions for Standare Error template-

I am now able to "login" but to "register" still goes to 404 page.

Thanks

Brian
10-13-2004, 01:37 PM
Your /forum/includes/vba_cmps_include_bottom.php FILE on your server.

Gronilot
10-13-2004, 02:34 PM
Thanks so much for such quick responses.

TORON
10-30-2004, 06:57 PM
Just for the record I too had this problem, did a search here and found your solution to add .php at the end of "login"

"\"$vboptions[bburl]/login" and renamed it to login.php seems to have worked.

Thanks for the post.

KIX
11-02-2004, 09:45 PM
I have the weirdest Problem.....

Ok I have Vb 303 working perfectly and Vbadvanced also Photopost all sharing the same database users.

If I go to the forums home page : www.automania.com.mx/foro/upload

I can login there and WIll stay logged in in all pages.

But lets say that th eforum page has a link with a button that returns me to th eportal (in this case www.automania.com.mx) I logs m eout and when I try to RE log in it gives me the greetings page and then I return LOGGED out. If in this place I type the forum home page and re log in there ther eis no problem.

My vba ....bottom fil ehas the login.php change.

I have changed my path to cookies to .automania.com.mx and it prevails, also I remove and put only "/" It prevails...I know its weird any help would be appreciated....

Brian
11-02-2004, 10:07 PM
Was your 'Path to Save Cookies' option set to something other than '/' before? If so, be sure it's set to '/' and try clearing your cookies.