vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Why won't member.php work outside the forum directory? (https://vborg.vbsupport.ru/showthread.php?t=169089)

kau 01-29-2008 05:53 PM

Why won't member.php work outside the forum directory?
 
I moved member.php to a whole different directory

I have www.domain.com/forum/member.php

I moved it to

www.domain.com/users/member.php

I went through the entire file and changed all the include paths so they are correct.

However, when I try to access it at the new location, it just gives me a white page.

Any ideas?

Ted S 01-29-2008 06:01 PM

The files members.php includes also include more files... your best bet is to chdir the file into the proper directory rather than trying to change paths around.

kau 01-29-2008 06:40 PM

chdir the file?

Marco van Herwaarden 01-30-2008 09:15 AM

Doubt that will ever work. You can not just split some vBulletin files to a different directory as all the includes (and the includes within those) rely on the default vBulletin directory setup.

kau 01-30-2008 05:32 PM

Even with chdir? I tried chdir but it didn't work.

Opserty 01-30-2008 05:59 PM

Your best bet would be to duplicate the functions you want in a custom file. Like Marco said these files aren't coded to be in other directories so you will encounter many problems to which there is no point trying to fix as it will be a heck of a lot of work.

Set up the other member.php page to redirect to your forum member.php page. Or else you can try creating your own page: How to create your own vBulletin-powered page! (uses vB templates)


All times are GMT. The time now is 01:53 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.00939 seconds
  • Memory Usage 1,715KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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