[solved] Upgrade: template name and admin nav problems

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

[solved] Upgrade: template name and admin nav problems

Post by paulbaker »

Upgrading this site from 1.11.7.

The upgrade went well through to 1.12.2.

Then I upgraded to 2.2.2.

The front end is giving an Oops error:
ERROR: at line 393 in file /home/...../lib/classes/internal/class.Smarty_CMS.php:
cms_template:TBS // TBS Navigation is an invalid CMSMS resource specification
I am assuming the "//" in the template name is causing an issue here? I thought the upgrade process attempted to deal with these issues?

Also, on a probably-related note:

* Content Manager page in admin is completely bare of content - no errors shown and the complete page is displayed, just no pages listed and not even an add a new page link.

* CGCalendar doesn't list any events in admin (there are loads).

* Design Manager: Designs tab shows designs listed but both the Templates tab and Stylesheets tab are blank.

* Admin navigation on the left - drop downs not working although I can click in to each main section by clicking the icon on the far left.

I cleared cache.

Database looks normal and has no errors. Table cms_content shows all the pages I would expect.

There is no module_custom directory (now).

No relevant errors listed in the PHP error log.

Tried debug mode but doesn't reveal anything obviously wrong.

What should I be looking at next?

Thanks

----------------------------------------------
Cms Version: 2.2.2
Installed Modules:
AdminSearch: 1.0.4
CGCalendar: 1.16.1
CGExtensions: 1.53.19
CGSimpleSmarty: 1.10
CMSContentManager: 1.1.5
CMSMailer: 6.2.14
CmsJobManager: 0.1
DesignManager: 1.1.3
FileManager: 1.6.3
FilePicker: 1.0
Gallery: 2.3.2
JQueryTools: 1.4.0.1
MenuManager: 1.50.3
MicroTiny: 2.2
ModuleManager: 2.1.1
Navigator: 1.0.7
News: 2.51.2
Printing: 1.1.2
Search: 1.51.2
Statistics: 1.2.1.2
ThemeManager: 1.1.8
TinyMCE: 2.9.12

Config Information:
php_memory_limit:
max_upload_size: 2000000
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.6.31
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
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: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0700)
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: 0
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: Off (False)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-427.36.1.lve1.4.47.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.1.24
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/cthuk/public_html/eb/tmp (0755)
tmp_cache: /home/cthuk/public_html/eb/tmp/cache (0755)
templates_c: /home/cthuk/public_html/eb/tmp/templates_c (0755)
modules: /home/cthuk/public_html/eb/modules (0755)
uploads: /home/cthuk/public_html/eb/uploads (0755)
File Creation Mask (umask): /home/cthuk/public_html/eb/tmp/cache (0755)
config_file: 0444
----------------------------------------------
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Upgrade: no content, template name and admin nav problem

Post by Rolf »

Did you clear browser cache too?

ps. this should at least solve some Admin panel issues
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Upgrade: no content, template name and admin nav problem

Post by paulbaker »

No. But I have now and that resolved most issues. Another lesson learned.

Then, since I was able to see all the templates I was able to rename the template causing the issue.

The only other thing still wrong is CGCalendar which is showing in front end but no events in back end. But that is beyond the scope of this section of the forum.

Thanks Rolf :-*
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Locked

Return to “[locked] Installation, Setup and Upgrade”