Page 2 of 5

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Posted: Fri Nov 04, 2011 10:00 pm
by ODF
I did the upgrade option to 1.10 and after step 6 this error appears on my screen.

Code: Select all

Warning: include(/var/www/admin/lang/sl_SI.nls.php) [function.include]: failed to open stream: Permission denied in /var/www/lib/translation.functions.php on line 91

Warning: include() [function.include]: Failed opening '/var/www/admin//lang/sl_SI.nls.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/lib/translation.functions.php on line 91

Warning: include(/var/www/admin/lang/sr_YU.nls.php) [function.include]: failed to open stream: Permission denied in /var/www/lib/translation.functions.php on line 91

Warning: include() [function.include]: Failed opening '/var/www/admin//lang/sr_YU.nls.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/lib/translation.functions.php on line 91

Warning: include(/var/www/admin/lang/ar_AR.nls.php) [function.include]: failed to open stream: Permission denied in /var/www/lib/translation.functions.php on line 91

Warning: include() [function.include]: Failed opening '/var/www/admin//lang/ar_AR.nls.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/lib/translation.functions.php on line 91

Fatal error: Class MCFeed may not inherit from final class (CmsObject) in /var/www/modules/XMLMadeSimple/classes/MCFeed.class.php on line 310

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Posted: Sat Nov 05, 2011 11:31 am
by ODF
It's a known bug for 1.10 with XML Made Simple: http://dev.cmsmadesimple.org/bug/view/6884

I will remove the module and try again.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 1:25 am
by ODF
By removing the XML Made Simple folder from the modules folder my installation of CMSMS came back up :)

So people who upgrade from 1.9.4.3 to 1.10.x and use XML Made Simple must remove it from their module list before upgrading.

I only had it installed because to test putting a external RSS feed in my website.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 10:01 am
by seregarem
I updated CMS from 1.9.4 to 1.10.1, but there is an error:

Code: Select all

Fatal error: Call to a member function getUserAttributes() on a non-object in /home/hiphop/public_html/hunting-fishing-43.ru/modules/Cataloger/contenttype.catalogitem.php on line 70
What's wrong?

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 11:02 am
by seregarem
I run install/upgrade.php and now my site doesn't open. See http://hunting-fishing-43.ru/

I switched on debug and there is such a mistake:

Code: Select all

Fatal error: Allowed memory size of 37748736 bytes exhausted (tried to allocate 262144 bytes) in /home/hiphop/public_html/hunting-fishing-43.ru/lib/classes/class.CmsObject.php on line 134

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 11:42 am
by Lineapixel
seregarem wrote:I run install/upgrade.php and now my site doesn't open. See http://hunting-fishing-43.ru/

I switched on debug and there is such a mistake:

Code: Select all

Fatal error: Allowed memory size of 37748736 bytes exhausted (tried to allocate 262144 bytes) in /home/hiphop/public_html/hunting-fishing-43.ru/lib/classes/class.CmsObject.php on line 134
If you read the previous posts, I had a similar problem.
Now it could be interesting to see what our websites have in common, maybe mostly regarding installed modules

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 11:44 am
by seregarem
I have these modules:

I deleted Search module and this mistake fixed, but the site doesn't work!

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 11:50 am
by Lineapixel
This is the list you find in your ftp browser, but after uploading the 1.10 files (Microtiny and CMSprinting come just with the new release) and moreover it doesn't mean they were all currently "installed".
You should restore your backups and list which modules (and versions) are installed and working using the Module page in the admin section.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 12:01 pm
by seregarem
All these modules worked in old version.
Should I make these changes (see list under) in all modules?

1: Removing $gCms→smarty, use cmsms()→GetSmarty() instead.
In older versions of CMSMS the $gCms object contained a reference to the global smarty object. The global smarty object is now a singleton to ensure that it cannot be instantiated more than once.

2: Removed the $gCms→config, use cmsms()→GetConfig() instead.
Similar to the Smarty object, the config object is also a singleton. Therefore that method of accessing the config object has been removed.

3: Removed the $gCms→modules array. use cms_utils::get_module() instead.
The public modules array, a throwback to the days of php4 has been removed, and replaced with a complete api (see the ModuleOperations class). A simple method to obtain a module object reference has been (since CMSMS 1.9) the cms_utils::get_module() method. This may effect your UDT’s the most.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Mon Nov 07, 2011 12:09 pm
by Lineapixel
I can't help with that, my developing skills are pretty limited.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Tue Nov 08, 2011 10:13 am
by Zea Antares
So far even without major programming skills I always was able to upgrade previous cms-versions - but this one is tough. Only one of the upgrades of so far 3 installs worked at first try (upgrading from 1.9.4.X). Currently the upgrade process stops at stage 6, with just a white page - nothing is accessible anymore. I re-installed the previous version and regained access, but then the news module was gone and the menu manager had to be deinstalled (under Modules) to show up again after the deinstall (?!). Now neither version works properly...
I did save the templates but it seems I have to start from scratch again - with a fresh installation of cmsmadesimple... is all this happening because 1.10.1 is buggy, or because of my ignorance?
:-\

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Tue Nov 08, 2011 10:17 am
by Lineapixel
Zea Antares wrote:I re-installed the previous version and regained access, but then the news module was gone and the menu manager had to be deinstalled (under Modules) to show up again after the deinstall (?!). Now neither version works properly...
I did save the templates but it seems I have to start from scratch again
Did you restore the database from a backup too?

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Tue Nov 08, 2011 10:51 am
by seregarem
yes, I had such a problem :-(
I had to re-install old version and than restore DB.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Tue Nov 08, 2011 10:52 am
by ODF
CMSMS 1.10.x has so many new lines of code that a lot of modules that are not yet upgraded to version 1.10.x don't work or give fatal errors when upgrading.

One of the upgrade rules for 1.10.x must be that you disable or remove all modules that are not yet upgraded to work with 1.10.x.

I got my website up and running again, but I will wait with upgrading other CMSMS websites I have under my care.

Re: Installing or Upgrading to 1.10.x - Problems and Solutio

Posted: Tue Nov 08, 2011 12:32 pm
by staartmees
to prevent you have to start from scratch again, before upgrading:
  • always make a complete backup of your site and a backup of your database with phpMyAdmin.
  • make sure al your modules are up to date