vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vb based pages (https://vborg.vbsupport.ru/showthread.php?t=75722)

3clipse 02-04-2005 01:28 PM

vb based pages
 
hi, im trying to create a vb based site using this modification. My problem is that the site resides in the root directory and my forum in a subdomain. if there any solution to this as i have tried just about every suggestion in that thread without luck and the original poster has not been seen in awhile :surprised: so if anyone has some ideas it would be appreciated.

deathemperor 02-04-2005 02:44 PM

if the 'vb based' files you created are put above the vb3 forum directory then you got to change this line:

require_once('./forum/global.php');

if files are in forum/, it's

require_once('./global.php');

so you realize the difference ?

N8 02-04-2005 08:31 PM

Quote:

Originally Posted by deathemperor
if the 'vb based' files you created are put above the vb3 forum directory then you got to change this line:

require_once('./forum/global.php');

if files are in forum/, it's

require_once('./global.php');

so you realize the difference ?


He will still have errors with includes/init.php if he tries that.


What will probobly work best is changing the require codes in both of those of those to require ("/home/yoursite/public_html/forums/whatever.php")

Or use the chdir code, whatever you prefer.

3clipse 02-05-2005 02:58 AM

still getting the following errors:
Code:

Warning: main(./home/httpd/vhosts/*********/subdomains/forums/httpdocs/global.php): failed to open stream: No such file or directory in /home/httpd/vhosts/**********/httpdocs/test2/index.php on line 32

Fatal error: main(): Failed opening required './home/httpd/vhosts/*********/subdomains/forums/httpdocs/global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/**********/httpdocs/test2/index.php on line 32


SVTBlackLight01 02-05-2005 03:08 AM

You may want to get your forum working first. I'm getting errors at http://forums.chosenclan.com/

3clipse 02-05-2005 03:35 AM

Quote:

Originally Posted by SVTBlackLight01
You may want to get your forum working first. I'm getting errors at http://forums.chosenclan.com/

i know, kinda happened after a accidental chmod accident involving global.php, an ftp client and an old mouse :rolleyes: the error aboove was from before the chmod incident.


All times are GMT. The time now is 11:09 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.01081 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_quote_printable
  • (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