Page 1 of 13

Installing or Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 5:24 pm
by Dr.CSS
If you upgrade to 1.9 and are having problems please use this thread to post them and not in the announcement, Thanks...

  mark


++++++++++++++++++++++++++++++++++++
Known Issues and Solutions
++++++++++++++++++++++++++++++++++++

Several module have already been updated to the 1.9 code changes. Summary:

- AdvancedContent 0.7
- CGExtentions 1.21
- Content Aliases 0.6.11
- Decision Maker 1.0.1
- Frontendusers 1.12.5
- JQueryTools 1.0.10
- SelfRegistration 1.6.7

Please check the Forge for the latest releases: http://dev.cmsmadesimple.org/project/latest_files


1. Problems with {menu ... number_of_levels="1"} [Fixed]

Solution:
Already fixed in SVN MenuManager rev. 172  file MenuManager.module.php
http://viewsvn.cmsmadesimple.org/filede ... module.php

You can also temporary set number_of_levels="0"


2. Fatal error: Class 'CMSModule' not found in .../lib/classes/class.events.inc.php [Fixed]

Solution:
Replace file /lib/classes/class.events.inc.php with latest SVN version and finish the upgrade
http://viewsvn.cmsmadesimple.org/filede ... ts.inc.php


3. Notice: Modification of internal data is deprecated: myname in .../lib/classes/class.cms_variables.php on line 46 [Fixed]

Solution:
Upgrade CGExtentions module to 1.20


4. {content_image} [Fixed]

Solution:
Already fixed in SVN CMSMS Core Rev. 6765
Replace file: /plugins/function.content_image.php
http://viewsvn.cmsmadesimple.org/filede ... _image.php


5. TinyMCE

Some known problems described in this, and other threads have already been fixed by Silmarillion in the SVN.
There will be a new release of TinyMCE soon.


6. page.funtions.php and ordercontent_tree.tpl.php [Fixed]

Notice: Indirect modification of overloaded element of cms_variables has no effect in .../lib/page.functions.php on line 382

Fatal error: Cannot assign by reference to overloaded object in .../lib/page.functions.php on line 382

Fatal error: Call to a member function Id() on a non-object in .../tmp/templates_c/%%A3^A36^A36F658E%%ordercontent_tree.tpl.php on line 7

Fixed in the SVN

Re: Upgrading to 1.9 problems?...

Posted: Mon Nov 08, 2010 5:43 pm
by Franck
I haven't installed it yet, but I have a question: could it be possible to have a list of modules already working with 1.9? If it makes sense. Thanx.

Re: Upgrading to 1.9 problems?...

Posted: Mon Nov 08, 2010 5:49 pm
by Dr.CSS
There are way too many modules for any one person test if they work in 1.9...

Re: Upgrading to 1.9 problems?...

Posted: Mon Nov 08, 2010 6:41 pm
by rab
Great update! Pages list is wonderful, new admin theme really nice - can't wait to start playing with the many upgraded features!

One question - after upgrading from 1.8.2 (which went very smoothly - I get the following error every time I go to any of the CGEcommerce modules:

Code: Select all

string(128) "Smarty error: [in temporary template line 1]: syntax error: unrecognized tag 'JQueryTools' (Smarty_Compiler.class.php, line 590)" string(128) "Smarty error: [in temporary template line 2]: syntax error: unrecognized tag 'JQueryTools' (Smarty_Compiler.class.php, line 590
Had no such issues with Ecommerce modules in v1.8.2, couldn't find anything similar in the forums, so thought it might be related to the JQuery changes in v1.9?

Thanks for keeping CMS Made Simple the best CMS!

Re: Upgrading to 1.9 problems?...

Posted: Mon Nov 08, 2010 6:44 pm
by Ricko97
I get the following error when attempting to run the upgrade script (/upgrade.php?sessiontest=1, CMSMS 1.8.2 -> 1.9):
Fatal error: Class 'CMSModule' not found in /home/ricko/rickomann.me.uk/lib/classes/class.events.inc.php on line 130
My installed modules are:

Code: Select all

CMSMailer		2.0
FileManager		1.0.3
MenuManager		1.7
ModuleManager		1.4
News			2.11
nuSOAP			1.0.2
Printing		1.1.1
Search			1.6.6
ThemeManager		1.1.2
TinyMCE			2.8.0
CGExtensions		1.20
FrontEndUsers		1.12.3
CustomContent		1.7.3
I have tried the solutions suggested in this thread, i.e.:
  • - Manually edit cms_modules table in db to mark incompatible modules as inactive or uninstalled. I even tried truncating the entire table.
  • - Renaming the modules' directories to make them "invalid".
Neither have worked for me and I still receive the same error.

Re: Upgrading to 1.9 problems?...

Posted: Mon Nov 08, 2010 7:10 pm
by Rolf
@ Rab

New release already available in the Forge:
http://dev.cmsmadesimple.org/projects/jquerytools

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:09 pm
by nicmare
new problem in tinymce configuration:
in TinyMCE->Advanced Tab i want to modify available Blockformats in Dropdown. When i click the input field, i will be forwared to the admin homepage

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:16 pm
by nicmare
and "Additions to stylesheet" textarea doesnt affect anything :(.

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:26 pm
by Silmarillion
There's no onlick action on that field, so that should not be possible... I cannot recreate the problem in any way here... which browser?
nicmare wrote: new problem in tinymce configuration:
in TinyMCE->Advanced Tab i want to modify available Blockformats in Dropdown. When i click the input field, i will be forwared to the admin homepage

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:28 pm
by Silmarillion
You mean what you put in there doesn't work?

It should be added at the very end of the stylesheet Tiny gets fed with...

tried something stupid like
p {
  color: red
}

or something and see if it works or not...

because it works fine here :)
nicmare wrote: and "Additions to stylesheet" textarea doesnt affect anything :(.

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:29 pm
by nicmare
problem1 solved "magically". maybe a problem of the browser…

for problem2 i attached two screenshots. notice the unchecked box!

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:35 pm
by rab
Thanks, Rolf. JQueryTools upgrade solved the problem.

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:38 pm
by nicmare
here additionally a screenshot of firebug showing the related (!?) stylesheet link

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 8:40 pm
by Silmarillion
wow... heard about that prblem, but cannot recreate it myself, must be some server setting... We'll keep working on it!

Re: Upgrading to 1.9 - Problems and Solutions

Posted: Mon Nov 08, 2010 9:00 pm
by Silmarillion
additional css issue is fixed in svn and upcoming 2.8.1... a security measure that went wrong...