ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE navigation doesn't work

August 31, 2011 10:15am

Subscribe [2]
  • #1 / Aug 31, 2011 10:15am

    dreamworld

    25 posts

    Our site is having an issue with the navigation menu. When you click on any of the navigation, it seems to redirect and display only the Home page. Doesn’t matter which web page you select on the navigation, the redirect is back to the home page. We recently had issues with Plesk 8 and is now running on IIS FastCGI and PHP. Is there a configuration setting that needs to be turned on or is failing?

  • #2 / Aug 31, 2011 12:37pm

    Boyink!

    5011 posts

    That’s EE’s default 404 behavior at work.  My first guess is that you now need to turn on query strings:

    Admin ›  System Preferences ›  Output and Debugging Preferences > Force Query Strings.

    It’s just a guess though…;)

  • #3 / Aug 31, 2011 1:13pm

    dreamworld

    25 posts

    That did not work. After reviewing the site, the Home page displays correctly. When you click no the navigation, it seems to pull all the page data and displays it as one page. Here is the link to the site. http://www.newlifehomecare.com.

  • #4 / Aug 31, 2011 2:13pm

    Boyink!

    5011 posts

    Yes - the home page displaying when other links clicked is 404 behavior. Something with your environment change is affecting EE. What link does not work

  • #5 / Aug 31, 2011 2:39pm

    dreamworld

    25 posts

    Here is how the site should look.
    http://web.archive.org/web/20100614030933/http://newlifehomecare.com/

    Something changed that causes the navigation hyperlinks to pull all the data from the database and displaying on one page. The initial home page is the only one that displays correctly. By clicking on any of the navigation menu options, it seems to be loading the same query.

    Don’t know if this make any difference, but we are currently using version 1.6.7.

  • #6 / Aug 31, 2011 3:13pm

    Marcus Neto

    1005 posts

    dreamworld,

    Visiting the links that you provided it appears that you figured out the issue. Is that correct?

  • #7 / Aug 31, 2011 4:46pm

    dreamworld

    25 posts

    The last link is from the web archive of the site from 2010 that shows how the site should look like. The current site is not showing the correct display. To see the problem, click on any of the navigation option and you will get the same information displayed. This looks like a redirect or query problem.

  • #8 / Aug 31, 2011 5:24pm

    Marcus Neto

    1005 posts

    My suggestion is to look in your .htaccess file. It appears that if you add index.php to the URL structure that you get the appropriate content. Like so

    http://www.newlifehomecare.com/index.php/healthcare_professionals/

    Can you verify that your .htaccess is as you expect it to be? Can you post that code here in the thread?

  • #9 / Sep 01, 2011 11:01am

    dreamworld

    25 posts

    We don’t have a .htaccess file in IIS. I noticed that in the web site properties, there is a call to the EE filter, IsapiRewrite4.dll. By adding it to the site, it doesn’t load all of the database data. Is this something similar to Wordpress’ permalinks?

  • #10 / Sep 01, 2011 4:35pm

    dreamworld

    25 posts

    Here is the original post that was posted with details of the problem on the core support.

    We set up an EE site in 2009 using the then current version 1.6.7 and the site has been running since then with few issues. The production server running this site is a Windows 2003 Server with an installation of Plesk on top of IIS. Last week we had issues with several WordPress sites running on this same server and in the end we disabled the Plesk application in order to solve the issues. We installed PHP version 5.2.17 in the root of the servers C drive and changed the WP sites from the Plesk PHP installation to the 5.2.17 installation. After this change the WP sites began functioning perfectly however when we did this with the EE site the site home page will load but the navigation within the site is now not functioning correctly at all - every link either reloads the home page or displays a version of the home page missing a few images.

    We are wondering if there are incompatibilities with EE 1.6.7 and PHP 5.2.17? We are using the same MySQL db as always so I do not believe this to be a db issue. No other changes were made within the EE configuration or the site. From reading other posts it looks like we should upgrade at least to EE 1.7.1 - but it is strange that the site had been working fine and now has these issues. Could there be an issue with the fact that Plesk was running on the server and has since been disabled?

    The URL for this site is: http://www.newlifehomecare.com so that you can get an idea of what is currently happening.

    I am posting this topic on behalf of my IT Manager who is currently on vacation and unavailable until next week, so I apologize for any inadequacies in my description of the situation, I am just trying to get some insight on this issue rather than just waiting for his return

    Thanks in advance for your thoughts on this issue.

  • #11 / Sep 01, 2011 6:01pm

    Lisa Wess

    20502 posts

    Hi, dreamworld -

    EE 1 should work with PHP 4+.  However, it does sound like the settings for the PHP installation were changed such that force query strings and possibly qtype changes need to be made as per this FAQ.

    You can see that question marks do help:

    http://www.newlifehomecare.com/index.php?/products_and_services/

    So it may be a matter of adding those in conjunction with the qtype change explained in that FAQ.

    Are you able to implement those changes and see if that helps this work?

    Thanks!

  • #12 / Sep 02, 2011 12:54am

    dreamworld

    25 posts

    I went through and tried the solutions posted on #10 and the associated links and it still does not work. The closest solution is #7. The old link does not contain the index.php for pretty URL. Is this something that can be turned on or off? Is this controlled by Structure?

  • #13 / Sep 02, 2011 2:57pm

    Lisa Wess

    20502 posts

    Hi, dreamworld -

    I’m going to send an email your way to see if we can get to the bottom of this.  Please check for that in a few minutes.

    Thank you!

  • #14 / Sep 02, 2011 3:33pm

    dreamworld

    25 posts

    I have submitted the information. Let me know if you have any questions.

  • #15 / Sep 02, 2011 4:11pm

    Lisa Wess

    20502 posts

    Alright.  I logged in and went to create a new template group to do some reduction testing, and out came this error:

    MySQL ERROR:

    Error Number: 1366

    Description: Incorrect integer value: ‘’ for column ‘group_id’ at row 1

    Query: INSERT INTO `exp_template_groups` (`group_id`, `group_name`, `group_order`, `is_site_default`, `site_id`) VALUES (’‘, ‘ellislab’, ‘4’, ‘n’, ‘1’)

    Were you aware that was happening?

    Was your site recently moved to a new server? I know you had some upgrades, but I am curious how much your database was touched, and if you have a backup prior to those changes?

    Thank you.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases