vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2005, 12:41 PM
Rebecca Rebecca is offline
Member
 
Join Date: May 2004
Posts: 96
Default CMPS/Links conflict - error message

I have the following installed and functioning fine on my server:

vb 3.5
vba cmps 2.0
vba links 1.0.1
vba links 1.0.1 (second copy - used as "markets" instead of "links")

The problem arises when I try to incorporate the left cms column into either of the links directories. I've tried both the method shown in the cmps manual and the other method listed here in the forums, yet both return this error when I try to access the links script:

Fatal error: Cannot redeclare order_mods() (previously declared in /home2/myaccount/public_html/forums/includes/vba_cmps_include_bottom.php:160) in /home2/myaccount/public_html/forums/includes/vba_cmps_include_bottom.php on line 160

As I mentioned before, the links scripts work fine by themselves; it's only when I try to incorporate the cms sidebar that I get the error. I've incorporated the sidebar into other vba pages with no problem. I've also tried reverting all templates to see if that caused a conflict, but it made no difference.

I really need to resolve this issue quickly, so I can get my links directories back in working order. I appreciate any help you can offer.

Rebecca
Reply With Quote
  #2  
Old 10-15-2005, 02:35 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: CMPS/Links conflict - error message

Did you use the instructions from the users manual here to integrate other forum pages as well? If so, try looking in your forum/includes/functions.php file for this code (part of the code you added to integrate the forum pages):
PHP Code:
if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND THIS_SCRIPT != 'adv_index'
Replace with this:
PHP Code:
if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT')) 
And see if that takes care of the problem.
Reply With Quote
  #3  
Old 10-15-2005, 03:09 PM
Rebecca Rebecca is offline
Member
 
Join Date: May 2004
Posts: 96
Default Re: CMPS/Links conflict - error message

Brilliant!!! That fixed it right up! Thank you so much!!!

Rebecca
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Links Directory Error Message? Billy Troubleshooting & Problems 5 07-31-2005 10:52 AM
Alright Guys: CMPS error and links Marcus Lau Troubleshooting / "How do I..." Questions 7 12-08-2004 06:18 PM


All times are GMT -4. The time now is 01:12 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.