Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2011, 05:08 PM
zairafusco zairafusco is offline
 
Join Date: Mar 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default help me guys... i can't log in ..

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
Reply With Quote
  #2  
Old 09-09-2011, 05:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

PHP Code:
define('DISABLE_HOOKS'true); 

right after the <?php line at the top.
Reply With Quote
  #3  
Old 09-09-2011, 05:42 PM
zairafusco zairafusco is offline
 
Join Date: Mar 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1315594257[/DATE] at [TIME]1315594257[/TIME] ---------------

maybe you can suggest something to set the default vb style and see what happens?
Reply With Quote
  #4  
Old 09-09-2011, 05:59 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suppose you could try adding "styleid=1" to the url.
Reply With Quote
  #5  
Old 09-09-2011, 06:11 PM
zairafusco zairafusco is offline
 
Join Date: Mar 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you're right off course... didn't work.. i managed to activate the debug mode and that's what i got after login (failed)
Attached Images
File Type: jpg error_firstpart.jpg (95.1 KB, 0 views)
File Type: jpg error_secondpart.jpg (9.3 KB, 0 views)
Reply With Quote
  #6  
Old 09-09-2011, 06:24 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 09-09-2011, 06:27 PM
zairafusco zairafusco is offline
 
Join Date: Mar 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for your support.. i will give it a try and hope someone remembers how to fix a similar issue.. thank you again
Reply With Quote
  #8  
Old 09-10-2011, 07:27 PM
zairafusco zairafusco is offline
 
Join Date: Mar 2011
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, suddenly everything is fine... i don't know what to think about that.. if the very same thing happens after publishing the site.. !!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04229 seconds
  • Memory Usage 2,247KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete