Problems when Upgrade System from 1.0.5 to 1.0.6

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
anasampedro

Problems when Upgrade System from 1.0.5 to 1.0.6

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Problems when Upgrade System from 1.0.5 to 1.0.6

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

Return to “CMSMS Core”