vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 02-21-2005, 11:09 PM
tomf688 tomf688 is offline
Junior Member
 
Join Date: Nov 2004
Posts: 15
Default Several links not working properly on portal

The following links on my front page do not work properly ever since I upgraded my forum: User CP, FAQ, Members List, Calendar, New Posts, Search, Quick Links, Log Out, Contact Us, Archive.

The pages link to my root directory and not my forums folder (mysite.com/page.php instead of mysite.com/forums/page.php). Every other link works properly on the portal frontpage.

I was asked to file a ticket here but I'm not really sure if its necessary (and I'd rather not give out my FTP information).
  #2  
Old 02-22-2005, 09:01 AM
bouncingpeanut's Avatar
bouncingpeanut bouncingpeanut is offline
Senior Member
 
Join Date: Feb 2004
Posts: 109
Default Re: Several links not working properly on portal

Quote:
Originally Posted by tomf688
The following links on my front page do not work properly ever since I upgraded my forum: User CP, FAQ, Members List, Calendar, New Posts, Search, Quick Links, Log Out, Contact Us, Archive.

The pages link to my root directory and not my forums folder (mysite.com/page.php instead of mysite.com/forums/page.php). Every other link works properly on the portal frontpage.

I was asked to file a ticket here but I'm not really sure if its necessary (and I'd rather not give out my FTP information).
I am having the same problem. I have the latest vb version too.

The nav bar on the forum works perfectly, but on the front page, only links I've created to go else where for instance, BBC or CNN work as they should.

Whenever I click anything forum related it results in page not found because like the poster above mine are pointing to the main directory and not blah/forum
  #3  
Old 02-22-2005, 09:28 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Several links not working properly on portal

Tom - Try running this query, then go to your default CMPS settings and save them.

INSERT INTO `adv_setting` VALUES ('global_navbar_replace', 'adv_global', 'memberlist.php\r\nusercp.php\r\nregister.php\r\nfaq.php\r\ncalendar.php\r\nsear ch.php\r\nlogin.php\r\nforumdisplay.php\r\nprofile.php\r\nprivate.php\r\nsubscri ption.php\r\nmember.php\r\nonline.php', 'memberlist.php\r\nusercp.php\r\nregister.php\r\nfaq.php\r\ncalendar.php\r\nsear ch.php\r\nlogin.php\r\nforumdisplay.php\r\nprofile.php\r\nprivate.php\r\nsubscri ption.php\r\nmember.php\r\nonline.php', 'textarea', 2);
INSERT INTO `adv_setting` VALUES ('global_footer_replace', 'adv_global', 'archive\r\nsendmessage.php', 'archive\r\nsendmessage.php', 'textarea', 3);
INSERT INTO `adv_setting` VALUES ('global_header_replace', 'adv_global', '', '', 'textarea', 1);
INSERT INTO `adv_settinggroup` VALUES ('adv_global', 1);


bouncingpeanut - Go to your main vBa CMPS settings and see if you have the 'Navbar Replacements', 'Header Replacements', and 'Footer Replacements'. If so, make sure that your 'Navbar Replacements' option lists the files that you're having a problem with, and even if it does, save the settings anyways to be sure that the cache is updated. If you don't have those settings, try running the queries above.
  #4  
Old 02-22-2005, 09:59 AM
bouncingpeanut's Avatar
bouncingpeanut bouncingpeanut is offline
Senior Member
 
Join Date: Feb 2004
Posts: 109
Default Re: Several links not working properly on portal

Quote:
Originally Posted by Brian
bouncingpeanut - Go to your main vBa CMPS settings and see if you have the 'Navbar Replacements', 'Header Replacements', and 'Footer Replacements'.

If so, make sure that your 'Navbar Replacements' option lists the files that you're having a problem with, and even if it does, save the settings anyways to be sure that the cache is updated. If you don't have those settings, try running the queries above.

Can't see them. Tried running the queries, but got an error 1146 adv_setting' doesn't exist
not sure what that means, I'm a complete *** when it comes to this stuff.. no worries though at the moment I'm still playing on a spare server, making sure when I *do* put it on the site proper, its set up as quickly and painlessly as possible.
  #5  
Old 02-22-2005, 10:23 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Several links not working properly on portal

The CMPS wouldn't be able to run if the adv_setting table didn't exist...
  #6  
Old 02-22-2005, 03:26 PM
Urban51 Urban51 is offline
Junior Member
 
Join Date: Feb 2005
Posts: 9
Default Re: Several links not working properly on portal

Quote:
Originally Posted by Brian
Tom - Try running this query, then go to your default CMPS settings and save them.

INSERT INTO `adv_setting` VALUES ('global_navbar_replace', 'adv_global', 'memberlist.php\r\nusercp.php\r\nregister.php\r\nfaq.php\r\ncalendar.php\r\nsear ch.php\r\nlogin.php\r\nforumdisplay.php\r\nprofile.php\r\nprivate.php\r\nsubscri ption.php\r\nmember.php\r\nonline.php', 'memberlist.php\r\nusercp.php\r\nregister.php\r\nfaq.php\r\ncalendar.php\r\nsear ch.php\r\nlogin.php\r\nforumdisplay.php\r\nprofile.php\r\nprivate.php\r\nsubscri ption.php\r\nmember.php\r\nonline.php', 'textarea', 2);
INSERT INTO `adv_setting` VALUES ('global_footer_replace', 'adv_global', 'archive\r\nsendmessage.php', 'archive\r\nsendmessage.php', 'textarea', 3);
INSERT INTO `adv_setting` VALUES ('global_header_replace', 'adv_global', '', '', 'textarea', 1);
INSERT INTO `adv_settinggroup` VALUES ('adv_global', 1);


bouncingpeanut - Go to your main vBa CMPS settings and see if you have the 'Navbar Replacements', 'Header Replacements', and 'Footer Replacements'. If so, make sure that your 'Navbar Replacements' option lists the files that you're having a problem with, and even if it does, save the settings anyways to be sure that the cache is updated. If you don't have those settings, try running the queries above.
Having the same problem, where do I run this query?
  #7  
Old 02-22-2005, 03:37 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Several links not working properly on portal

phpMyAdmin would be best.
  #8  
Old 02-22-2005, 03:47 PM
bouncingpeanut's Avatar
bouncingpeanut bouncingpeanut is offline
Senior Member
 
Join Date: Feb 2004
Posts: 109
Default Re: Several links not working properly on portal

I did mine from the admin page, I can't upload another copy of phpmyadmin just for testing, have it for the main site but have to have a different instance of it for each database. Perhaps that is why it said that table didn't exist Could I instead maybe somehow replicate the nav bar or even an outside script and call that from within the style header template. That way I could just enable nav bar 1 on the forums and the other can be on both. Is that possible.
  #9  
Old 02-22-2005, 03:48 PM
Urban51 Urban51 is offline
Junior Member
 
Join Date: Feb 2005
Posts: 9
Default Re: Several links not working properly on portal

Quote:
Originally Posted by Brian
phpMyAdmin would be best.
thank you worked like charm
  #10  
Old 02-22-2005, 03:57 PM
Urban51 Urban51 is offline
Junior Member
 
Join Date: Feb 2005
Posts: 9
Default Re: Several links not working properly on portal

Works on the default style, the other styles have the same problem.
  #11  
Old 02-22-2005, 10:43 PM
tomf688 tomf688 is offline
Junior Member
 
Join Date: Nov 2004
Posts: 15
Default Re: Several links not working properly on portal

I tried to run the query through my forum, but this error occurred:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
INSERT INTO `adv_setting` VALUES ('global_footer_replace', '
  #12  
Old 02-23-2005, 10:40 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Several links not working properly on portal

You can only run one query at a time though the Admin CP. If you run each one separately then it should work.
  #13  
Old 02-23-2005, 01:25 PM
tomf688 tomf688 is offline
Junior Member
 
Join Date: Nov 2004
Posts: 15
Default Re: Several links not working properly on portal

Ok I tried running the first one by itself, but it gave the same error.

INSERT INTO `adv_setting` VALUES ('global_navbar_replace', 'adv_global', 'memberlist.php\r\nusercp.php\r\nregister.php\r\nf aq.php\r\ncalendar.php\r\nsearch.php\r\nlogin.php\ r\nforumdisplay.php\r\nprofile.php\r\nprivate.php\ r\nsubscription.php\r\nmember.php\r\nonline.php', 'memberlist.php\r\nusercp.php\r\nregister.php\r\nf aq.php\r\ncalendar.php\r\nsearch.php\r\nlogin.php\ r\nforumdisplay.php\r\nprofile.php\r\nprivate.php\ r\nsubscription.php\r\nmember.php\r\nonline.php', 'textarea', 2);

Or, is that more than one query?
  #14  
Old 02-23-2005, 01:48 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Several links not working properly on portal

Just tried running the exact query you posted on my localhost and it worked fine...
  #15  
Old 02-23-2005, 02:53 PM
error error is offline
Junior Member
 
Join Date: Nov 2004
Posts: 20
Default Re: Several links not working properly on portal

i get this error on the last query:

#1062 - Duplicate entry 'adv_global' for key 1

what does that mean?

Thanks
Niklas
  #16  
Old 02-23-2005, 02:59 PM
error error is offline
Junior Member
 
Join Date: Nov 2004
Posts: 20
Default Re: Several links not working properly on portal

ok, works now

thanks anyway

niklas
  #17  
Old 02-23-2005, 07:06 PM
tomf688 tomf688 is offline
Junior Member
 
Join Date: Nov 2004
Posts: 15
Default Re: Several links not working properly on portal

Quote:
Originally Posted by Brian
Just tried running the exact query you posted on my localhost and it worked fine...
I ran it through vb... I don't have shell access and am not sure how to use it on phpmyadmin.

I'm a hopeless noob at this... just want to get my frontpage functioning.
  #18  
Old 02-26-2005, 06:36 AM
bouncingpeanut's Avatar
bouncingpeanut bouncingpeanut is offline
Senior Member
 
Join Date: Feb 2004
Posts: 109
Default Re: Several links not working properly on portal

Quote:
Originally Posted by Brian

bouncingpeanut - Go to your main vBa CMPS settings and see if you have the 'Navbar Replacements', 'Header Replacements', and 'Footer Replacements'. If so, make sure that your 'Navbar Replacements' option lists the files that you're having a problem with, and even if it does, save the settings anyways to be sure that the cache is updated.If you don't have those settings, try running the queries above.

Ok I seem to be working now. Didn't really understand the cache part, and the importance of pressing save on this settings in order to update.

Thanks Brian.
  #19  
Old 03-01-2005, 08:15 PM
Ogmuk Ogmuk is offline
Member
 
Join Date: Jan 2004
Posts: 51
Default Re: Several links not working properly on portal

Ahh, this is the solution I needed, after entering the query it works fine. The Global vBadvanced Settings shows and it does something now, it doesn't show correctly in the settings though, looks like it misses the phrases. Any way to fix this? I'll attach a screenshot.

I loaded admincp/vbacmps_install.php again and chose to "install ONLY the phrases" but it doesn't change a thing. It's the 1.0.1 installer and I checked each file 3 times to make sure I uploaded all the latest ones and yet if I edit the file it says it's 1.0.1 but at the first screen it says: Welcome to vBadvanced CMPS version 1.0.0. Maybe this is related?
Attached Images
File Type: jpg notext.jpg (27.6 KB, 26 views)

Last edited by Ogmuk; 03-01-2005 at 08:18 PM.
  #20  
Old 03-02-2005, 02:14 PM
Danny_Willis Danny_Willis is offline
Member
 
Join Date: Feb 2005
Posts: 46
Unhappy Re: Several links not working properly on portal

I am having the same problem and I have followed all of the instructions given in this thread as well as the installation instructions. The links on the CPMS nav bar still point to the root directory and not to the forum directory.

The settings information are in the database and and I have cleared out the cache several times but to no avail. I'm trying to get this site up and running to take it live by the weekend but I cannot move along any further until this problem is repaired. Then I can customize the menus and navbars further to where I need them to be.

any help with this is greatly appreciated since I'm a bit confused as to where to go at this point.

Thanks!
 


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
Avatar not working properly on welcome block nmau Troubleshooting / "How do I..." Questions 1 02-12-2005 10:40 PM
calendar.php not working properly 1996 328ti Troubleshooting / "How do I..." Questions 1 01-17-2005 07:45 PM
CMPS & Links Directory Stopped working Graham Troubleshooting / "How do I..." Questions 4 09-03-2004 02:00 PM
News Module not working properly enzo81 Troubleshooting / "How do I..." Questions 6 07-05-2004 10:51 AM


All times are GMT -4. The time now is 06:37 PM.

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.