10. Exception
/­home/­gillescoh/­www/­components/­com_phocagallery/­views/­category/­view.html.php41
9. PhocaGalleryViewCategory display
/­home/­gillescoh/­www/­libraries/­src/­MVC/­Controller/­BaseController.php664
8. Joomla\CMS\MVC\Controller\BaseController display
/­home/­gillescoh/­www/­components/­com_phocagallery/­controller.php30
7. PhocaGalleryController display
/­home/­gillescoh/­www/­libraries/­src/­MVC/­Controller/­BaseController.php702
6. Joomla\CMS\MVC\Controller\BaseController execute
/­home/­gillescoh/­www/­components/­com_phocagallery/­phocagallery.php58
5. require_once
/­home/­gillescoh/­www/­libraries/­src/­Component/­ComponentHelper.php402
4. Joomla\CMS\Component\ComponentHelper executeComponent
/­home/­gillescoh/­www/­libraries/­src/­Component/­ComponentHelper.php377
3. Joomla\CMS\Component\ComponentHelper renderComponent
/­home/­gillescoh/­www/­libraries/­src/­Application/­SiteApplication.php194
2. Joomla\CMS\Application\SiteApplication dispatch
/­home/­gillescoh/­www/­libraries/­src/­Application/­SiteApplication.php233
1. Joomla\CMS\Application\SiteApplication doExecute
/­home/­gillescoh/­www/­libraries/­src/­Application/­CMSApplication.php225
0. Joomla\CMS\Application\CMSApplication execute
/­home/­gillescoh/­www/­index.php49

Exception (404)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Exception thrown with message "Category is unpublished or does not exist" Stacktrace: #10 Exception in /home/gillescoh/www/components/com_phocagallery/views/category/view.html.php:41 #9 PhocaGalleryViewCategory:display in /home/gillescoh/www/libraries/src/MVC/Controller/BaseController.php:664 #8 Joomla\CMS\MVC\Controller\BaseController:display in /home/gillescoh/www/components/com_phocagallery/controller.php:30 #7 PhocaGalleryController:display in /home/gillescoh/www/libraries/src/MVC/Controller/BaseController.php:702 #6 Joomla\CMS\MVC\Controller\BaseController:execute in /home/gillescoh/www/components/com_phocagallery/phocagallery.php:58 #5 require_once in /home/gillescoh/www/libraries/src/Component/ComponentHelper.php:402 #4 Joomla\CMS\Component\ComponentHelper:executeComponent in /home/gillescoh/www/libraries/src/Component/ComponentHelper.php:377 #3 Joomla\CMS\Component\ComponentHelper:renderComponent in /home/gillescoh/www/libraries/src/Application/SiteApplication.php:194 #2 Joomla\CMS\Application\SiteApplication:dispatch in /home/gillescoh/www/libraries/src/Application/SiteApplication.php:233 #1 Joomla\CMS\Application\SiteApplication:doExecute in /home/gillescoh/www/libraries/src/Application/CMSApplication.php:225 #0 Joomla\CMS\Application\CMSApplication:execute in /home/gillescoh/www/index.php:49

Category is unpublished or does not exist

		// Don't load all the framework if nonsense
		$id 						= $app->input->get('id', 0, 'int');
		$this->tagId				= $app->input->get( 'tagid', 0, 'int' );
 
 
		if ($id < 1 && $this->tagId < 1) {
 
			throw new Exception(JText::_( "COM_PHOCAGALLERY_CATEGORY_IS_UNPUBLISHED" ) , 404);
 
			exit;
			catch (\JCacheException $exception)
			{
				$view->display();
			}
		}
		else
		{
			$view->display();
		}
 
		}
		
		$document 	= JFactory::getDocument();

		$safeurlparams = array('catid'=>'INT','id'=>'INT','cid'=>'ARRAY','year'=>'INT','month'=>'INT','limit'=>'INT','limitstart'=>'INT',
			'showall'=>'INT','return'=>'BASE64','filter'=>'STRING','filter_order'=>'CMD','filter_order_Dir'=>'CMD','filter-search'=>'STRING','print'=>'BOOLEAN','lang'=>'CMD');

		parent::display($cachable,$safeurlparams);

		return $this;
		{
			throw new \Exception(\JText::sprintf('JLIB_APPLICATION_ERROR_TASK_NOT_FOUND', $task), 404);
		}
 
		// Record the actual task being fired
		$this->doTask = $doTask;
 
		return $this->$doTask();
	}
 
}
// Create the controller
$app	= JFactory::getApplication();
$classname    = 'PhocaGalleryController'.ucfirst($controller);
$controller   = new $classname( );

// Perform the Request task
$controller->execute(JFactory::getApplication()->input->get('task'));

// Redirect if set by the controller
	 * @return  string  The component output
	 *
	 * @since   1.7
	 */
	protected static function executeComponent($path)
	{
		ob_start();
		require_once $path;
 
		return ob_get_clean();
		// Load common and local language files.
		$lang->load($option, JPATH_BASE, null, false, true) || $lang->load($option, JPATH_COMPONENT, null, false, true);
 
		// Handle template preview outlining.
		$contents = null;
 
		// Execute the component.
		$contents = static::executeComponent($path);
 
		// Revert the scope
			$document->setGenerator('Joomla! - Open Source Content Management - Version ' . JVERSION);
		}
		else
		{
			$document->setGenerator('Joomla! - Open Source Content Management');
		}
 
		$contents = ComponentHelper::renderComponent($component);
		$document->setBuffer($contents, 'component');
 
		 * Before $this->route(); "option" and "view" can't be safely read using:
		 * $this->input->getCmd('option'); or $this->input->getCmd('view');
		 * ex: due of the sef urls
		 */
		$this->checkUserRequireReset('com_users', 'profile', 'edit', 'com_users/profile.save,com_users/profile.apply,com_users/user.logout');
 
		// Dispatch the application
		$this->dispatch();
 
		// Mark afterDispatch in the profiler.
		// Abort when there are invalid variables
		if ($invalidInputVariables)
		{
			throw new \RuntimeException('Invalid input, aborting application.');
		}
 
		// Perform application routines.
		$this->doExecute();
 
		// If we have an application document object, render it.
// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
 
// Instantiate the application.
$app = JFactory::getApplication('site');
 
// Execute the application.
$app->execute();
 
empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/usr/bin:/bin
REDIRECT_STATUS 200
UNIQUE_ID ZgVSITCA9bN@p6Pg7vlxTgAAAJk
GEOIP_COUNTRY_CODE US
GEOIP_COUNTRY_NAME United States
GEOIP_REGION VA
GEOIP_CITY Ashburn
GEOIP_DMA_CODE 511
GEOIP_AREA_CODE 703
GEOIP_LATITUDE 39.046902
GEOIP_LONGITUDE -77.490303
SCRIPT_URL /galeries-photos/annees-2000/2008/laetare-2008
SCRIPT_URI https://gilles-commercants.be:443/galeries-photos/annees-2000/2008/laetare-2008
HTTPS on
CFG_CLUSTER cluster010
ENVIRONMENT production
APP_ENGINE_VERSION 7.2
APP_ENGINE phpcgi
HTTP_HOST gilles-commercants.be
HTTP_X_PREDICTOR 1
HTTP_X_FORWARDED_FOR 34.228.168.200
HTTP_X_FORWARDED_PROTO https
HTTP_X_OVHREQUEST_ID 03ed61b8d5083edfded38c4dd7add7ee
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://gilles-commercants.be/galeries-photos/annees-2000/2008/laetare-2008
HTTP_REMOTE_IP 34.228.168.200
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME gilles-commercants.be
SERVER_ADDR 10.10.20.88
SERVER_PORT 443
REMOTE_ADDR 34.228.168.200
DOCUMENT_ROOT /home/gillescoh/www
SERVER_ADMIN postmaster@gilles-commercants.be
SCRIPT_FILENAME /home/gillescoh/www/index.php
REMOTE_PORT 43764
REDIRECT_URL /galeries-photos/annees-2000/2008/laetare-2008
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /galeries-photos/annees-2000/2008/laetare-2008
SCRIPT_NAME /index.php
HOME /homez.610/gillescoh
PWD /homez.610/gillescoh/www
UID gillescoh
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711624737.5648
REQUEST_TIME 1711624737
argv Array ( [0] => index.php )
argc 1
Key Value
PATH /usr/local/bin:/usr/bin:/bin
REDIRECT_STATUS 200
UNIQUE_ID ZgVSITCA9bN@p6Pg7vlxTgAAAJk
GEOIP_COUNTRY_CODE US
GEOIP_COUNTRY_NAME United States
GEOIP_REGION VA
GEOIP_CITY Ashburn
GEOIP_DMA_CODE 511
GEOIP_AREA_CODE 703
GEOIP_LATITUDE 39.046902
GEOIP_LONGITUDE -77.490303
SCRIPT_URL /galeries-photos/annees-2000/2008/laetare-2008
SCRIPT_URI https://gilles-commercants.be:443/galeries-photos/annees-2000/2008/laetare-2008
HTTPS on
CFG_CLUSTER cluster010
ENVIRONMENT production
APP_ENGINE_VERSION 7.2
APP_ENGINE phpcgi
HTTP_HOST gilles-commercants.be
HTTP_X_PREDICTOR 1
HTTP_X_FORWARDED_FOR 34.228.168.200
HTTP_X_FORWARDED_PROTO https
HTTP_X_OVHREQUEST_ID 03ed61b8d5083edfded38c4dd7add7ee
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://gilles-commercants.be/galeries-photos/annees-2000/2008/laetare-2008
HTTP_REMOTE_IP 34.228.168.200
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME gilles-commercants.be
SERVER_ADDR 10.10.20.88
SERVER_PORT 443
REMOTE_ADDR 34.228.168.200
DOCUMENT_ROOT /home/gillescoh/www
SERVER_ADMIN postmaster@gilles-commercants.be
SCRIPT_FILENAME /home/gillescoh/www/index.php
REMOTE_PORT 43764
REDIRECT_URL /galeries-photos/annees-2000/2008/laetare-2008
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /galeries-photos/annees-2000/2008/laetare-2008
SCRIPT_NAME /index.php
HOME /homez.610/gillescoh
PWD /homez.610/gillescoh/www
UID gillescoh
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\PlainTextHandler
2. Whoops\Handler\JsonResponseHandler