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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2007, 09:50 AM
shadowdancer36 shadowdancer36 is offline
Member
 
Join Date: Nov 2005
Posts: 62
Default DB Errors

Not sure if this is a bug or if I'm doing something wrong within my install, BUT...Once VBA is installed, for some odd reason the link showing where you are within the VB tree (right above the menu bar, showing the main forum, sub-forum, sub-sub forum, etc) is sending me to my root. Then I recieve a DB error.

Code:
<!--
Database error in vBulletin 3.6.4:

Invalid SQL:

		SELECT 
			userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
			IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
			language.phrasegroup_calendar AS phrasegroup_calendar,
			language.phrasegroup_adv_portal AS phrasegroup_adv_portal,
			language.phrasegroup_postbit AS phrasegroup_postbit,
			language.phrasegroup_global AS phrasegroup_global,
			language.options AS lang_options,
			language.languagecode AS lang_code,
			language.charset AS lang_charset,
			language.locale AS lang_locale,
			language.imagesoverride AS lang_imagesoverride,
			language.dateoverride AS lang_dateoverride,
			language.timeoverride AS lang_timeoverride,
			language.registereddateoverride AS lang_registereddateoverride,
			language.calformat1override AS lang_calformat1override,
			language.calformat2override AS lang_calformat2override,
			language.logdateoverride AS lang_logdateoverride,
			language.decimalsep AS lang_decimalsep,
			language.thousandsep AS lang_thousandsep
			
		FROM vb_user AS user
		LEFT JOIN vb_userfield AS userfield ON (user.userid = userfield.userid)
		LEFT JOIN vb_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vb_language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid)) 
		
		WHERE user.userid = 1;

MySQL Error  : Unknown column 'language.phrasegroup_adv_portal' in 'field list'
Error Number : 1054
Date         : Thursday, January 11th 2007 @ 09:46:39 AM
Script       : http://www.picturemeclubbing.com/cmps_index.php
Referrer     : 
IP Address   : 68.74.2.163
Username     : 
Classname    : vb_database
-->
Everything else links up fine and syncs well with VB. It's just that annoying little thing.

I was trying to do a screen capture but my photoshop is messed up. You can check it out here tho:

http://www.picturemeclubbing.com/dem...cmps_index.php
Reply With Quote
  #2  
Old 01-11-2007, 02:44 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: DB Errors

The navbar link is controlled by your "Forum URL" setting under your main vB options. I'm assuming you've figured that out now though since it seems to be pointing to your forums.
As for the DB error, it looks like somebody tried to view the page before the install script was run.
Reply With Quote
  #3  
Old 01-11-2007, 10:01 PM
shadowdancer36 shadowdancer36 is offline
Member
 
Join Date: Nov 2005
Posts: 62
Default Re: DB Errors



Maybe this will make more sense? Notice how the link is pointing to the root of the domain instead of the root of my folder? Why is this? Everything else works fine in the Navbar and other links. Just that part is messed up. Not to mention it's a DB error.

Last edited by shadowdancer36; 01-11-2007 at 10:36 PM.
Reply With Quote
  #4  
Old 01-12-2007, 01:15 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: DB Errors

The PMC link you've circled there is pointing to http://www.picturemeclubbing.com/demo/forum/index.php for me...
Reply With Quote
  #5  
Old 01-12-2007, 01:50 PM
shadowdancer36 shadowdancer36 is offline
Member
 
Join Date: Nov 2005
Posts: 62
Default Re: DB Errors

What the hell? Are u serious? I just tried it twice in two different browers and all my temp files and cookies erased!
Reply With Quote
  #6  
Old 01-12-2007, 02:05 PM
shadowdancer36 shadowdancer36 is offline
Member
 
Join Date: Nov 2005
Posts: 62
Default Re: DB Errors



The where? Excuse the typos (lol)



As you can see, on my end I get the wrong path in each browser. Where does that folder pull the link from exactly?
Reply With Quote
  #7  
Old 01-12-2007, 02:30 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: DB Errors

Sorry, I was looking at the pages where "PMC" was actually a link and didn't notice the little folder icon. It looks like that might be due to your CMPS URL setting. Go to Admin CP => vBa CMPS => Default Settings => CMPS URL and make sure you have that option set to the full URL to your cmps_index.php file.
Reply With Quote
  #8  
Old 01-12-2007, 02:43 PM
shadowdancer36 shadowdancer36 is offline
Member
 
Join Date: Nov 2005
Posts: 62
Default Re: DB Errors

Ok that fixed the problem, but why did it occur? Shouldn't it have pulled it during the install?
Reply With Quote
  #9  
Old 01-12-2007, 02:45 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: DB Errors

No, it's just set to "/cmps_index.php" by default since that's where the file is instructed to be uploaded during a new install. Many people will place it in another location as well though, and there's really not a way to automatically find it.
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
Errors lsgworldl Troubleshooting & Problems 4 12-01-2005 08:02 AM
Array errors and SQL errors Richard-HH Troubleshooting / "How do I..." Questions 4 11-14-2004 01:49 PM


All times are GMT -4. The time now is 03:07 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.