$options[$opt->name] = $opt;
}
}
if(defined('HIKASHOP_COMPONENT')) {
require_once( dirname(__FILE__).DS.'datepickerfield_class.php' );
}
if (!is_file($path)) {
return new DummyPlugin($dispatcher);
}
// Include the file of the plugin
require_once $path;
// Compile the classname
$className = 'Plg' . str_replace('-', '', $type) . $plugin;
// Editors don't follow the convention
case ModuleInterface::class:
$container->set($type, new Module(new ModuleDispatcherFactory(''), new HelperFactory('')));
break;
case PluginInterface::class:
list($pluginName, $pluginType) = explode(':', $extensionName);
$container->set($type, $this->loadPluginFromFilesystem($pluginName, $pluginType));
}
}
$container->get(DispatcherInterface::class)->dispatch(
'onAfterExtensionBoot',
$plugin = str_starts_with($plugin, 'plg_') ? substr($plugin, 4) : $plugin;
// Path to look for services
$path = JPATH_SITE . '/plugins/' . $type . '/' . $plugin;
return $this->loadExtension(PluginInterface::class, $plugin . ':' . $type, $path);
}
/**
* Loads the extension.
*
return;
}
$plugins[$hash] = true;
$plugin = Factory::getApplication()->bootPlugin($plugin->name, $plugin->type);
if ($dispatcher && $plugin instanceof DispatcherAwareInterface) {
$plugin->setDispatcher($dispatcher);
}
$plugins = static::load();
// Get the specified plugin(s).
for ($i = 0, $t = \count($plugins); $i < $t; $i++) {
if ($plugins[$i]->type === $type && ($plugin === null || $plugins[$i]->name === $plugin)) {
static::import($plugins[$i], $autocreate, $dispatcher);
$results = true;
}
}
// Bail out early if we're not using default args
$this->values = $this->database->loadObjectList('config_namekey');
if(!empty($this->values['default_params']->config_value)){
$this->values['default_params']->config_value = hikashop_unserialize(base64_decode($this->values['default_params']->config_value));
}
JPluginHelper::importPlugin('hikashop');
JPluginHelper::importPlugin('hikashopshipping');
JPluginHelper::importPlugin('hikashoppayment');
$app = JFactory::getApplication();
$do = true;
$app->triggerEvent('onAfterConfigLoad', array(&$this->values) );
if(!function_exists('hikashop_config')) {
function &hikashop_config($reload = false) {
static $configClass = null;
if($configClass === null || $reload || !is_object($configClass) || $configClass->get('configClassInit',0) == 0){
$configClass = hikashop_get('class.config');
$configClass->load();
$configClass->set('configClassInit',1);
}
return $configClass;
}
}
define('HIKASHOP_MEDIA', HIKASHOP_ROOT.'media'.DS.HIKASHOP_COMPONENT.DS);
define('HIKASHOP_DBPREFIX', '#__hikashop_');
$lang = JFactory::getLanguage();
$db = JFactory::getDBO();
$configClass = hikashop_config();
$admin = hikashop_isClient('administrator');
define('HIKASHOP_RESSOURCE_VERSION', str_replace('.', '', $configClass->get('version')));
define('HIKASHOP_NAME','HikaShop');
if(is_null($load))
$load = 1;
if(!empty($load)) {
if(!defined('DS'))
define('DS', DIRECTORY_SEPARATOR);
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php'))
return true;
JPluginHelper::importPlugin('hikashop');
$pluginObj = hikashop_import('hikashop', 'cartnotify');
$plugin = JPluginHelper::getPlugin('hikashop', 'cartnotify');
if($plugin && $pluginObj) {
}
}
public function onBeforeCompileHead(){
$this->_alwaysLoadHikaShop();
if(version_compare(JVERSION,'3.7','<'))
return;
$app = JFactory::getApplication();
}
$arguments[0]->setArgument($name, $params[$parameterPosition]);
}
}
} else {
$result = $this->$handler();
}
if(!empty($result)) {
$results = $arguments[0]->getArgument('result', []);
$results[] = $result;
if ($event->isStopped())
{
return $event;
}
$listener($event);
}
}
return $event;
}
$event = new $className($eventName, $args);
} else {
throw new \InvalidArgumentException('The arguments must either be an event or an array');
}
$result = $dispatcher->dispatch($eventName, $event);
// @todo - There are still test cases where the result isn't defined, temporarily leave the isset check in place
return !isset($result['result']) || \is_null($result['result']) ? [] : $result['result'];
}
}
$asset->onAttachCallback($this->_doc);
}
}
// Trigger the onBeforeCompileHead event
$app->triggerEvent('onBeforeCompileHead');
// Add Script Options as inline asset
$scriptOptions = $this->_doc->getScriptOptions();
if ($scriptOptions) {
$cbuffer[$hash] = $tmpdata;
$cache->store($cbuffer, 'cbuffer_' . $type);
} else {
$this->setBuffer($renderer->render($name, $attribs, null), $type, $name, $title);
}
return parent::$_buffer[$type][$name][$title];
}
$replace = [];
$with = [];
foreach ($this->_template_tags as $jdoc => $args) {
$replace[] = $jdoc;
$with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']);
}
return str_replace($replace, $with, $this->_template);
}
}
if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) {
$this->cspNonce = $params['csp_nonce'];
}
$data = $this->_renderTemplate();
parent::render($caching, $params);
return $data;
}
$this->debug = $params['debug'] ?? false;
$this->error = $this->_error;
$params['file'] = 'error.php';
return parent::render($cache, $params);
}
/**
* Render the backtrace
*
'template' => $template->template,
'directory' => JPATH_THEMES,
'debug' => JDEBUG,
'csp_nonce' => $app->get('csp_nonce'),
'templateInherits' => $template->parent,
'params' => $template->params,
]
);
}
}
// Reset the document object in the factory, this gives us a clean slate and lets everything render properly
Factory::$document = $renderer->getDocument();
Factory::getApplication()->loadDocument(Factory::$document);
$data = $renderer->render($error);
// If nothing was rendered, just use the message from the Exception
if (empty($data)) {
$data = $error->getMessage();
}
* @since 3.10.0
*/
public static function handleException(\Throwable $error)
{
static::logException($error);
static::render($error);
}
/**
* Render the error page based on an exception.
*
);
// Trigger the onError event.
$this->triggerEvent('onError', $event);
ExceptionHandler::handleException($event->getError());
}
// Trigger the onBeforeRespond event.
$this->getDispatcher()->dispatch('onBeforeRespond');
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once dirname(__FILE__) . '/includes/app.php';
$this->processParseRules($uri, self::PROCESS_AFTER);
// Check if all parts of the URL have been parsed.
// Otherwise we have an invalid URL
if (\strlen($uri->getPath()) > 0) {
throw new RouteNotFoundException(Text::_('JERROR_PAGE_NOT_FOUND'));
}
if ($setVars) {
$this->setVars($uri->getQuery(true));
// Get the full request URI.
$uri = clone Uri::getInstance();
// It is not possible to inject the SiteRouter as it requires a SiteApplication
// and we would end in an infinite loop
$result = $this->getContainer()->get(SiteRouter::class)->parse($uri, true);
$active = $this->getMenu()->getActive();
if (
$active !== null
// Mark afterInitialise in the profiler.
JDEBUG ? $this->profiler->mark('afterInitialise') : null;
// Route the application
$this->route();
// Mark afterRoute in the profiler.
JDEBUG ? $this->profiler->mark('afterRoute') : null;
if (!$this->isHandlingMultiFactorAuthentication()) {
$this->sanityCheckSystemVariables();
$this->setupLogging();
$this->createExtensionNamespaceMap();
// Perform application routines.
$this->doExecute();
// If we have an application document object, render it.
if ($this->document instanceof \Joomla\CMS\Document\Document) {
// Render the application output.
$this->render();
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once dirname(__FILE__) . '/includes/app.php';
[2/2]
Error
|
---|
Error: Failed opening required '/home/icxdev02/public_html/plugins/hikashop/fflfield/datepickerfield_class.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') at /home/icxdev02/public_html/plugins/hikashop/fflfield/fflfield.php:38 at require_once() (/home/icxdev02/public_html/libraries/src/Extension/ExtensionManagerTrait.php:217) at Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem('fflfield', 'hikashop') (/home/icxdev02/public_html/libraries/src/Extension/ExtensionManagerTrait.php:160) at Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'fflfield:hikashop', '/home/icxdev02/public_html/plugins/hikashop/fflfield') (/home/icxdev02/public_html/libraries/src/Extension/ExtensionManagerTrait.php:99) at Joomla\CMS\Application\CMSApplication->bootPlugin('fflfield', 'hikashop') (/home/icxdev02/public_html/libraries/src/Plugin/PluginHelper.php:232) at Joomla\CMS\Plugin\PluginHelper::import(object(stdClass), true, object(Dispatcher)) (/home/icxdev02/public_html/libraries/src/Plugin/PluginHelper.php:192) at Joomla\CMS\Plugin\PluginHelper::importPlugin('hikashop') (/home/icxdev02/public_html/administrator/components/com_hikashop/classes/config.php:21) at hikashopConfigClass->load() (/home/icxdev02/public_html/administrator/components/com_hikashop/helpers/helper.php:1455) at hikashop_config() (/home/icxdev02/public_html/administrator/components/com_hikashop/helpers/helper.php:3620) at include_once('/home/icxdev02/public_html/administrator/components/com_hikashop/helpers/helper.php') (/home/icxdev02/public_html/plugins/system/hikashopuser/hikashopuser.php:70) at plgSystemHikashopuser->_alwaysLoadHikaShop() (/home/icxdev02/public_html/plugins/system/hikashopuser/hikashopuser.php:203) at plgSystemHikashopuser->onBeforeCompileHead() (/home/icxdev02/public_html/administrator/components/com_hikashop/pluginCompatJ4.php:68) at hikashopJoomlaPlugin->__call('onBeforeCompileHeadHandler', array(object(Event))) (/home/icxdev02/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:486) at Joomla\Event\Dispatcher->dispatch('onBeforeCompileHead', object(Event)) (/home/icxdev02/public_html/libraries/src/Application/EventAware.php:111) at Joomla\CMS\Application\WebApplication->triggerEvent('onBeforeCompileHead') (/home/icxdev02/public_html/libraries/src/Document/Renderer/Html/MetasRenderer.php:61) at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render(null, array(), null) (/home/icxdev02/public_html/libraries/src/Document/HtmlDocument.php:565) at Joomla\CMS\Document\HtmlDocument->getBuffer('metas', null, array()) (/home/icxdev02/public_html/libraries/src/Document/HtmlDocument.php:833) at Joomla\CMS\Document\HtmlDocument->_renderTemplate() (/home/icxdev02/public_html/libraries/src/Document/HtmlDocument.php:637) at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'joomlage0094-life', 'directory' => '/home/icxdev02/public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) (/home/icxdev02/public_html/libraries/src/Document/ErrorDocument.php:139) at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'joomlage0094-life', 'directory' => '/home/icxdev02/public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) (/home/icxdev02/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:78) at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(RouteNotFoundException)) (/home/icxdev02/public_html/libraries/src/Exception/ExceptionHandler.php:126) at Joomla\CMS\Exception\ExceptionHandler::render(object(RouteNotFoundException)) (/home/icxdev02/public_html/libraries/src/Exception/ExceptionHandler.php:72) at Joomla\CMS\Exception\ExceptionHandler::handleException(object(RouteNotFoundException)) (/home/icxdev02/public_html/libraries/src/Application/CMSApplication.php:322) at Joomla\CMS\Application\CMSApplication->execute() (/home/icxdev02/public_html/includes/app.php:61) at require_once('/home/icxdev02/public_html/includes/app.php') (/home/icxdev02/public_html/index.php:32) |
[1/2]
RouteNotFoundException
|
---|
Joomla\CMS\Router\Exception\RouteNotFoundException: Page not found at /home/icxdev02/public_html/libraries/src/Router/Router.php:155 at Joomla\CMS\Router\Router->parse(object(Uri), true) (/home/icxdev02/public_html/libraries/src/Application/SiteApplication.php:746) at Joomla\CMS\Application\SiteApplication->route() (/home/icxdev02/public_html/libraries/src/Application/SiteApplication.php:232) at Joomla\CMS\Application\SiteApplication->doExecute() (/home/icxdev02/public_html/libraries/src/Application/CMSApplication.php:293) at Joomla\CMS\Application\CMSApplication->execute() (/home/icxdev02/public_html/includes/app.php:61) at require_once('/home/icxdev02/public_html/includes/app.php') (/home/icxdev02/public_html/index.php:32) |