Blog Problems

  • So I have a site originally built in Perch 2 using the Blog App. I have reused the templates etc for a new site, generally everything works fine except the Blog. Loading the index page for it gets as far as the nav menu, basically I think as soon as it encounters the blog it quits. So previously I renamed Blog to News and maybe this is something to do with it?


    1. Here is code within index page

    2. Also here is htacess stuff:


    <IfModule mod_rewrite.c>

    RewriteEngine on


    AddHandler php-script .xml

    ErrorDocument 404 /


    # you might not need this, i only have this rule to stop redirecting once it has been redirected, stops it from getting stuck in a loop

    RewriteCond %{ENV:REDIRECT_STATUS} 200

    RewriteRule ^ - [L]


    RewriteRule ^news/category/([a-zA-Z0-9-/]+)$ /news/index.php?cat=$1 [L]

    RewriteRule ^news/([a-zA-Z0-9-/]+)$ /news/post.php?s=$1 [L]

    RewriteRule ^news/([a-zA-Z0-9-/]+)/preview$ /news/post.php?s=$1&preview=all [L]


    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.+)/$ /$1 [R=permanent,QSA]


    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteCond %{REQUEST_FILENAME}.php -f

    RewriteRule ^(.+)$ $1.php [L,QSA]

    </IfModule>


    Having installed new Perch and Blog App and created fresh DB (latest), is there anything else I need to do with the App itself to make it work or is this some other issue?


    Attached is a debug screenshot

  • drewm

    Approved the thread.