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 08-01-2013, 04:10 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Moving VB4 to a different Directory.

Hi Guys,

Posting here as I hope someone can point me in the right direction.

I was to move my forum to a different directory on the same server domain.

I understand it is as simple as Options -> Site Name / URL / Contact Details.

I've changed "Forum URL" and "Homepage URL" to the new directory hit save then renamed the directory using FTP program and when I go to the new directory I get a 500 error.

I had VBSEO installed until recently but have no successfully uninstalled that and I have disabled all addons via the config.php.

I have attachments and avatars as files but I can't find an option to change the url to those so I doubt it's that.

Any advice would be really appreciated!
Reply With Quote
  #2  
Old 08-01-2013, 07:20 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you remove the .htaccess file for vbseo?
Reply With Quote
  #3  
Old 08-01-2013, 07:56 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes Lynn I did, well the second time around and still nothing.
Reply With Quote
  #4  
Old 08-01-2013, 10:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A 500 error is a server error, so something should be in your error_logs (if you don't know where they are, ask your host). What is in there?

And, what type of Friendly URLs are you using? Can you see any of the pages of your forum? Link please.
Reply With Quote
  #5  
Old 08-02-2013, 06:05 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne the only PHP Fatal error I can see in the error logs is:

Code:
Fri Aug 02 07:15:38 2013] [error] [client 86.xx.xx.xx] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/vb.php' (include_path='.:') in /var/www/vhosts/mydomain.com/httpdocs/forum/includes/class_bootstrap_framework.php on line 99
But that is calling on the original directory name of "forum" not the new one?

URLS are the standard one in VB now that vBSEO has been fully uninstalled and no can not see any pages on the forum nor the admincp. It's just lucky I keep an old tab open with the old adminCP in where i add it back to /forum/ and rename the directory back that I can access the forum otherwise I'd be locked out.
Reply With Quote
  #6  
Old 08-02-2013, 10:10 AM
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Oct 2005
Location: Czech
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe chmod is incorrect.
Reply With Quote
  #7  
Old 08-03-2013, 12:48 PM
enforcer786 enforcer786 is offline
 
Join Date: Jul 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I did when I needed to move my forum to a different directory was that I went into my VPS panel, in my case parallels and changed it so that my domain wasn't /httpdocs/ it was /httpdocs/folder/
Reply With Quote
  #8  
Old 08-05-2013, 08:03 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mokujin View Post
Maybe chmod is incorrect.
CHMOD is correct as I just rename the directory and it works if i rename is back.

I've enabled error messages in the config.php and I get this when trying to access (with plugins disabled via config.php)

Warning: require_once(/vb.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/mysite.es/httpdocs/forum/includes/class_bootstrap_framework.php on line 99

Fatal error: require_once() [function.require]: Failed opening required '/vb.php' (include_path='.:') in /var/www/vhosts/mysite.es/httpdocs/forum/includes/class_bootstrap_framework.php on line 99
Reply With Quote
  #9  
Old 08-05-2013, 10:37 AM
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Oct 2005
Location: Czech
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This error means file vb.php was not found in vb folder , you should reupload it.
Reply With Quote
  #10  
Old 08-05-2013, 10:57 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's because it's still looking for it in the old directory and not the new so obviously something is not updating the new folder name hence the problem.
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 01:59 AM.


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.06243 seconds
  • Memory Usage 2,244KB
  • Queries Executed 11 (?)
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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete