HTTP error 500 when clicking on Digest tab in UCP - Digests
HTTP error 500 when clicking on Digest tab in UCP
I've installed the Digest extension (3.2.11 on phpBB 3.2.5) and it shows up in both the UCP and ACP. Problem though is, that when I click the Digest tab in the UCP (User Control Panel) the underlaying URL myforumhere.com/ucp.php?i=230 leads to an HTTP error 500.
Any ideas or advice?
Any ideas or advice?
-
- Registered User
- Posts: 45
- Joined: Fri Jan 18, 2019 4:34 am
- Location: Germany
Re: HTTP error 500 when clicking on Digest tab in UCP
I can say that no one else has reported this. My guess is that there was some hiccup during installation of the extension. You can try disabling it, deleting the data, unloading a fresh version, reinstalling it and see if the problem recurs. I am thinking the modules table was not populated with the right information.
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.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: HTTP error 500 when clicking on Digest tab in UCP
Disabled it in ACP, deleted the data, deleted the Digests extension folder from the server. Downloaded it again from here, pushed it to the server, activated it. Same situation: Looks perfectly fine in ACP, shows up as tab in UCP, but when I click the UCP Digest tab, I get HTTP error 500.
Further ideas where to look, which files to tweak? Could the problem be related to the PHP version (running 7.1.26 here)?
Thanks in advance.
Further ideas where to look, which files to tweak? Could the problem be related to the PHP version (running 7.1.26 here)?
Thanks in advance.
-
- Registered User
- Posts: 45
- Joined: Fri Jan 18, 2019 4:34 am
- Location: Germany
Re: HTTP error 500 when clicking on Digest tab in UCP
The only thing I can think of is there might be some sort of module naming conflict. Did you previously have the digests mod installed on a phpBB 3.0 forum? I tested that approach and the FAQ requests that you remove the old modules manually before installing the extension. The UCP module settings should look like this:
UCP_DIGESTS_BASICS
UCP_DIGESTS_FORUMS_SELECTION
UCP_DIGESTS_POST_FILTERS
UCP_DIGESTS_ADDITIONAL_CRITERIA
Modules should be enabled and displayed.
The module language names should be (in sequence):UCP_DIGESTS_BASICS
UCP_DIGESTS_FORUMS_SELECTION
UCP_DIGESTS_POST_FILTERS
UCP_DIGESTS_ADDITIONAL_CRITERIA
Modules should be enabled and displayed.
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.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: HTTP error 500 when clicking on Digest tab in UCP
The board is virgin, with a fresh installation of 3.2.x. Thus also first, fresh installation of Digest. Scratching my head...
Disabled other UCP modules, changed UCP module orders, selectively disabled & re-enabled UCP/Digest modules. No change. Also tried to give e.g. UCP_DIGESTS_BASICS a different parent (–> Overview), to check if the problem lies only in the parent: Basics then shows up in the UCP/Overview tab, but when clicked, again: Error 500. Clueless...
Where can I find the log file for that error 500? Could that point us at the problem? Or is there some .htaccess file to be edited!? (Sorry, no UNIX nor phpBB expert). Also emptied /cache on server, as well as Browser cache.
Disabled other UCP modules, changed UCP module orders, selectively disabled & re-enabled UCP/Digest modules. No change. Also tried to give e.g. UCP_DIGESTS_BASICS a different parent (–> Overview), to check if the problem lies only in the parent: Basics then shows up in the UCP/Overview tab, but when clicked, again: Error 500. Clueless...
Where can I find the log file for that error 500? Could that point us at the problem? Or is there some .htaccess file to be edited!? (Sorry, no UNIX nor phpBB expert). Also emptied /cache on server, as well as Browser cache.
Last edited by Peeagepeebeebee on Sun Feb 03, 2019 6:04 pm
-
- Registered User
- Posts: 45
- Joined: Fri Jan 18, 2019 4:34 am
- Location: Germany
Re: HTTP error 500 when clicking on Digest tab in UCP
Digging towards the cause of the problem... Found the server log files and came across this:
Looks to me as if it's related to the style theme I'm using. Will test it now with the default theme...
OK... That did the job: No problem calling UCP/Digests with standard style ”prosilver", but HTTP error 500 when switching to style "Quarto Asphalt". Question now is how make Digest work with my custom style? Seem like I have to copy ucp_digests.html somewhere into the custom style... But from where to where exactly? Can you help?
Fixed? Seems so.
So I cloned /ext/phpbbservices/digests/styles/prosilver/template/ucp_digests.html to /ext/phpbbservices/digests/styles/all/template/ucp_digests.html (as the above error log gave hints where it is looking for that file). It now works also with my custom theme, question though is whether that’s the correct/appropriate location for the copy of the file to be. If so, perhaps you should add this change to your distribution.
Code: Select all
PHP Fatal error: Uncaught Twig_Error_Loader: Unable to find template "ucp_digests.html" (looked into:
/mnt/web221/d3/72/52050872/htdocs/phpBB_04/ext/phpbbservices/digests/styles/all/template,
/mnt/web221/d3/72/52050872/htdocs/phpBB_04/ext/phpbbservices/digests/styles/all/theme,
/mnt/web221/d3/72/52050872/htdocs/phpBB_04/styles/quarto_asphalt/template,
/mnt/web221/d3/72/52050872/htdocs/phpBB_04/styles/quarto_asphalt/theme,
/mnt/web221/d3/72/52050872/htdocs/phpBB_04/styles/all/template). in
/mnt/web221/d3/72/52050872/htdocs/phpBB_04/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232
OK... That did the job: No problem calling UCP/Digests with standard style ”prosilver", but HTTP error 500 when switching to style "Quarto Asphalt". Question now is how make Digest work with my custom style? Seem like I have to copy ucp_digests.html somewhere into the custom style... But from where to where exactly? Can you help?
Fixed? Seems so.
So I cloned /ext/phpbbservices/digests/styles/prosilver/template/ucp_digests.html to /ext/phpbbservices/digests/styles/all/template/ucp_digests.html (as the above error log gave hints where it is looking for that file). It now works also with my custom theme, question though is whether that’s the correct/appropriate location for the copy of the file to be. If so, perhaps you should add this change to your distribution.
Last edited by Peeagepeebeebee on Sat Feb 02, 2019 6:05 pm
-
- Registered User
- Posts: 45
- Joined: Fri Jan 18, 2019 4:34 am
- Location: Germany
Re: HTTP error 500 when clicking on Digest tab in UCP
That is odd. I think all styles inherit from prosilver so it should have found it. Maybe yours doesn't and that's the issue.
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.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: HTTP error 500 when clicking on Digest tab in UCP
Question is whether this hicup exists with other 3rd party styles as well!?
Another minor issue I ran into was the language file: In german we differentiate between German Casual Honorifics (ISO code: de) and German Formal Honorifics (ISO code: de-x-sie). As I'm using solely the latter, I had to rename the german language in /ext/phpbbservices/digests/language from de to de-x-sie. Not a big deal, but just another thing one has to figure out.
Another minor issue I ran into was the language file: In german we differentiate between German Casual Honorifics (ISO code: de) and German Formal Honorifics (ISO code: de-x-sie). As I'm using solely the latter, I had to rename the german language in /ext/phpbbservices/digests/language from de to de-x-sie. Not a big deal, but just another thing one has to figure out.
-
- Registered User
- Posts: 45
- Joined: Fri Jan 18, 2019 4:34 am
- Location: Germany
Re: HTTP error 500 when clicking on Digest tab in UCP
The Quarto Asphalt style doesn't inherit from prosilver. All non prosilver-based styles will have this problem.
-
- Former Team Member
- Posts: 4900
- Joined: Sat Sep 10, 2011 7:12 pm
- Location: Germany
Re: HTTP error 500 when clicking on Digest tab in UCP
That explains it. I'll look at moving that template into the /styles/all folder in a future release. I thought I had tested that and it didn't work.
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.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: HTTP error 500 when clicking on Digest tab in UCP
I have the same problem now what can I do?
When you stop learning, stop listening, stop looking and asking questions, always new questions, then it is time to die. Lillian Smith 

-
- Registered User
- Posts: 1032
- Joined: Fri Apr 30, 2004 7:18 pm
Re: HTTP error 500 when clicking on Digest tab in UCP
Are you using the latest approved version of Digests?
https://www.phpbb.com/customise/db/exte ... extension/
https://www.phpbb.com/customise/db/exte ... extension/
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.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: HTTP error 500 when clicking on Digest tab in UCP
Yes just now installed 3.3.8
When you stop learning, stop listening, stop looking and asking questions, always new questions, then it is time to die. Lillian Smith 

-
- Registered User
- Posts: 1032
- Joined: Fri Apr 30, 2004 7:18 pm
Re: HTTP error 500 when clicking on Digest tab in UCP
digests_3.3.17
When you stop learning, stop listening, stop looking and asking questions, always new questions, then it is time to die. Lillian Smith 

-
- Registered User
- Posts: 1032
- Joined: Fri Apr 30, 2004 7:18 pm
Re: HTTP error 500 when clicking on Digest tab in UCP
It shouldn't happen if version 3.3.17 is installed correctly.
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.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA