Page 1 of 1

2.1.2 adding content page, page templa not showing [solved]

Posted: Fri Feb 19, 2016 4:52 pm
by howey
Hi

I have just upgraded a site in development from 2.0.1.1 to 2.1.2.

When I try and add a new page I don't get he option to choose the page template under options? I have attached a screen shot of the options tab.

I can specify the default page template under Site Admin > Settings-Content Manager. The Page template is associated with the Design, which I can choose, although there is only one in the list.

Code: Select all

Cms Version: 2.1.2

Installed Modules:

    AdminSearch: 1.0
    CGBlog: 1.13.3
    CGCalendar: 1.15.8
    CGExtensions: 1.51.1
    CGSimpleSmarty: 2.0.5
    CGSmartImage: 1.21
    CMSContentManager: 1.1
    CMSMailer: 6.2.14
    Captcha: 0.5.2
    DesignManager: 1.1.1
    FileManager: 1.5.2
    FormBuilder: 0.8.1.3
    FrontEndUsers: 1.31
    JQueryTools: 1.3.8
    MicroTiny: 2.0.3
    ModuleManager: 2.0.2
    Navigator: 1.0.2
    News: 2.50.4
    Search: 1.50.2


Config Information:

    php_memory_limit:
    max_upload_size: 32000000
    url_rewriting: none
    page_extension:
    query_var: page
    auto_alias_content: true
    locale:
    set_names: true
    timezone: Europe/London
    permissive_smarty: false


Php Information:

    phpversion: 5.5.26
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_ALL: 11
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference: No time difference found
    test_db_timedifference: No time difference found
    create_dir_and_file: 1
    memory_limit: 128M
    max_execution_time: 120
    register_globals: Off (False)
    output_buffering: 4096
    disable_functions:
    open_basedir:
    test_remote_url: Success
    file_uploads: On (True)
    post_max_size: 32M
    upload_max_filesize: 32M
    session_save_path: /Applications/MAMP/tmp/php (0775)
    session_use_cookies: On (True)
    xml_function: On (True)
    xmlreader_class: On (True)
    check_ini_set: On (True)
    curl: On


Performance Information:

    allow_browser_cache: Off (False)
    browser_cache_expiry: 60
    php_opcache: Off (False)
    smarty_cache: Off (False)
    smarty_compilecheck: Off (False)
    smarty_cache_udt: Off (False)
    auto_clear_cache_age: On (True)

Server Information:

    Server Software: Apache
    Server Api: apache2handler
    Server Os: Darwin 15.3.0 On x86_64
    Server Db Type: MySQL (mysql)
    Server Db Version: 5.5.42
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


Permission Information:

    tmp: /Applications/MAMP/htdocs/foundation-templates/tmp (0755)
    tmp_cache: /Applications/MAMP/htdocs/foundation-templates/tmp/cache (0755)
    templates_c: /Applications/MAMP/htdocs/foundation-templates/tmp/templates_c (0755)
    modules: /Applications/MAMP/htdocs/foundation-templates/modules (0755)
    uploads: /Applications/MAMP/htdocs/foundation-templates/uploads (0755)
    File Creation Mask (umask): /Applications/MAMP/htdocs/foundation-templates/tmp/cache (0755)
    config_file: 0444

----------------------------------------------
I've looked at the page source on the admin options and there seems to be a problem in that the appears to be a blank set of tags without label etc

Code: Select all

<div id="zz_3options_tab___c">

<div class="pageoverflow">
<p class="pagetext"><label for="design_id">*Design:</label>&nbsp;<span class="cms_help" data-cmshelp-key="core__info_editcontent_design" data-cmshelp-title="Design selector"><img class="cms_helpicon" src="admin/themes/OneEleven/images/icons/system/info.gif" alt="admin/themes/OneEleven/images/icons/system/info.gif" /></span></p>
<p class="pageinput"><select name="design_id" id="design_id"><option value="11" selected="selected">Foundation</option><option value="12">Test</option></select></p>
</div>
                
<div class="pageoverflow">
          <p class="pagetext"></p>
          <p class="pageinput"></p>
</div>
                
<div class="pageoverflow">
<p class="pagetext"><label for="alias">Page Alias:</label>&nbsp;<span class="cms_help" data-cmshelp-key="core__help_page_alias" data-cmshelp-title="Page Alias field"><img class="cms_helpicon" src="http://localhost:8888/foundation-templates/admin/themes/OneEleven/images/icons/system/info.gif" alt="http://localhost:8888/foundation-templates/admin/themes/OneEleven/images/icons/system/info.gif" /></span></p>
<p class="pageinput"><input type="text" name="alias" id="alias" value="" /></p>
</div>

Re: 2.1.2 adding content page, page template not showing

Posted: Fri Feb 19, 2016 8:18 pm
by Rolf
First thought: caching... Clear CMSMS cache and browser cache...

Re: 2.1.2 adding content page, page template not showing

Posted: Mon Feb 22, 2016 10:22 am
by howey
Hi

I cleared the cache, updated the routes and updated the page hierarchy etc. I also cleared my browser cache etc. Still no joy.

I am going to try the upgrade again, as the site was upgraded from 2.0.1.1. I might complete an incremental upgrade just to check.

My only other thought was to uninstall some of the modules like FEU to see if that makes a difference.

Any other ideas let me know.

Thanks

Re: 2.1.2 adding content page, page template not showing

Posted: Mon Feb 22, 2016 1:30 pm
by howey
Hi

I have now rolled back to the initial installation. I then upgraded modules and the main cms incrementally, clearing the cache and rebuilding routes at every step of the way.

The CMS is now functioning OK.

However, the first time round I had created a new "Design" with new templates. I then deleted the old "Design". This time I have just created the new "Design" and left the old one in place.

I will work with thsi and look at deleting some of the templates used in the old "Design", it may be that deleting the whole "Design" affected things.