Left Admin Menu

1.0.8.4 Not working - Left Admin Menu

1.0.8.4 Not working

by Tanya » Thu Jul 15, 2021 7:40 am

New install 1.0.8.4
Enable override template in My store
Paste file to templates/override/includes/hooks/admin/siteWide/hMenu.php

No down arrow to show a left menu.

How to get it to work in 1.0.8.4?

Thank you.
Tanya
Member
Posts: 19
Joined: Tue Mar 09, 2021 3:16 pm
Phoenix Version:
Contact:

Re: 1.0.8.4 Not working

by zipurman » Thu Jul 15, 2021 4:36 pm

1.0.8.4 looks like it no longer loads hooks from the templates/override/includes/hooks/admin/siteWide . You can do the following to get this working:

- create a folder: includes/hooks/admin/old
- move includes/hooks/admin/siteWide/hMenu.php to /hooks/admin/old/hMenu.php
- move templates/override/includes/hooks/admin/siteWide/hMenu.php to includes/hooks/admin/siteWide/hMenu.php

This should solve the issue. *** This now becomes a core change ... but ATM, I am unaware of another way to do this.
zipurman
-----------
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Contact:

Re: 1.0.8.4 Not working

by Tanya » Thu Jul 15, 2021 5:30 pm

Thank you, Left Admin Menu works now.
Tanya
Member
Posts: 19
Joined: Tue Mar 09, 2021 3:16 pm
Phoenix Version:
Contact:

Re: 1.0.8.4 Not working

by Tom » Thu Sep 05, 2024 8:17 pm

Would this same workaround get the side menu working in V1.0.9.6 ?
Tom
Member
Posts: 27
Joined: Thu Nov 05, 2020 7:22 pm
Phoenix Version:
Contact:

Re: 1.0.8.4 Not working

by zipurman » Fri Sep 06, 2024 6:49 pm

I have not yet tested in 1.0.9.6, but it should always work in includes/hooks/admin/siteWide/hMenu.php, make sure to backup the old hMenu in case you need to revert.
zipurman
-----------
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Contact:

Re: 1.0.9.6 Not working

by Tom » Wed Sep 11, 2024 7:19 am

Hi ,
I tried it several times and keep getting the same result "This page isn’t working *********.co.uk is currently unable to handle this request.
HTTP ERROR 500"
When I revert to the original hMenu.php it all works fine again.
My Cpanel and Website keep working, I just lose access to admin.
Is there anyway to get it working without making a core change?
Last edited by Tom on Wed Sep 11, 2024 7:39 am
Tom
Member
Posts: 27
Joined: Thu Nov 05, 2020 7:22 pm
Phoenix Version:
Contact:

Re: 1.0.8.4 Not working

by zipurman » Wed Sep 11, 2024 7:27 am

I just tested today on 1.0.9.5 and it works fine.

I would need you to share error log errors for support.

1.0.9.6 is not tested yet.
zipurman
-----------
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Contact:

Re: 1.0.8.4 Not working

by Tom » Wed Sep 11, 2024 6:01 pm

is that the error log in the catalog directory?
Tom
Member
Posts: 27
Joined: Thu Nov 05, 2020 7:22 pm
Phoenix Version:
Contact:

Re: 1.0.8.4 Not working

by zipurman » Wed Sep 11, 2024 6:12 pm

The error_log in the admin directory would be related to admin errors, depending on your hosting environment.
zipurman
-----------
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Contact:

Re: 1.0.8.4 Not working

by Tom » Wed Sep 11, 2024 6:29 pm

[09-Sep-2024 19:23:34 Europe/London] callCartmartAPI https://cartmart.uk/api/addons/PPCHECKO ... tion=check
[11-Sep-2024 08:07:08 Europe/London] PHP Fatal error: Uncaught Error: Class 'hook_admin_siteWide_hMenu-ORIGINAL' not found in /home/artisanw/public_html/includes/system/versioned/1.0.9.1/guarantor.php:17
Stack trace:
#0 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(111): Guarantor::ensure_global('hook_admin_site...')
#1 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(132): hooks->register('siteWide')
#2 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(127): hooks->register_pipeline('siteWide')
#3 /home/artisanw/public_html/admin/includes/application_top.php(142): hooks->register_page()
#4 /home/artisanw/public_html/admin/login.php(16): require('/home/artisanw/...')
#5 {main}
thrown in /home/artisanw/public_html/includes/system/versioned/1.0.9.1/guarantor.php on line 17
[11-Sep-2024 08:09:35 Europe/London] PHP Fatal error: Uncaught Error: Class 'hook_admin_siteWide_hMenu-ORIGINAL' not found in /home/artisanw/public_html/includes/system/versioned/1.0.9.1/guarantor.php:17
Stack trace:
#0 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(111): Guarantor::ensure_global('hook_admin_site...')
#1 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(132): hooks->register('siteWide')
#2 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(127): hooks->register_pipeline('siteWide')
#3 /home/artisanw/public_html/admin/includes/application_top.php(142): hooks->register_page()
#4 /home/artisanw/public_html/admin/login.php(16): require('/home/artisanw/...')
#5 {main}
thrown in /home/artisanw/public_html/includes/system/versioned/1.0.9.1/guarantor.php on line 17
[11-Sep-2024 08:13:45 Europe/London] PHP Fatal error: Uncaught Error: Class 'hook_admin_siteWide_hMenu-ORIGINAL' not found in /home/artisanw/public_html/includes/system/versioned/1.0.9.1/guarantor.php:17
Stack trace:
#0 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(111): Guarantor::ensure_global('hook_admin_site...')
#1 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(132): hooks->register('siteWide')
#2 /home/artisanw/public_html/includes/system/versioned/1.0.8.1/hooks.php(127): hooks->register_pipeline('siteWide')
#3 /home/artisanw/public_html/admin/includes/application_top.php(142): hooks->register_page()
#4 /home/artisanw/public_html/admin/index.php(13): require('/home/artisanw/...')
#5 {main}
thrown in /home/artisanw/public_html/includes/system/versioned/1.0.9.1/guarantor.php on line 17
Tom
Member
Posts: 27
Joined: Thu Nov 05, 2020 7:22 pm
Phoenix Version:
Contact: