Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2013, 12:56 PM
dwf_michael dwf_michael is offline
 
Join Date: Aug 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Locked out of my own forum

I've just moved my VB forum from a VPS to a shared server situation. All the files have moved correctly and the forum is semi-functional at the new location (the main page comes up, but nothing is linked to it).

The problem is that VB can't link up with any of its supporting files (either graphics or php files). We've figured out the source problem and changed the Apache alias file on the server, but now I need to make the corresponding change to the forum location field inside VB.

But because VB now has the wrong forum location field setting inside VB, I can't log in. Every attempt to log in just gives me "404 file not found".

Any ideas on how I can log into VB under these circumstances?
Reply With Quote
  #2  
Old 07-06-2013, 01:14 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried uploading all default files for your version and running the upgrade.php script or the tools.php file or both if needed
Reply With Quote
  #3  
Old 07-06-2013, 01:19 PM
dwf_michael dwf_michael is offline
 
Join Date: Aug 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Have you tried uploading all default files for your version and running the upgrade.php script or the tools.php file or both if needed
No, I haven't tried that.

We originally were able to log into VB at the new location and we changed the forum location setting in an attempt to solve the problem with the new server location but that wasn't the actual problem - the problem was in the Apache alias/redirects. Now that we've resolved the Apache alais/redirects issue, we now have a wrong forum location setting inside vb and that seems to be preventing the log-in. None of the VB page links work and none of the graphic elements show up (presumably because VB can't find those files where it is looking for them).

--------------- Added [DATE]1373120678[/DATE] at [TIME]1373120678[/TIME] ---------------

Quote:
Originally Posted by ForceHSS View Post
Have you tried uploading all default files for your version and running the upgrade.php script or the tools.php file or both if needed
I don't seem to have those .php files on my server (either original server or new server).

Ultimately, what I really need to do is correct the forum location setting inside VB. That's the problem. I need to log into VB to do that but I can't log into VB because it has the wrong forum location setting inside VB.
Reply With Quote
  #4  
Old 07-06-2013, 01:49 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to redownload the pack from the members area if you do use the tools.php remember to remove it after done you will find it in the do not upload folder
Reply With Quote
  #5  
Old 07-06-2013, 01:49 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you can get to the database (like using phpMyAdmin), then you could edit the field there, but it's a little tricky. You'd want to go to the datastore table and look for the row where title='options' and edit the value of the data field. It has the values of all the options in serialized format, so you need to search through the text looking for the value you need to change, and if the new value has a different length you'd also need to edit the length field. For example, if the field was currently set to "foo", somewhere in the data you'd find s:3:"foo", and if you wanted to change it to "something" you'd change it to s:9:"something".

If you get to the admincp after editing it, the options will still show the old value so the first thing you want to do is find that option and change it again (if you change anything else first, then the field you changed will go back to the old value).

Obviously this is a bit complicated if you aren't used to doing things like this, and it could be dangerous if you change the wrong thing (so you'd want to have a database backup if you don't already). Also, I'm not sure if that's what your problem is, I'm just going by what you said.
Reply With Quote
  #6  
Old 07-06-2013, 01:52 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or put in a support ticket see if they will do it for you
Reply With Quote
  #7  
Old 07-06-2013, 01:56 PM
dwf_michael dwf_michael is offline
 
Join Date: Aug 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
If you can get to the database (like using phpMyAdmin), then you could edit the field there, but it's a little tricky. You'd want to go to the datastore table and look for the row where title='options' and edit the value of the data field. It has the values of all the options in serialized format, so you need to search through the text looking for the value you need to change, and if the new value has a different length you'd also need to edit the length field. For example, if the field was currently set to "foo", somewhere in the data you'd find s:3:"foo", and if you wanted to change it to "something" you'd change it to s:9:"something".

If you get to the admincp after editing it, the options will still show the old value so the first thing you want to do is find that option and change it again (if you change anything else first, then the field you changed will go back to the old value).

Obviously this is a bit complicated if you aren't used to doing things like this, and it could be dangerous if you change the wrong thing (so you'd want to have a database backup if you don't already). Also, I'm not sure if that's what your problem is, I'm just going by what you said.
Quote:
Originally Posted by ForceHSS View Post
or put in a support ticket see if they will do it for you
Wow. I think I should follow ForceHSS's suggestion for that!

Alternatively, I'm thinking to just over-write my forum database sql file with my backup copy from the move. That has internal settings that are correct since they would be unchanged.

Btw, if I recall correctly, there are three settings inside VB options for the forum location setting. All three have to be corrected.
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 02:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05819 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete