Page 1 of 2

[given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Sun Jul 26, 2009 6:00 pm
by Cherry
Hallo,

I don't seem to be able to upgrade my 1.5.4 mle installation to the 1.6.1:

The old one works perfectly.... no errors so far on it.
To upgrade I've downloaded the base mle package from the Forge. Unpacked it, copied it over the old files.
Ran upgrade.php ... worked without error.

Then changed  $config['set_names'] = true; in config.php.

I then tried to update config_lang.php from the admin interface ( which didn't quite work)... so I edited by hand like so:

Code: Select all

$hls = array(
 'de_DE' => array(
	'locale_cms'=>'de_DE',
	'block'=>'de',
	'parent'=>'de_DE',
	'flag'=>'<img src="http://siedlungcms.local/uploads/lang/de.png" style="border:0;opacity:1;" alt="Deutsch" title="Deutsch" />',
	'text'=>'Deutsch',
	'locale'=>'de_DE.UTF-8'
 ),
 'en_US' => array(
	'locale_cms'=>'en_US',
	'block'=>'en',
	'parent'=>'en',
	'flag'=>'<img src="http://siedlungcms.local/uploads/lang/us.png" style="border:0;opacity:1;" alt="English" title="English" />',
	'text'=>'English',
	'locale'=>'en_US.UTF-8'
 ),
 'pl_PL' => array(
	'locale_cms'=>'pl_PL',
	'block'=>'pl',
	'parent'=>'pl',
	'flag'=>'<img src="http://siedlungcms.local/uploads/lang/pl.png" style="border:0;opacity:1;" alt="Polski" title="Polski" />',
	'text'=>'Polski',
	'locale'=>'pl_PL.UTF-8'
 ),
);
So far so good....
Now in the admin interface where I normally edit my pages all the German pages have menu entries displayed. The English ones haven't and nor have the Polish..... How do I get them back ( They are in the database.... I've checked that).

Together with this problem of course no site can be displayed in front-end view ( = what the user would see). No menu-item displayed there either :-(

What have I been missing?
Has anybody had a similar problem and can help me solve it?

Thanks so much
Cherry

Re: No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Sun Jul 26, 2009 9:04 pm
by alby
Cherry wrote: I then tried to update config_lang.php from the admin interface ( which didn't quite work)... so I edited by hand like so:
You must upgrade your config_lang via Global Settings > MLE languages (extended must be enabled)
Test your MLE DB (however it's a simple testing) in Global Settings > MLE settings

Alby

Re: No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Mon Jul 27, 2009 7:05 am
by Cherry
You must upgrade your config_lang via Global Settings > MLE languages
...that's what I tried first ... but didn't work :-(. I then decided to edit by hand.
(extended must be enabled)
where do I find that?
Test your MLE DB
I did that prior to writing here. The test said it's ok.

I guess my problem has something to do with all these locale strings .... not sure about those.

Has anybody successfully upgraded their installation and can help?
Meanwhile will have to stick to 1.5.4 mle :-(

Re: No menu items after upgrade from 1.5.4mle to 1.6.1mle - addendum

Posted: Mon Jul 27, 2009 11:49 am
by Cherry
addendum:

it works perfectly to upgrade from 1.5.4 mle to 1.6.0 mle

Re: No menu items after upgrade from 1.5.4mle to 1.6.1mle - addendum

Posted: Mon Jul 27, 2009 9:24 pm
by alby
Cherry wrote: addendum:

it works perfectly to upgrade from 1.5.4 mle to 1.6.0 mle
The differences from 1.6 and 1.6.1 is that 1.6.1 has (for default) extended already enabled (look 1.5.4 for README.FIRST.extended)

Try to reupload admin/siteprefs*.php and admin/templates/siteprefs.tpl and check with firebug addon (for FF) if you have error in javascript

Alby

Re: No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Tue Jul 28, 2009 12:43 pm
by Cherry
I think I'll give up here :-(

I can update from 1.5.4 to 1.6
Everything works fine .... after having made those few GCB changes  .

As soon as I copy the 1.6.1 files over it ... nothing works any more.

The menu entries as well as the page-contents are lost.

Everything is there in the database.... but won't show.
Hope for a working 1.7 ....and leave it 1.6 for that time.

Re: No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Tue Jul 28, 2009 1:14 pm
by alby
Cherry wrote: I can update from 1.5.4 to 1.6
Everything works fine .... after having made those few GCB changes  .

As soon as I copy the 1.6.1 files over it ... nothing works any more.

The menu entries as well as the page-contents are lost.
In 1.6 have you upgraded in Global Settings > MLE languages?

Or in 1.6.1 enable debug in config.php and look for errors

Alby

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 3:30 pm
by simplicissimus
Hello!

Cherry wrote: [...] So far so good....
Now in the admin interface where I normally edit my pages all the German pages have menu entries displayed. The English ones haven't and nor have the Polish..... How do I get them back ( They are in the database.... I've checked that).

Together with this problem of course no site can be displayed in front-end view ( = what the user would see). No menu-item displayed there either :-(

What have I been missing?
Has anybody had a similar problem and can help me solve it? [...]
You are not alone, Cherry!
I have the same problems after upgrading from version 1.6 to 1.6.1.
During the update process there were no error messages.
But the menu items in the front end have vanished and in the back end I have the same trouble with the English and Spanish language - therefore I went back to the previous version.

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 4:59 pm
by Cherry
Good to know --- thanks for telling me.

I've tried again and again ... but it just doesn't work. No error messages. But a broken system.

Works fine till 1.60. After copying the 1.6.1 files over it ... evrything is broken. I've even downloaded the package again in case it was damaged. But no change. So hopefully a later version will work again. Until then ... 1.60 is my friend ;-)

Cherry

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 9:28 pm
by saltydog
How can I revert back to CMS 1.6 and MLE 1.6 after having upgraded to 1.6.1?
I am in the same situation as yours.

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 10:04 pm
by Dr.CSS
Put the 1.6 folder/files in root and run /install/upgrade.php...

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 10:06 pm
by saltydog
Dr. CSS wrote: Put the 1.6 folder/files in root and run /install/upgrade.php...
Thanks. This is for CMSMS, and what for MLE?

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 10:09 pm
by Dr.CSS
Same thing...

But of course do a full backup, folders/files and DB...

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Wed Jul 29, 2009 11:38 pm
by simplicissimus
Hello,

I made a backup of the files with a ftp-program and saved the data of the MySQL-database with the program "MySQLDumper".
As I realized that the version 1.6.1. didn't work, I deleted the files on the server, uploaded the saved files and restored the database with MySQLDumper.
Now the version 1.6 works fine again ... and please excuse my English.

Saludos
simplicissimus

Re: [given up] No menu items after upgrade from 1.5.4mle to 1.6.1mle

Posted: Thu Jul 30, 2009 9:36 am
by saltydog
Once restored the 1.6 version, isn't possibile to apply security patches for 1.6.1 and 1.6.2 in the base CMS-MS, without applying patches for the broken MLE?