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.

EE2.1.0 update: 404 error while creating new templates, blank page instead of the templates created before the update

September 27, 2010 7:52am

Subscribe [2]
  • #1 / Sep 27, 2010 7:52am

    Lyubov Berezina

    42 posts

    This question may be related to a resolved thread.

    I have updated from EE 2.0.x to 2.1.0. The control panel works fine, however, when I create a template e.g. /site/temp/ and try to view that template I get a 404 error. Also all of my current templates do not show, I’m getting the blank page on all of them.

    I have no idea where to look for a solution. I’ve checked all the permissions, everything is as it should be.

    I will appreciate any help on this topic.
    Thanks a lot!

  • #2 / Sep 27, 2010 3:18pm

    Ingmar

    29245 posts

    Do you’ve got a link? Are you removing index.php from your URLs?

  • #3 / Sep 28, 2010 12:42am

    Lyubov Berezina

    42 posts

    Ingmar, here’s a link to the template which is supposed to be the index page
    http://miniature.homeip.net:8989/ee2/index.php/wardrobr/index
    Here’s the template content:

    <!DOCTYPE html>
    <html lang="en">
    <head>
    {embed="common/_styles"}
    {embed="common/_scripts"}
    <meta charset="utf-8">
    <link rel="shortcut icon" href="/favicon.ico">
    <title>Wardrobr</title>
    [removed] 
    $(document).ready(function() {   
        $('ul#filter_status a').click(function() {   
            $(this).css('outline','none');   
            $('ul#filter_status .current').removeClass('current');   
            $(this).parent().addClass('current');   
    
            var filterVal = $(this).text().replace(' ','-');   
    
            if(filterVal == 'All') {   
                $('ul#items_status li.hidden').fadeIn('slow').removeClass('hidden');   
            } else {   
                $('ul#items_status li').each(function() {   
                    if(!$(this).hasClass(filterVal)) {   
                        $(this).fadeOut('normal').addClass('hidden');   
                    } else {   
                        $(this).fadeIn('slow').removeClass('hidden');   
                    }   
                });   
            }   
    
            return false;   
        });   
    });  
    [removed]
    </head>
    <body>
    <section id="container">
    <header>Wardrobr</header>
    <article>
    <section>
    <ul id="filter_status">   
        <li class="current"><a href="#">All</a></li>   
        <li><a href="#">Wardrobr</a></li>   
        <li><a href="#">Ordered</a></li>   
        <li><a href="#">Wishlist</a></li>   
            <li><a href="#">2T</a></li>   
        <li><a href="#">3T</a></li>   
        <li><a href="#">4T</a></li>   
        <li><a href="#">5T</a></li> 
    </ul>  
    </section>
    </article>
    <footer></footer>
    </section>
    </body>
    </html>

    There’s actually nothing in here, almost no code at all and almost a clean system without any third-party plugins or extensions. And it worked before the update.

    Thank you!

  • #4 / Sep 28, 2010 12:56am

    Cheif

    626 posts

    The system is removing some of your tags but I formatted with proper

    script type="text/javascript"

    & removed the embeds and works fine

    try removing your embeds & script and see if the error still persists

  • #5 / Sep 28, 2010 3:36am

    Lyubov Berezina

    42 posts

    Actually I’ve tried everything incl. removing javascripts. For example, I’ve created a template called warbrobr/test, it has only a basic markup:

    <html>
    <head>
    <title>Test</title>
    </head>
    <body>
    Test page
    </body>
    </html>

    You can see it here http://miniature.homeip.net:8989/ee2/index.php/wardrobr/test - still blank.

  • #6 / Sep 28, 2010 4:08am

    Cheif

    626 posts

    Nothing on that page is rendering, not even html tags so lets start simple.
    I’d recheck the the base file: system/expressionengine/config.php to make sure the details are valid & true and whilst there, manually empty system/expressionengine/cache (not including index.html). As you can access the CP we know that DB connection is working so more than likely a config issue.

    Aslo turn on the error reporting function and see if that sheds any light.

    Best to remove these simple but vital things from equation before moving on.

    Failing that, I expect one of the elders will reach out to you for some finer detail.

  • #7 / Sep 28, 2010 4:26am

    Lyubov Berezina

    42 posts

    Nothing seems wrong in my config.php:

    /*
    |--------------------------------------------------------------------------
    | ExpressionEngine Config Items
    |--------------------------------------------------------------------------
    |
    | The following items are for use with ExpressionEngine.  The rest of
    | the config items are for use with CodeIgniter.
    |
    */
    
    $config['app_version'] = "210";
    $config['install_lock'] = "";
    $config['license_number'] = 'here_be_dragons :blush:';
    $config['debug'] = '1';
    $config['cp_url'] = 'http://miniature.homeip.net:8989/ee2/************/index.php';
    $config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
    $config['is_system_on'] = 'y';
    $config['site_label'] = 'Miniature';
    $config['cookie_prefix'] = '';
    
    $config['sc_paypal_account'] = "";
    $config['sc_encrypt_buttons'] = "n";
    $config['sc_certificate_id'] = "";
    $config['sc_public_certificate'] = "";
    $config['sc_private_key'] = "";
    $config['sc_paypal_certificate'] = "";
    $config['sc_temp_path'] = "/tmp";
    $config['allow_extensions'] = "y";
    
    // END EE config items

    Cleared cache, still no effect :(

  • #8 / Sep 28, 2010 4:33pm

    Ingmar

    29245 posts

    This sounds like a server configuration issue. I am not getting anything, not even errors. Anything in the server logs? When you put a static file next to EE’s index.php (name it test.php, or whatever), can you view that in your browser?

  • #9 / Sep 29, 2010 3:12am

    Lyubov Berezina

    42 posts

    This sounds like a server configuration issue. I am not getting anything, not even errors. Anything in the server logs? When you put a static file next to EE’s index.php (name it test.php, or whatever), can you view that in your browser?

    Ingmar, this is a MAMP Pro installation on a Snow Leopard and the EE2.0.x installed and worked out of the box like a charm. The update to 2.1.0 is what has broken everything *sobs* 😊

    I’ve uploaded a test.php file right to the root of my server: http://miniature.homeip.net:8989/test.php
    and to the ee2 folder: http://miniature.homeip.net:8989/ee2/test.php

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    // Show just the module information.
    // phpinfo(8) yields identical results.
    phpinfo(INFO_MODULES);
    
    ?>

    Any more ideas please-please-please? 😊

  • #10 / Sep 29, 2010 4:03am

    Cheif

    626 posts

    Roll install back to V2 and try upgrade using newly downloaded files ?

  • #11 / Sep 29, 2010 4:08am

    Lyubov Berezina

    42 posts

    Roll install back to V2 and try upgrade using newly downloaded files ?

    Well I was SOOOO hoping to avoid this! 😊
    Ok, I’ll try rolling back and re-updating and then I will reinstall EE if the roll-back does not work 😊
    Will post here in the evening (it’s 11AM here in Moscow, time to woooork!)

    Thank you!

  • #12 / Sep 29, 2010 7:10am

    Lyubov Berezina

    42 posts

    Soooo looks like rolling back and re-updating has helped 😊
    Thanks for all the help!

  • #13 / Sep 29, 2010 4:02pm

    Ingmar

    29245 posts

    Very glad to hear it! Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases