The file is empty or doesn't exists: /var/www/vhosts/shop.siso.ch/BusinessLogicErp/apps/cart/themes/SISO/css/global_rtl.css
at line 454 in file core/classes/Media.php
449. $fileUri = Tools::str_replace_once('webroot/', '', $fileUri);
450. }
451. // Check that file is not empty and exists
452. if (!@filemtime($fileUri) || @filesize($fileUri) === 0) {
453. if(_PS_MODE_DEV_ && !file_exists($fileUri) ){
454. throw new BusinessLogicException("The file is empty or doesn't exists: ".$fileUri);
455. }
456.
457. else
458. return false;
459. }
557. public static function getCSSPath($cssUri, $cssMediaType = 'all', $needRtl = true)
558. {
559. // RTL Ready: search and load rtl css file if it's not originally rtl
560. if ($needRtl && Context::getContext()->language->is_rtl) {
561. $cssUriRtl = preg_replace('/(^[^.].*)(\.css)$/', '$1_rtl.css', $cssUri);
562. $rtlMedia = Media::getMediaPath($cssUriRtl, $cssMediaType);
563. if ($rtlMedia != false) {
564. return $rtlMedia;
565. }
566. }
567.
635. }
636.
637. foreach ($cssUri as $cssFile => $media) {
638. if (is_string($cssFile) && strlen($cssFile) > 1) {
639. if ($checkPath) {
640. $cssPath = Media::getCSSPath($cssFile, $media);
641. } else {
642. $cssPath = [$cssFile => $media];
643. }
644. } else {
645. if ($checkPath) {
1111.
1112. return true;
1113. }
1114.
1115. if ($cssMediaType) {
1116. parent::addCSS($listUri, $cssMediaType, $offset, $checkPath);
1117.
1118. return true;
1119. }
1120.
1121. parent::addJS($listUri, $checkPath);
1135. *
1136. * @return bool
1137. */
1138. public function addCSS($cssUri, $cssMediaType = 'all', $offset = null, $checkPath = true)
1139. {
1140. return static::addMedia($cssUri, $cssMediaType, $offset = null, false, $checkPath);
1141. }
1142.
1143. /**
1144. * Initializes page footer variables.
1145. *
950.
951. return true;
952. }
953.
954. //$this->addCSS(_THEME_CSS_DIR_.'grid_prestashop.css', 'all'); // retro compat themes 1.5.0.1
955. $this->addCSS(_THEME_CSS_DIR_.'global.css', 'all');
956. $this->addJquery();
957. $this->addJqueryPlugin('easing');
958. $this->addJS(_PS_JS_DIR_.'tools.js');
959. $this->addJS(_THEME_JS_DIR_.'global.js');
960.
189. public function run()
190. {
191. $this->init();
192. if ($this->checkAccess()) {
193. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
194. $this->setMedia();
195. }
196.
197. $this->postProcess();
198.
199. if (!empty($this->redirect_after)) {
775.
776. // Execute hook dispatcher
777. if (isset($paramsHookActionDispatcher)) {
778. Hook::exec('actionDispatcher', $paramsHookActionDispatcher);
779. }
780. $controller->run();
781. } catch (BusinessLogicException $e) {
782. $e->displayMessage();
783. }
784. }
785.
638. *
639. * @since 1.0.0
640. * @version 1.0.0 Initial version
641. */
642. public function cart(){
643. $this->dispatch();
644. }
645. /**
646. * Find the controller and instantiate it
647. *
648. * @since 1.0.0
27. * @copyright 2007-2016 PrestaShop SA
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * PrestaShop is an internationally registered trademark & property of PrestaShop SA
30. */
31.
32. Dispatcher::getInstance()->cart();
297. Hook::exec('actionRegisterErrorHandlers');
298.
299. /* LOAD INDEX APP */
300. if ( file_exists(_BL_APP_DIR_.'/'._CURRENT_APP_.'/index.php') && !defined('_BL_EXECUTE_SCRIPT_') ){
301. define('_BL_INDEX_LOAD_', true );
302. include_once(_BL_APP_DIR_.'/'._CURRENT_APP_.'/index.php');
303. }
304.
Argument [0] /var/www/vhosts/shop.siso.ch/BusinessLogicErp/apps/cart/index.php
27. * @copyright 2007-2016 PrestaShop SA
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * PrestaShop is an internationally registered trademark & property of PrestaShop SA
30. */
31.
32. require(dirname(__FILE__).'/../config/config.inc.php');
Argument [0] /var/www/vhosts/shop.siso.ch/BusinessLogicErp/config/config.inc.php