PDA


View Full Version : Log out problems


afkae
07-20-2005, 11:11 AM
I have had restrict my forum to registered users because of recent flood attacks. When I log off in either the links or gallery pages (both vbadvanced) it tries to look for the login.php in its own directory and ends up showing a 404 error message. How can I make them look in my forums directory?
Error Log:script not found or unable to stat: /home2/babypunk/public_html/links/login.php

Brian
07-20-2005, 11:59 AM
Try looking in your 'STANDARD_ERROR' template and add $vboptions[bburl] in front of all references to login.php, profile.php, and register.php.

afkae
07-20-2005, 12:48 PM
"$vboptions[bburl]login.php"
Like that?

Brian
07-20-2005, 12:59 PM
"$vboptions[bburl]/login.php"

afkae
07-20-2005, 01:04 PM
I did that and it's the same. When I try to log out it tries to got to http://mysite.com/links/login.php?do=logout&u=1 and http://mysite.com/gallery/login.php?do=logout&u=1 there is no login.php in those directories. login.php is in http://mysite.com/forums/login.php

**UPDATE**
It works alright in the default template but not in the extra style skins I have.

Brian
07-20-2005, 01:39 PM
You'll either need to modify your other skins, or make your other skins a child style of the one you modified then.

afkae
07-20-2005, 04:16 PM
I tried changing it in the xml file you upload for the style before hand and it works, but the header, footer and I think some of the images doesn't show

afkae
07-21-2005, 12:39 AM
Ok I have sort of fixed it. All I did was delete and re-install all the extra styles and did what you suggested by adding $vboptions[bburl] in front of all references to login.php, profile.php, and register.php in the style install xml file before I uploaded them again.
I'm still having trouble with the Home link up top under the header. It goes to MySite.com/links/cmps_index.php? instead of MySite.com/forums/cmps_index.php

P.S: Please excuse me as I am very new at all this.

Brian
07-21-2005, 01:15 AM
Make sure the link is pointing to /cmps-index.php