vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Best way to install vBulletin into an existing site? (https://vborg.vbsupport.ru/showthread.php?t=205916)

Fred Weiss 02-19-2009 03:07 PM

Best way to install vBulletin into an existing site?
 
We recently purchased a second owned license for vBulletin. Unlike the forum we have operated with vBulletin for over five years now, this forum is to used within our main site to provide support and discussion of our site products and services.

Our new site is a PHP/MySql based site and sells subscriptions and has its own separate logins for subscribers, affiliates and admins. The forum has simply been given its own space to run in and we are having problems adding our header and navigation to it.

What is happening is that our added navigation links to the Nav Bar work just fine when I am logged into both the web site and the forum. But as soon as I login to the forum Admin CP and then return to the forum home page, the links to the rest of the site generate a PHP error when clicked. This is the error:

Quote:

Fatal error: Call to a member function add_current_page() on a non-object in /home/digitala/public_html/store/includes/application_tophome.php on line 304
I have tried logging out of the forum and I still get the errors. If I close my browser and relaunch it, return to the forum and login, or if I simply clear my browser cache, then everything is fine again. I think we are getting something going on with the cookies but both my programmer and I would like your advice on how to address this problem.

I expected this would be a fairly straightforward modification to the header and footer templates and our programmer may have over complicated the setup. If there is a thread which offers some insights or directions to accomplish the desired changes with a minimum of issues, please supply me a link to it and I will proceed from there.

The new site is http://www.digitalartnow.com

The forum is located at http://www.digitalartnow.com/store/forums

Thanks.

Dismounted 02-20-2009 04:15 AM

This is most likely caused by one of your custom scripts (the ones that are linked to). However, your forum is down (just tried to access it).


All times are GMT. The time now is 03:48 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.00958 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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