Page 1 of 1

Subscribe Module Fails

Posted: 11 Mar 2022, 22:19
by PhilOWantage
When the Subscribe button on the module is clicked, there is an error message as follows:
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Please contact the website owners to inform them of this problem.
Try Again.

The URL for the call is /component/phocaemail/subscribe?Itemid=225
Any ideas on what could be causing the problem?

Re: Subscribe Module Fails

Posted: 11 Mar 2022, 22:43
by Jan
Hi, which version of Phoca Email do you use?

Did you create a menu link to Phoca Email?

Do you get this error when SEF is disabled?

When you enable debug mode and php error reporting, do you get more detailed error message (including file and line of the error)?

Jan

Re: Subscribe Module Fails

Posted: 11 Mar 2022, 23:12
by PhilOWantage
Phoca Email Version 4.0.0 Module Version 4.0.0
Per your advice: Created menu link to Phoca Email. Loaded name & email address -> Failure.
Disabled SEF. Everything works!
Should I re-enable SEF and enable debug and php error reporting to find possible real problem, OR just live without SEF?
Thanks for your help.

Re: Subscribe Module Fails

Posted: 11 Mar 2022, 23:43
by Jan
Try to do everything so the error message will be displayed (e.g. in the browser or in the PHP error log on the server). We just need to get more detailed information about the error.

Re: Subscribe Module Fails

Posted: 14 Mar 2022, 19:51
by PhilOWantage
Turned off SEO Everything works.
Turn on SEO these errors are generated. Submitting the form sends the email even though there is an error screen on browser.
Clicking email confirmation request generates an error but the subscriber is verified.
These are the errors generated. Client is my IP address.

2022-03-14T18:05:41+00:00 CRITICAL 67.82.37.117 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 /home/philohabitat/public_html/libraries/src/Application/CMSApplication.php(1069): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 /home/philohabitat/public_html/libraries/src/Application/SiteApplication.php(820): Joomla\CMS\Application\CMSApplication->route()
#2 /home/philohabitat/public_html/libraries/src/Application/SiteApplication.php(228): Joomla\CMS\Application\SiteApplication->route()
#3 /home/philohabitat/public_html/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#4 /home/philohabitat/public_html/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#5 /home/philohabitat/public_html/index.php(32): require_once('/home/philohabi...')
#6 {main}
2022-03-14T18:06:07+00:00 CRITICAL 67.82.37.117 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 /home/philohabitat/public_html/libraries/src/Application/CMSApplication.php(1069): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 /home/philohabitat/public_html/libraries/src/Application/SiteApplication.php(820): Joomla\CMS\Application\CMSApplication->route()
#2 /home/philohabitat/public_html/libraries/src/Application/SiteApplication.php(228): Joomla\CMS\Application\SiteApplication->route()
#3 /home/philohabitat/public_html/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#4 /home/philohabitat/public_html/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#5 /home/philohabitat/public_html/index.php(32): require_once('/home/philohabi...')
#6 {main}

Is there some code that I could place in the system to help isolate this problem?

Re: Subscribe Module Fails

Posted: 15 Mar 2022, 13:24
by Jan
Hi, in debug, there is no file from Phoca Email, so hard to say, where this error occurs. So lets assume it is SEF problem.

Does really the menu link to Phoca Email newsletter exist? If yes, it is enabled (published)?

Image

Re: Subscribe Module Fails

Posted: 15 Mar 2022, 13:51
by PhilOWantage
Yes. That's exactly what I have, and the Alias is newsletter.
Works fine with SEO turned off.
Turn on SEO and browser screen goes to:
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Please contact the website owners to inform them of this problem. Try Again.
I guess at this point I'll just live with the SEO turned off.
For the record the hosting is on Godaddy.com without SSL certificates. The problem is on all browsers that I've tested.
Thanks for your help on this. You've given great support.

Re: Subscribe Module Fails

Posted: 15 Mar 2022, 14:01
by Jan
Yes, but if the link is in this format: /component/phocaemail/subscribe?Itemid=225 it still didn't transform the URL to right SEF syntax - the question is why?

Image

When you menu link to Newsletter will be published in menu and you click on it, do you still get the same link?