Digests

No mode specified. error - Digests

No mode specified. error

by PAK202 » Fri Feb 15, 2019 1:57 am

New to PHPBB and not exactly a tech.. I'm trying to figure out where I went wrong.

phpBB ver - 3.2.5
PHP ver - 7.2.15
digest ver - 3.2.11

I have added the digest 3.2.11 extension to the site and I do not see the expected menu tab at the top
I can see settings in : UCP -> Digests
And can see settings in : ACP -> Extensions -> Digests

Also I can see listed under the general tab (down the left side menu) 4 options:
ACP_DIGEST_GENERAL_SETTINGS
ACP_DIGEST_USER_DEFAULT_SETTINGS
ACP_DIGEST_EDIT_SUBSCRIBERS
ACP_DIGEST_BALANCE_LOAD

Clicking any of the 4 options in the left side menu under the General tab, results in the following error:
No mode specified.

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/acp/acp_board.php
LINE: 474
CALL: trigger_error()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_board->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()
PAK202
Registered User
Posts: 2
Joined: Fri Feb 15, 2019 1:13 am

Re: No mode specified. error

by MarkDHamill » Fri Feb 15, 2019 1:02 pm

I would disable the extension, delete its data then enable the extension again and see if it goes away.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4933
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA

Re: No mode specified. error

by PAK202 » Fri Feb 15, 2019 7:38 pm

Thanks for your fast reply.
--- issue now fixed --- Cause was older database entries from past install before upgrading to phpBB 3.2.5

--- More details should anyone need ---

The extension has been disabled and the data has been deleted via the admin.
- This did not correct the issue on it's own..

That said - I found where I went wrong..
In the past the site had an older version of the extension before phpbb was updated to phpBB ver - 3.2.5
After searching for "digest" and cleaning out the DB of what I assume to be remaining values from the older version I was able to reinstall and all seems to be working fine now.

I suggest that should anyone in the future have same or like issues that they do as you suggested : "disable the extension, delete its data"
As well as have a quick search in their myphpadmin for "digest" and (do a backup of the DB first) then remove the entries in the *_modules.

Thanks again.
PAK202
Registered User
Posts: 2
Joined: Fri Feb 15, 2019 1:13 am

Re: No mode specified. error

by MarkDHamill » Sat Feb 16, 2019 1:19 pm

It's implicit that if a previous version of an extension is installed that it should be disabled and removed before uploading the newer version. This is on the Manage extensions page, but it's easy to overlook and you are not the first to encounter this. I can update the FAQ, however, and will do so.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4933
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA