Pages missing when logged out

Permalink
When I log out, one of the top level landing navigation items then links to the log in page and not to the correct page in the site. Also, all of the drop down sub pages under this top level landing page disappear from the navigation. The client's "support service" has instructed them to contact me regarding the .htaccess file.

Here are the contents of the .htaccess file:

RewriteEngine on
RewriteOptions inherit
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.srf-london.org.uk
RewriteCond %{HTTP_HOST} ^srf\-london\.org\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.srf\-london\.org\.uk$

I deleted everything but the "pretty urls" code at the end and there is no change. When I delete the "pretty urls" code, the edit bar disappears and I lose the css styles for the site (if that is of any help).

This problem is reminiscent of trouble (unresolved) that I have had with another site and may be related to a Concrete5 upgrade.

Any help will be greatly appreciated.

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Probably a permissions problem where "Guest" is not allowed to view those pages.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Your code is also missing a closing body tag
</body>
which should be in your footer immediately before the closing html tag
waroly replied on at Permalink Reply
At the bottom of each page type I have the following:

<?php
$this->inc('elements/footer.php');
?>

and in the footer.php file I have:

<?php Loader::element('footer_required')?> 
</body>
</html>

Am I missing something?
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Viewing the source code of your site at the bottom of the page is this
<div class="footnav"><a href="http://www.yogananda-srf.org" title="Self-Realization Fellowsip Website" target="_blank">Self-Realization Fellowship</a>    |    <a href="mailto:brenda.deller@ntlworld.com" title="Please Join the London Centre of Self-Realization Fellowship Mailing List" target="_blank">Please Join Our Mailing List</a>    |    <span style="color:#383986"><a href="http://www.srf-london.org.uk/news_and_events/volunteer-opportunities/">Volunteering</a></span></div>    
  <div class="footer">
    <p>London Centre of Self-Realization Fellowship   <span style="color:#e1c150;">::</span>   82A Chiltern Street   <span style="color:#e1c150;">::</span>   London W1U 5AQ<br />
    Telephone: 020 7935 0204   <span style="color:#e1c150;">::</span>   <a href="mailto:info@srf-london.org.uk" style="color:white;">info@srf-london.org.uk</a></p>
<!-- end .footer --></div>
<!-- end .container --></div>
<!-- end .back_grad --></div>
</html>

Perhaps something in the footer is preventing the complete page load?

You also have an error reported in the console that this file is not found
http://www.srf-london.org.uk/blocks/autonav/templates/sooperfish/css/images/arrows-black.png
waroly replied on at Permalink Reply
Thanks, I did finally find the missing </body> in footer.php.

This brings up another question. When I put this site together, I took the footer.php filename seriously and put my footer content (address, phone number etc) in the footer.php file which means I closed the </html> there. The site works but is there a rule against opening a tag in one doc and closing it in another?
mhawke replied on at Permalink Reply
mhawke
The browser sees it as one document. Concrete5 assembles all the parts and spits out a single HTML document.

As for the footer.php... yes, if you put common code (like contact info) into Global Areas in the footer.php then it's much easier to maintain the site because changes to this common area will be 'included' on all the pages.
waroly replied on at Permalink Reply
I deleted the arrows-black.png file because I didn't want it in the menu, but I didn't mess with the code because I was afraid I might make a mess.
waroly replied on at Permalink Reply
Thanks, the permissions somehow were set incorrectly. The site had been working fine. The only change was an update. Everything is working now.