PDA

View Full Version : help me guys... i can't log in ..


zairafusco
09-09-2011, 05:08 PM
hi,
i'm working on my vbulletin site, installed some mods, doing some customization...everything fine until now:
i was "playing" with the registration template, adding this hidden fields to the form:
<input type="hidden" name="timezoneoffset" value="1" />

that's because i removed the timezone option block...

then i wanted to add another hidden field concerning the dst options..i didn't found anything on the net, just the option to do that using a query (fixing the dst setting at once) but i wanted this to happen automatically, so i found this variable "dstonoff" in some vb threads (it was about vb3 but.. who knows.. https://vborg.vbsupport.ru/showthread.php?t=71237)


and added (out of pure luck) this line:

<input type="hidden" name="dstonoff" value="true" />

from that point on i can't log in, as admin or as user, i'm only able to log in as a new user, but only once, if i log out and then log in again it says the name/password are wrong... doing the "new password by email" routine has no effect ...

i don't know if that modification has something to do with this mess..it's only a guess...

anyway i just removed those lines editing directly the template in the database but i'm still stuck...


and.. how can this happen? it's only an early stage...there is some vb4 bugs i don't know about?




please help me, i spent many days working on that, and i was about to run the first "official" test before publishing...

thanks to everyone

kh99
09-09-2011, 05:31 PM
I don't see how editing that template would have made it so you can't log in, it seems like something else must have happened. Can you log in as admin if you go directly to admincp/index.php?

You could also try disabling all plugins by editing your includes/config.php and adding this line:

define('DISABLE_HOOKS', true);


right after the <?php line at the top.

zairafusco
09-09-2011, 05:42 PM
i tried both.. no way..

(after edited config.php, if i understood what you meant, i just tried the page mysite/includes/config.php hoping that would fix it.. it disabled the mods, as i can see browsing the site, but i still can't log in)

....

it's very depressing but thank for the fast help!... can you think about something else to fix this?

--------------- Added 1315594257 at 1315594257 ---------------

maybe you can suggest something to set the default vb style and see what happens?

kh99
09-09-2011, 05:59 PM
I suppose you could try adding "styleid=1" to the url.

zairafusco
09-09-2011, 06:11 PM
you're right off course... didn't work.. i managed to activate the debug mode and that's what i got after login (failed)

kh99
09-09-2011, 06:24 PM
Hmm...I don't know, but someone else might. I think I remember other people having this problem, but I don't remember what the solution was.

Did you try clearing the cookies from your browser?

There's also a tools.php file in the "do not upload" directory of the distribution. If you upload that to the admincp folder then go to admincp/tools.php there are some options for recovering things. But to be honest I was just looking them over and didn't see any that I thought might help, and it's possible that some of them might mess things up even more.

zairafusco
09-09-2011, 06:27 PM
thanks for your support.. i will give it a try and hope someone remembers how to fix a similar issue.. thank you again

zairafusco
09-10-2011, 07:27 PM
ok, suddenly everything is fine... i don't know what to think about that.. if the very same thing happens after publishing the site.. !!