Page 3 of 5

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Wed Dec 19, 2012 11:45 pm
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Fri Dec 21, 2012 8:33 am
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Fri Dec 21, 2012 10:32 am
by saltydog
I cannot fresh install. I have several production sites running...

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Sat Dec 22, 2012 2:30 pm
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


----------------------------------------------

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Sat Dec 22, 2012 8:07 pm
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Sat Dec 22, 2012 9:46 pm
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Sun Dec 23, 2012 8:49 am
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.

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Sun Dec 23, 2012 9:58 am
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Mon Dec 24, 2012 12:25 am
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Thu Dec 27, 2012 10:34 am
by saltydog
I have turned debug on, but where should I see the error log from my faulty template?

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Thu Dec 27, 2012 11:00 am
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.)

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Thu Dec 27, 2012 3:41 pm
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Fri Dec 28, 2012 9:39 am
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Fri Dec 28, 2012 11:54 am
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

Re: Problems upgrading from 1.11.2 to 1.11.4

Posted: Fri Dec 28, 2012 12:18 pm
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