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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2014, 09:21 PM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Changed forum url and now having problems

Hello,

I just changed my url but I forgot to edit it in vb acp and now I am unable to log in and all of my urls (for example register & forums) are still pointing to my old url. Which file do I edit to update all of this info?

Sorry for my bad english
Reply With Quote
  #2  
Old 05-12-2014, 09:26 PM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also my site currently looks like the pic below....

Attachment 149107
Reply With Quote
  #3  
Old 05-12-2014, 09:38 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try editing it in the database. You'd want to edit the record in table datastore where title="options". What's stored in that field is a serialized array, so if you find and edit it you also have to fix the length. So it might say (somewhere in the middle of a long string)
Code:
s:5:"bburl";s:21:"http://mydomain/forum";
and if you change it to someotherdomain.com, you'd also have to fix the length, so you'd end up with:
Code:
s:5:"bburl";s:28:"http://someotherdomain/forum";
If you do this and get it working, the first thing you'd want to do is go to the options and change it there (it will still look like the old value because the datastore was changed but not the settings table).


There's a tools.php that you can upload to your admincp folder and it lets you fix some things, but I can't remember if the url is one of the things it lets you fix.
Reply With Quote
  #4  
Old 05-12-2014, 10:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Editing the datastore table, and the serialized data, isn't really recommended unless you really know what you are doing. If you are using a recent version of the software, you should be able to just change the bburl in the settings table and then upload the tools.php file from the do_not_upload directory to your admincp and point your browser at it and then click to rebuild the Options Bitfields. You will need to upload the /install directory (without the /cmsdefaultdata directory or the install.php or upgrade.php file) in order to run the tools.php script.
Reply With Quote
Благодарность от:
kh99
  #5  
Old 05-12-2014, 10:55 PM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I got this error when i tried to run tools.php

Warning: require_once(./install/includes/class_upgrade.php) [function.require-once]: failed to open stream: No such file or directory in /home2/dano925/public_html/admincp/tools.php on line 46

Fatal error: require_once() [function.require]: Failed opening required './install/includes/class_upgrade.php' (include_path='.:/opt/php52/lib/php') in /home2/dano925/public_html/admincp/tools.php on line 46
Reply With Quote
  #6  
Old 05-12-2014, 11:26 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reinstall the 'install' directory which you have removed per the advisement of vBulletin.

I found this recent reference:
http://www.vbulletin.com/forum/forum...rror-tools-php
Reply With Quote
  #7  
Old 05-13-2014, 05:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dj83 View Post
Hi,

I got this error when i tried to run tools.php



Warning: require_once(./install/includes/class_upgrade.php) [function.require-once]: failed to open stream: No such file or directory in /home2/dano925/public_html/admincp/tools.php on line 46

Fatal error: require_once() [function.require]: Failed opening required './install/includes/class_upgrade.php' (include_path='.:/opt/php52/lib/php') in /home2/dano925/public_html/admincp/tools.php on line 46
As I stated....
Quote:
Originally Posted by Lynne View Post
You will need to upload the /install directory (without the /cmsdefaultdata directory or the install.php or upgrade.php file) in order to run the tools.php script.
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 08:45 AM.


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.06214 seconds
  • Memory Usage 2,241KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_code
  • (2)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
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete