Page 1 of 1

1.12.1 -> 2.1.5 Content Manager empty

Posted: Thu Oct 13, 2016 3:37 pm
by PinkElephant
Hi All

I've recently upgraded a site from 1.12.2 to 2.1.5. All seemed to go well - except for an Admin log entry...

Code: Select all

CMSMS	Template minimal_menu Created
Navigator	Installation Error: Could not find design row identified by Simplex
Module	Installed Navigator version 1.0.3
... and Content > Content Manager is empty (with '<div class="pageoverflow"> </div>' where I'd expect to see pages listed).

Layout > Design Manager > Designs shows 2 entries. The first was the default template on all-pages except for a test page which used the second.
Design Manager > Templates, Stylesheets and Categories are empty.
Design Manager > Template Types / Prototypes contains 12 entries which look like factory defaults.

Clicking on either Design shows a full list of available templates and a single 'attached' template. None of the available templates are selectable (although the cursor changes to a North-South/East-West double arrowhead) but the delete button is available on the 'attached' template. The Stylesheets show two available and 7 attached. Again, none are selectable but the attached is deletable.

The front end appears to be working perfectly and the php logs are error & warning free pre and post upgrade. I have backups but I'm wondering if there's an easier way of fixing the current installation. I've tried usual suspects like Admin cache-clearing and database repair. The integrity check looks OK'ish with 332 files missing (all /lang/ or /nls/) and 57 Files failed md5sum check (all modules/lang/*).

Any ideas?


Code: Select all

Cms Version: 2.1.5

Installed Modules:

    AdminSearch: 1.0.2
    CMSContentManager: 1.1.1
    CMSMailer: 6.2.14
    DesignManager: 1.1.1
    FileManager: 1.5.2
    Gallery: 2.1.6
    MenuManager: 1.50.2
    MicroTiny: 2.0.3
    ModuleManager: 2.0.4
    Navigator: 1.0.3
    News: 2.50.5
    Printing: 1.1.2
    Search: 1.50.2
    ThemeManager: 1.1.8

Config Information:

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

Php Information:

    phpversion: 5.6.24-0+deb8u1
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_ALL: 22527
    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: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
    open_basedir:
    test_remote_url: Success
    file_uploads: On (True)
    post_max_size: 10M
    upload_max_filesize: 15M
    session_save_path: /var/lib/php5/sessions (1733)
    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: On (True)
    browser_cache_expiry: 60
    php_opcache: On (True)
    smarty_cache: On (True)
    smarty_compilecheck: Off (False)
    smarty_cache_udt: On (True)
    auto_clear_cache_age: On (True)

Server Information:

    Server Software: Apache
    Server Api: apache2handler
    Server Os: Linux 3.16.0-4-amd64 On x86_64
    Server Db Type: MySQL (mysqli)
    Server Db Version: 5.5.52
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:

    tmp: /srv/example.com/public/htdocs/tmp (0770)
    tmp_cache: /srv/example.com/public/htdocs/tmp/cache (0770)
    templates_c: /srv/example.com/public/htdocs/tmp/templates_c (0770)
    modules: /srv/example.com/public/htdocs/modules (0770)
    uploads: /srv/example.com/public/htdocs/uploads (0770)
    File Creation Mask (umask): /srv/example.com/public/htdocs/tmp/cache (0770)
    config_file: 0640

Re: 1.12.1 -> 2.1.5 Content Manager empty

Posted: Thu Oct 13, 2016 3:49 pm
by Rolf
Content > Content Manager is empty
Clear browser cache, CTRL F5 or CMD R

Re: 1.12.1 -> 2.1.5 Content Manager empty

Posted: Thu Oct 13, 2016 3:58 pm
by PinkElephant
Hi Rolf,
Rolf wrote:Clear browser cache
Thanks but it's not that -- just to be double-sure I've tried multiple browsers.

Re: 1.12.1 -> 2.1.5 Content Manager empty

Posted: Thu Oct 13, 2016 4:04 pm
by Rolf
Anything in servers Error Log?
Clear CMSMS cache?

Re: 1.12.1 -> 2.1.5 Content Manager empty

Posted: Thu Oct 13, 2016 4:31 pm
by PinkElephant
Rolf wrote:Anything in servers Error Log?
Clear CMSMS cache?
Nope; no php errors or warnings. Cache clearing via Admin - or manually - doesn't affect it.

Re: 1.12.1 -> 2.1.5 Content Manager empty

Posted: Thu Oct 13, 2016 5:09 pm
by PinkElephant
Oh, hell -- I can't believe I missed this, something I've seen before as well. It's was admin jQuery being blocked for mixed content.

The site uses a weather widget that doesn't support https so some time back I hard-coded $config['root_url'] to "http://*" (while $config['admin_url'] is "https://*").

Commenting out the $config['root_url'] entry, the problem goes away.

Thanks for stepping in!