Menus
Menus
Menus move up/down is broken - displays popup text box with some page's code with
<title>mysitename - note</title>
<title>mysitename - note</title>
Re: Menus
error log:
Fatal error: Uncaught TypeError: MainMenu::getAllMenuItems(): Return value must be of type array, null returned
~/adm_program/system/classes/MainMenu.php:86
Is that due to trying to change the menu order?
Fatal error: Uncaught TypeError: MainMenu::getAllMenuItems(): Return value must be of type array, null returned
~/adm_program/system/classes/MainMenu.php:86
Is that due to trying to change the menu order?
Re: Menus
I think you missed the update of the theme.
Re: Menus
No. I replaced adm_themes folder along with adm_program and adm_plugins and the file index.php
Re: Menus
Strange, because the error points to a function of the theme of 4.2.
Could you please delete the folder adm_my_files/Template and retry.
Could you please delete the folder adm_my_files/Template and retry.
Re: Menus
That's fixed it! Thanks.
I'm enjoying this app. It has saved me a lot of time and given the organisation a very useful tool.
It'd be handy if there was a list that permitted check box changes rather than select/edit/.
I'm enjoying this app. It has saved me a lot of time and given the organisation a very useful tool.
It'd be handy if there was a list that permitted check box changes rather than select/edit/.
Re: Menus
Thats also strange. Within the update script we delete that folder. But this was not happen in your case.
Did the update script run successfully? Were all update steps done? preferences -> admidio -> update step
Did the update script run successfully? Were all update steps done? preferences -> admidio -> update step
Re: Menus
Preferences - Admidio update:
Admidio version
4.3.8 Check for update
Last step of update
1150 / 1150
The error has recurred!
adm_my_file/templates is not present.
Admidio version
4.3.8 Check for update
Last step of update
1150 / 1150
The error has recurred!
adm_my_file/templates is not present.
Re: Menus
I removed adm_my_file/templates
When I logged out and it came back.
I closed the window.
I removed adm_my_file/templates again.
As soon as I just visit the site, even without signing in, adm_my_file/templates is restored!
It contains a 'compile' folder with 12 php files with names like
e5c9fae1ca49b5256d51131ac529a192932e2ebc_0.file.js_css_files.tpl.php
Visiting https://members.spadco.community/manage ... update.php shows
Update to version 4.3.8
Note
Admidio’s database is up to date.
It is not necessary to update the database.
When I logged out and it came back.
I closed the window.
I removed adm_my_file/templates again.
As soon as I just visit the site, even without signing in, adm_my_file/templates is restored!
It contains a 'compile' folder with 12 php files with names like
e5c9fae1ca49b5256d51131ac529a192932e2ebc_0.file.js_css_files.tpl.php
Visiting https://members.spadco.community/manage ... update.php shows
Update to version 4.3.8
Note
Admidio’s database is up to date.
It is not necessary to update the database.
Re: Menus
Ok, could you then please describe whats not doing will in your environment?
Re: Menus
I don't know why the menu error arose after updating to 4.3.8
It was resolved briefly when I followed your advice to delete ~/adm_my_files/templates but the error recurred next day. I deleted ~/adm_my_files/templates several times but it reappeared as soon as the site was visited, even without logging in!
I removed ~/adm_program/installation because other scripts I've installed always did that and ~/adm_my_files/templates was always recreated with a 'compile' folder which suggested an artefact of installation.
Doing that doesn't seem to have made a difference. The ~/adm_my_files/templates/compile now has 26 .tpl.php files
deleted ~/adm_my_files/templates also has an HTML directory with one .ser file
The menu error stopped occurring after a day of no activity. Again, I don't know why.
Now everything seems stable and is working as it should at https://members.spadco.community/manager/
I'm very pleased with it and I will persist with engaging the client's managers.
Their request was for mailing lists. I started with mailman but admidio gives that and more.
It was resolved briefly when I followed your advice to delete ~/adm_my_files/templates but the error recurred next day. I deleted ~/adm_my_files/templates several times but it reappeared as soon as the site was visited, even without logging in!
I removed ~/adm_program/installation because other scripts I've installed always did that and ~/adm_my_files/templates was always recreated with a 'compile' folder which suggested an artefact of installation.
Doing that doesn't seem to have made a difference. The ~/adm_my_files/templates/compile now has 26 .tpl.php files
deleted ~/adm_my_files/templates also has an HTML directory with one .ser file
The menu error stopped occurring after a day of no activity. Again, I don't know why.
Now everything seems stable and is working as it should at https://members.spadco.community/manager/
I'm very pleased with it and I will persist with engaging the client's managers.
Their request was for mailing lists. I started with mailman but admidio gives that and more.
Re: Menus
The template folder in adm_my_files must be there. As you have seen it will automatically be created. The problem was, that after your update the template folder has the templates of your last version 4.2 and not the new version 4.3 . Therefore the folder must be deleted after update once. This will normally done within the update script. But for some reason that doesn't happen in your environment.
So now all works fine. Thats good.
So now all works fine. Thats good.