Page 1 of 1

Problems when Upgrade System from 1.0.5 to 1.0.6

Posted: Wed May 02, 2007 1:08 pm
by anasampedro
I take the following message:

Upgrade System
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]

Upgrading Search module from 1.1 to 1.2...
Fatal error: Call to a member function on a non-object in /data/portalcmsms/modules/Search/Search.module.php on line 408

Re: Problems when Upgrade System from 1.0.5 to 1.0.6

Posted: Wed May 02, 2007 1:50 pm
by Dee
Hmm, not good. Looks like corrupted (module?) content of some sort.

Quick try:
(Uninstall Search,) delete the Search module folder from the server, upgrade and then install Search.

If that doesn't work:
On line 404 of Search.module.php, after the line containing

Code: Select all

$content =& $params['content'];
try adding this line:

Code: Select all

if (!$content) break;
Regards,
D