Page 1 of 1

[solved] Upgrade from 0.13 to current version

Posted: Wed Aug 20, 2008 11:46 am
by pdedecker
I tried upgrading an old version of CMS Made Simple to the most recent version today. When I run the upgrade script, I get this output:
Welcome to the CMS Upgrade System!

In order to upgrade properly, upgrade needs to have write access to your config.php file. This is so any extra settings that have been introduced in this version can be set to their defaults.

Upgrading config.php...[done]

Cleaning cache dirs...[done]
And it just stops there. When I log in to the admin panel, there's still a notice that urges me to upgrade. Is there a way to fix this?

Edit: just found out that I had a prehistoric version of CMS Made Simple installed before upgrading. Is upgrading from 0.13 to the current version possible?

Re: Upgrade from 0.13 to current version

Posted: Wed Aug 20, 2008 3:25 pm
by pdedecker
Okay, so I tried installing the most recent version from scratch. I deleted the entire folder structure, emptied the database, uploaded a fresh copy of 1.4.1. After step three (with the MySQL settings), I see a page that is nearly empty:
`
`
Server software versions are:
PHP 5.1.6
MySQL 4.1.20
Apache/2.0.52 (Red Hat)

Re: Upgrade from 0.13 to current version

Posted: Wed Aug 20, 2008 4:32 pm
by alby
pdedecker wrote: Okay, so I tried installing the most recent version from scratch. I deleted the entire folder structure, emptied the database, uploaded a fresh copy of 1.4.1. After step three (with the MySQL settings), I see a page that is nearly empty:
`
`
Server software versions are:
PHP 5.1.6
MySQL 4.1.20
Apache/2.0.52 (Red Hat)
Re-upload whole pack

Alby

Re: Upgrade from 0.13 to current version

Posted: Wed Aug 20, 2008 5:33 pm
by pdedecker
Site is up and running now, but I cannot edit my pages and templates. Here's what the page editor looks like:

Image
(Translation: "Content > Pages")

Re: Upgrade from 0.13 to current version

Posted: Wed Aug 20, 2008 7:45 pm
by alby
pdedecker wrote: Site is up and running now, but I cannot edit my pages and templates. Here's what the page editor looks like:
Active debug in config.php and look in server logs for other info

Alby

Re: Upgrade from 0.13 to current version

Posted: Thu Aug 21, 2008 6:44 am
by pdedecker
Got the error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3735552 bytes) in /var/www/html/cmsms/admin/lang/en_US/admin.inc.php on line 844

Re: Upgrade from 0.13 to current version

Posted: Thu Aug 21, 2008 6:50 am
by alby
pdedecker wrote: Got the error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3735552 bytes) in /var/www/html/cmsms/admin/lang/en_US/admin.inc.php on line 844
In config.php (first param) add 24M:
$config['php_memory_limit'] = '24M';

Alby

Re: Upgrade from 0.13 to current version

Posted: Thu Aug 21, 2008 6:58 am
by pdedecker
Fixed. I appreciate your help. :)

Re: [solved] Upgrade from 0.13 to current version

Posted: Mon Aug 25, 2008 5:08 pm
by Pierre M.
May be you can contribute this "memory exhausted" issue in the wiki ? The install/upgrade guide has a troubleshooting section you should like.

Pierre M.