Problems upgrading from 1.11.2 to 1.11.4

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.
PatriotsJase
New Member
New Member
Posts: 7
Joined: Mon Dec 17, 2012 8:12 am

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by PatriotsJase »

I've just checked our templates and we are using {stylesheet}. More problems have become evident in trying to edit the existing templates. Post edit 'apply' does not do anything and 'submit' freezes or returns you to the site home page.

Disassociating pages (bulk action) and making the template inactive does not help. I have tried creating a new template by pasting in the old one, change to {cms_stylesheet} incorporated, and associating the existing stylesheets with it, but as stated by Soren everything is lost.

To make matters even more frustrating I managed to change two templates to {cms_stylesheet} and now when I use them as a page template (bulk action) it can be viewed.

The only thing I can find with these two templates is that they were not associated with any page when the update to 1.11.4 was completed.

Jase
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by staartmees »

problems occurs after an upgrade.
A fresh install of 1.11.4 runs without problems.

Made a fresh install of 1.11.3 and upgraded it to 1.11.4 with cmsmadesimple-full-diff-1.11.3-1.11.4: no problems
Last edited by staartmees on Fri Dec 21, 2012 10:55 am, edited 1 time in total.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by saltydog »

I cannot fresh install. I have several production sites running...
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by JohnnyB »

Upgraded from 1.11.3 to 1.11.4 (english diff)

With Menu Cache Enabled:
Cannot open page to edit - front end of site is attempted to load
Can open template to edit but cannot save changes - front end of site is attempted to load

I am only using Content page types except for one Error Page type
Cleared Cache and with Menu cache disabled, the problem goes away.
----------------------------------------------

Cms Version: 1.11.4

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.3
MenuManager: 1.8.4
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
CGExtensions: 1.31.2
CGSimpleSmarty: 1.5.2
FormBuilder: 0.7.3
FormBrowser: 0.4.2
SiteMapMadeSimple: 1.2.6
Snippets: 0.4
TinyMCE: 2.9.11
Quotes2: 1.0.1
CGSmartImage: 1.9.5
TemplateExternalizer: 2.0.8
JQueryTools: 1.1.1
CGContentUtils: 1.3.3
Gallery: 1.6
GoogleMaps: 0.2.1
UsersGuide: 1.6


Config Information:

php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 128000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.15
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 240
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 128M
upload_max_filesize: 128M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.96
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


----------------------------------------------
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by Rolf »

People still having page editor problems after setting menu caching off, look into this:

I upgraded my website to 1.11.4 and I always have menu caching off.
Frontend works fine, but the page editor failed into a white screen

After some troubleshooting I found an error in the html template. It wasn't a problem for the frontend but so it seems the preview screen in the page editor doesnt like it.
After fixing this error the editor worked again...

Hope this helps,

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Guy
Forum Members
Forum Members
Posts: 29
Joined: Wed Jan 12, 2011 9:15 pm

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by Guy »

After unchecking "Cachable" for all templates in Menu Manager and clearing cache under System Maintenance, I was abe to edit pages in ver. 1.11.4.

Thank you,

Guy
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by saltydog »

I upgraded my website to 1.11.4 and I always have menu caching off.
Frontend works fine, but the page editor failed into a white screen.

I am not either able to "Add New Content". No errors found.

I'm stuck. Is anyone looking at this bug? I see it is spreading over many customers.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by Rolf »

Rolf wrote:People still having page editor problems after setting menu caching off, look into this:

I upgraded my website to 1.11.4 and I always have menu caching off.
Frontend works fine, but the page editor failed into a white screen

After some troubleshooting I found an error in the html template. It wasn't a problem for the frontend but so it seems the preview screen in the page editor doesnt like it.
After fixing this error the editor worked again...
Don't know if anybody with these problems did look into this. But it is probably easy to test.

1. Create a new default template,
2. Set the new template as default
3. Create a new page...

If you can create, save and edit this page, it is the old template causing the trouble

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
mel
Forum Members
Forum Members
Posts: 147
Joined: Mon Dec 11, 2006 11:53 pm

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by mel »

Hi,
Same for me : cleared cache and menu caching off. But still problematic. It came from one of my template since I can edit a page based on another template.
When I want to save this problematic template I got this error (which was not there on 1.11.3):

Syntax Error in template "module_db_tpl:News;summaryaccroche" on line 3 "<h2>{translate text="Dernière Publication"}</h2>" unknown tag "translate"

The tag translate is coming from MleCMS module.
Thanks
Mel
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by saltydog »

I have turned debug on, but where should I see the error log from my faulty template?
networker
Forum Members
Forum Members
Posts: 25
Joined: Sat Feb 07, 2009 2:58 pm

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by networker »

I am using the plugin "socialBookmarking" in my template. When I deactivate it, I can edit the pages and the template in backend.
(To alter the template I used "template externalizer"+"netbeans". Because, it is hard to edit the template that cannot be stored via backend.)
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm
Location: Ruhrstadt

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by map_1961 »

Just upgraded a dev page (lucky 2 upgrade a development page first..) ..from 1.11.2.1 to 1.11.4.
Can not edit pages.
Tying 2 hit update routes in tab <Cache an content> at System Maintenance. This causes this error message:
Fatal error: Call to undefined method news_admin_ops::register_static_route() in /homepages/16/d184975754/htdocs/papageienpark/modules/News/News.module.php on line 442

This is line 442 in the News.module.php:

Code: Select all

	    news_admin_ops::register_static_route($one['news_url'],$one['news_id']);
map_1961
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm
Location: Ruhrstadt

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by map_1961 »

map_1961 wrote:Just upgraded a dev page (lucky 2 upgrade a development page first..) ..from 1.11.2.1 to 1.11.4.
Can not edit pages.
Tying 2 hit update routes in tab <Cache an content> at System Maintenance. This causes this error message:
Fatal error: Call to undefined method news_admin_ops::register_static_route() in /homepages/16/d184975754/htdocs/papageienpark/modules/News/News.module.php on line 442

This is line 442 in the News.module.php:

Code: Select all

	    news_admin_ops::register_static_route($one['news_url'],$one['news_id']);
map_1961
2012-12-28: just copied the cmsmadesimple-1.11.4-full.tar.gz to this folder and extracted. After a successful upgrading process the error message at System Maintenance is gone.
This is the configuration:
Informationen zur CMSMS-Installation
  • CMS-Version 1.11.4
    Installierte Module
    CMSMailer 5.2.1
    CMSPrinting 1.0.3
    FileManager 1.4.3
    MenuManager 1.8.4
    MicroTiny 1.2.5
    ModuleManager 1.5.5
    News 2.12.10
    Search 1.7.7
    ThemeManager 1.1.7
    CGExtensions 1.31.2
    MleCMS 1.11.4
    AkismetCheck 0.2.1
    Captcha 0.4.5
    Cataloger 0.11.2
    CGCalendar 1.10.0.1
    CGFeedMaker 1.0.17
    CGSimpleSmarty 1.5.2
    CGFeedback 1.5.10
    FormBuilder 0.7.3
    FormBrowser 0.4.2
    FrontEndUsers 1.21
    Guestbook 1.4_RC2
    NeoDataStorage 0.3.2
    NeoModule 0.5.0
    NeoUpload 0.3.1
    NMS 2.7
    SelfRegistration 1.7.2
    Showtime 3.2
    Statistics 1.1.3
    Thumbnails 0.1.1
    Uploads 1.14.3
    CustomContent 1.8.3
    NewsSlides 1.2
    avplayer 1.6
    Gallery 1.6
    TinyMCE 2.9.12
    CGSmartImage 1.9.5
    CGFBApp 1.0.7
    CGJobMgr 1.2.11
    CGBlog 1.9.8
Config.php:

Code: Select all

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'xxxxxxxxxxxxxxxxxxx';
$config['db_username'] = 'xxxxxxxxxxxx';
$config['db_password'] = 'xxxxxxxxx';
$config['db_name'] = 'xxxxxxxxxxx';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://dev.papageienpark-bochum.de';
$config['timezone'] = 'Europe/Berlin';
$config['default_encoding'] = 'utf-8';
$config['locale'] = 'de_DE.UTF8';
$config['url_rewriting'] = 'mod_rewrite';
$config['show_performance_info'] = 'false';
?>
htaccess:

Code: Select all

AddType x-mapp-php6 .php
AddHandler x-mapp-php6 .php


AddType video/mp4 .mp4
AddType video/webm .webm
AddType video/ogg .ogv

# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"

#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off

Options +FollowSymLinks

RewriteEngine on
RewriteBase /
 
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# except for form POSTS
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_METHOD} !POST$
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L,NE]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA,NE]

<IfModule mod_deflate.c>
# Compress css, plaintext, xml, gif, and images in transport.
AddOutputFilterByType DEFLATE text/css text/plain text/xml image/gif image/jpeg image/png
</IfModule>

<IfModule mod_expires.c>
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
# Set expires tags on various files... so that the browser wont attempt to reload them.
ExpiresActive On
ExpiresDefault "access plus 1 year"
<IfModule mod_header.c>
  # Setting cache control to public allowes proxy servers to cache the items too.
  Header set Cache-Control "public"
</IfModule>
</FilesMatch>
</IfModule>
Hope this helps finding the problem.
Have a great year 2013!!!

map_1961
networker
Forum Members
Forum Members
Posts: 25
Joined: Sat Feb 07, 2009 2:58 pm

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by networker »

Hallo map_1961,

ich habe mir gerade Deine dev.-seite angesehen. Bitte deaktiviere mal das SocialBookmarks Plugin. Es ist nicht die Lösung des Problems. Ich konnte danach wenigstens wieder Seiten und Template editieren.

Viele Grüße
Christian
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm
Location: Ruhrstadt

Re: Problems upgrading from 1.11.2 to 1.11.4

Post by map_1961 »

networker wrote:Hallo map_1961,

ich habe mir gerade Deine dev.-seite angesehen. Bitte deaktiviere mal das SocialBookmarks Plugin. Es ist nicht die Lösung des Problems. Ich konnte danach wenigstens wieder Seiten und Template editieren.

Viele Grüße
Christian
Thankx Christian,

i deleted the socialbookmarking code from MleCMS block - but stil can not edit the page - i only get a search field and two images not found squares - nothing else.

Thanx
map_1961
Locked

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