vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Moving VB4 to a different Directory. (https://vborg.vbsupport.ru/showthread.php?t=300718)

zelnik 08-01-2013 04:10 PM

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! :)

Lynne 08-01-2013 07:20 PM

Did you remove the .htaccess file for vbseo?

zelnik 08-01-2013 07:56 PM

Yes Lynn I did, well the second time around and still nothing.

Lynne 08-01-2013 10:13 PM

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.

zelnik 08-02-2013 06:05 AM

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.

mokujin 08-02-2013 10:10 AM

Maybe chmod is incorrect.

enforcer786 08-03-2013 12:48 PM

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/

zelnik 08-05-2013 08:03 AM

Quote:

Originally Posted by mokujin (Post 2436693)
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

mokujin 08-05-2013 10:37 AM

This error means file vb.php was not found in vb folder , you should reupload it.

zelnik 08-05-2013 10:57 AM

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.


All times are GMT. The time now is 02:17 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.01216 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete