Getting an error from 0.6.3 to 0.8.2 upgrade

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.
Locked
webby57

Getting an error from 0.6.3 to 0.8.2 upgrade

Post by webby57 »

I get an error that reads:

Fatal Error: Call to undefined function:
set_all_pages_hierarchy_position() in install/upgrades/upgrade.6.to.7.php


Anyone knows what is the problem and how to fix it?


cheers.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Getting an error from 0.6.3 to 0.8.2 upgrade

Post by Ted »

Comment line 25 out in install/upgrades/upgrade.6.to.7.php. Sorry about that. I never did the 0.1-0.8 upgrade test before release.
webby57

Is that mean that it can't read menu?

Post by webby57 »

Hi,

Do you have a solution or I have to live with my old version of cms made simple?

By the way, It's a great cms... congrats.
webby57

not 0.1 to 0.8

Post by webby57 »

It's 0.6 to 0.8
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Getting an error from 0.6.3 to 0.8.2 upgrade

Post by Ted »

Sorry, my comment above probably didn't make sense.

In a text editor, open up install/upgrades/upgrade.6.to.7.php. Go to line 25. It should look something like this:

Code: Select all

set_all_pages_hierarchy_position();
Modify the line to look like this:

Code: Select all

#set_all_pages_hierarchy_position();
Save the file and try the upgrade again. It should work fine.

Let me know if that helps.
Anonymous

tks

Post by Anonymous »

Many tks.
Locked

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