Using CMSMS 1.9.4.2.
Site is in a sub-dir "name" of test site "test".
Using Vista Button menu that displays correctly and the hover works but returns a
"Not Found - The requested URL was not found on this server" message when any link is clicked.
Menu has 2 levels. Not sure how to add it to template - just using {menu} at present.
Added a footer_menu which also displays correctly and works when the pages have content - only Home and Membership have content at the moment.
Can't understand why one works and not the other. This is the first 2 level menu I have done in CMSMS - single level menus have worked in the past.
Thanks
[Solved]Top menu displays correctly but doesn't work
[Solved]Top menu displays correctly but doesn't work
Last edited by jasnick on Mon Jun 06, 2011 1:31 am, edited 1 time in total.
Re: Top menu displays correctly but doesn't work
The pages that work use a .html extensions, those that don't use a .php
Have you already copied that htaccess from "doc" to your root?
What is your setting for
What happens if you leave it empty, like the example above?
Have you already copied that htaccess from "doc" to your root?
What is your setting for
Is it .html or .php?$config['page_extension'] = '';
What happens if you leave it empty, like the example above?
Make your community a better place!
Re: Top menu displays correctly but doesn't work
YesM@rtijn wrote:
Have you already copied that htaccess from "doc" to your root?
From config:What is your setting for $config['page_extension'] = '';
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '';
That is the setting currently
NeitherIs it .html or .php?
From htaccess:
<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /sitename
Thanks
[Later]
I think the problem has come about because I copied the Vista Buttons nav from the current online site.This site has a custom designed CMS that I had outsourced. My colleague has since retired so I am switching the site to CMSMS so I can manage it in the future. The primary nav pages are html but the secondary level is php as these pages are part of the old CMS. I do not know php. Is it enough to change the file extension in the code from php to html? Or start again completely?
I have done several sites in CMSMS now with no problems but they all had one level nav and no previous CMS to complicate things.
Thanks
Last edited by jasnick on Mon Jun 06, 2011 1:31 am, edited 1 time in total.
Re: Top menu displays correctly but doesn't work
In case anyone is following this thread, I solved the issue.
I had substituted .html for the .php in the path, but it still didn't work.
Then realising that setting for $config['page_extension'] = ''; I dropped the .html extension and then it worked.
I had substituted .html for the .php in the path, but it still didn't work.
Then realising that setting for $config['page_extension'] = ''; I dropped the .html extension and then it worked.