![]() |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
Quote:
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
|
||||
|
||||
|
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
|
||||
|
||||
|
Quote:
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
|
||||
|
||||
|
The CMPS wouldn't be able to run if the adv_setting table didn't exist...
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
phpMyAdmin would be best.
|
|
#8
|
||||
|
||||
|
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
|
|||
|
|||
|
Quote:
|
|
#10
|
|||
|
|||
|
Works on the default style, the other styles have the same problem.
|
|
#11
|
|||
|
|||
|
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
|
||||
|
||||
|
You can only run one query at a time though the Admin CP. If you run each one separately then it should work.
|
|
#13
|
|||
|
|||
|
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
|
||||
|
||||
|
Just tried running the exact query you posted on my localhost and it worked fine...
|
|
#15
|
|||
|
|||
|
i get this error on the last query:
#1062 - Duplicate entry 'adv_global' for key 1 what does that mean? Thanks Niklas |
|
#16
|
|||
|
|||
|
ok, works now
thanks anyway niklas |
|
#17
|
|||
|
|||
|
Quote:
I'm a hopeless noob at this... just want to get my frontpage functioning.
|
|
#18
|
||||
|
||||
|
Quote:
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
|
|||
|
|||
|
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? Last edited by Ogmuk; 03-01-2005 at 08:18 PM. |
|
#20
|
|||
|
|||
|
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 | |
|
|
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 |