Installing or Upgrading to 1.10.x - Problems and Solutions

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.
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post 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
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post 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.
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

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

Post 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.
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

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

Post 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?
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

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

Post 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
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

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

Post 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
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

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

Post by seregarem »

I have these modules:

I deleted Search module and this mistake fixed, but the site doesn't work!
Attachments
Безымянный.JPG
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

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

Post 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.
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

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

Post 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.
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

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

Post by Lineapixel »

I can't help with that, my developing skills are pretty limited.
Zea Antares
New Member
New Member
Posts: 5
Joined: Sun Jan 13, 2008 12:28 pm

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

Post 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?
:-\
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

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

Post 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?
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

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

Post by seregarem »

yes, I had such a problem :-(
I had to re-install old version and than restore DB.
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

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

Post 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.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

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

Post 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
Locked

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