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?
Subscribe Module Fails
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Subscribe Module Fails
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 17 Mar 2017, 21:36
Re: Subscribe Module Fails
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.
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.
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Subscribe Module Fails
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.
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 17 Mar 2017, 21:36
Re: Subscribe Module Fails
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?
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?
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Subscribe Module Fails
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)?
Does really the menu link to Phoca Email newsletter exist? If yes, it is enabled (published)?
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 17 Mar 2017, 21:36
Re: Subscribe Module Fails
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.
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.
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Subscribe Module Fails
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?
When you menu link to Newsletter will be published in menu and you click on it, do you still get the same link?
When you menu link to Newsletter will be published in menu and you click on it, do you still get the same link?
If you find Phoca extensions useful, please support the project