Page Not Found error on certificate link

adoucette
adoucette
  • adoucette
  • 3 months ago

Hi, after I have completed and passed a quiz, and I click on the PDF certificate link listed in the Community Quizzes "My Responses" menu item, I get a "Page not found" error.

Here is the error the server sent me:

A PHP Exception occurred on your site. Here you can find the stack trace:

Exception Type: Exception
File: /home/customer/www/mywebsite.com/public_html/components/com_communityquiz/models/response.php
Line: 1484
Message: You don't have permission to access this. Please contact a website administrator if this is incorrect.

#0 /home/customer/www/mywebsite.com/public_html/components/com_communityquiz/controllers/response.php(67): CommunityQuizModelResponse->createPdfCertificate(33, 439)
#1 /home/customer/www/mywebsite.com/public_html/libraries/src/MVC/Controller/BaseController.php(730): CommunityQuizControllerResponse->downloadCertificate()
#2 /home/customer/www/mywebsite.com/public_html/components/com_communityquiz/communityquiz.php(28): Joomla\CMS\MVC\Controller\BaseController->execute('certificate')
#3 /home/customer/www/mywebsite.com/public_html/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/home/customer/...')
#4 /home/customer/www/mywebsite.com/public_html/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/home/customer/...')
#5 /home/customer/www/mywebsite.com/public_html/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#6 /home/customer/www/mywebsite.com/public_html/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_communityqu...')
#7 /home/customer/www/mywebsite.com/public_html/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
#8 /home/customer/www/mywebsite.com/public_html/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
#9 /home/customer/www/mywebsite.com/public_html/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#10 /home/customer/www/mywebsite.com/public_html/index.php(32): require_once('/home/customer/...')
#11 {main}
Request information
GET variables
Array
(
[id] => 33
[task] => response.certificate
[rid] => 439
)
POST variables
Array
(
)
COOKIE variables
Array
(
[jch_optimize_no_cache_user_state] => user_logged_in
[randomcookietextgoeshere] => 428
[spcookie_status] => ok
[randomcookietextgoeshere] => randomcookietextgoeshere
[admintools_adminaccess_randomcookietextgoeshere] => randomcookietextgoeshere
[roundcube_sessid] => randomcookietextgoeshere
[randomcookietextgoeshere] => 433
[randomcookietextgoeshere] => 434
[cbtabsCB] => cbtabnav11
[randomcookietextgoeshere] => randomcookietextgoeshere
[joomla_user_state] => logged_in
[joomla_remember_me_randomcookietextgoeshere] => randomcookietextgoeshere.randomcookietextgoeshere
[randomcookietextgoeshere] => 435
[randomcookietextgoeshere] => 436
[randomcookietextgoeshere] => 437
[randomcookietextgoeshere] => 438
[quiz_id_last_visited] => 33
[randomcookietextgoeshere] => 439
)
REQUEST variables
Array
(
[id] => 33
[task] => response.certificate
[rid] => 439
[jch_optimize_no_cache_user_state] => user_logged_in
[randomcookietextgoeshere] => 428
[spcookie_status] => ok
[randomcookietextgoeshere] => randomcookietextgoeshere
[admintools_adminaccess_randomcookietextgoeshere] => randomcookietextgoeshere.randomcookietextgoeshere
[roundcube_sessid] => randomcookietextgoeshere
[randomcookietextgoeshere] => 433
[randomcookietextgoeshere] => 434
[cbtabsCB] => cbtabnav11
[randomcookietextgoeshere] => randomcookietextgoeshere
[joomla_user_state] => logged_in
[joomla_remember_me_randomcookietextgoeshere] => randomcookietextgoeshere.randomcookietextgoeshere
[randomcookietextgoeshere] => 435
[randomcookietextgoeshere] => 436
[randomcookietextgoeshere] => 437
[randomcookietextgoeshere] => 438
[quiz_id_last_visited] => 33
[randomcookietextgoeshere] => 439
)
SERVER variables
Array
(
[REDIRECT_HTTPS] => on
[REDIRECT_UNIQUE_ID] => randomcookietextgoeshere
[REDIRECT_HTTP_AUTHORIZATION] =>
[REDIRECT_STATUS] => 200
[HTTPS] => on
[UNIQUE_ID] => randomcookietextgoeshere
[DynamicTimeout] => 300
[HTTP_AUTHORIZATION] =>
[HTTP_X_PORT] => 64831
[HTTP_X_REAL_IP] => 12.345.67.890
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_HOST] => mywebsite.com
[HTTP_X_ACCEPT_ENCODING] => gzip, deflate, br, zstd
[HTTP_CONNECTION] => close
[HTTP_SEC_CH_UA] => "Microsoft Edge";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
[HTTP_SEC_CH_UA_MOBILE] => ?0
[HTTP_SEC_CH_UA_PLATFORM] => "Windows"
[HTTP_DNT] => 1
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
[HTTP_SEC_FETCH_SITE] => same-origin
[HTTP_SEC_FETCH_MODE] => navigate
[HTTP_SEC_FETCH_USER] => ?1
[HTTP_SEC_FETCH_DEST] => document
[HTTP_REFERER] => https://mywebsite.com/members/cme-courses/my-cme-responses
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.9
[HTTP_PRIORITY] => u=0, i
[HTTP_COOKIE] => jch_optimize_no_cache_user_state=user_logged_in; randomcookietextgoeshere
[PATH] => /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache
[SERVER_NAME] => mywebsite.com
[SERVER_ADDR] => 98.765.432.109
[SERVER_PORT] => 443
[REMOTE_ADDR] => 12.345.67.890
[DOCUMENT_ROOT] => /home/customer/www/mywebsite.com/public_html
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /home/customer/www/mywebsite.com/public_html
[SERVER_ADMIN] => [no address given]
[SCRIPT_FILENAME] => /home/customer/www/mywebsite.com/public_html/index.php
[REMOTE_PORT] => 12136
[REDIRECT_URL] => /members/cme-courses/my-cme-responses
[REDIRECT_QUERY_STRING] => id=33&task=response.certificate&rid=439
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] => id=33&task=response.certificate&rid=439
[REQUEST_URI] => /members/cme-courses/my-cme-responses?id=33&task=response.certificate&rid=439
[SCRIPT_NAME] => /index.php
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1728512835.1043
[REQUEST_TIME] => 1728512835
)

How can I resolve this?

Screenshots attached in case helpful.

Attachments

Access to viewing replies is restricted.
Showing 7 of 7 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai