Jump to content

HTML editor didnt show.


Recommended Posts

Hi Silveste

 

Enable Debug see if you get an error to see when you open the html editor

 

to enable  debug :

 

Go to the folder /config
Look for the file defines.inc.php 
Download this file to your computer
 
in this file look for :
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', false);
And change in :
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', true);

After editing upload the file back to your config folder

 

when you go now to the editor do you get any errors ?

  • Like 1
Link to comment
Share on other sites

Hi Silveste

 

Enable Debug see if you get an error to see when you open the html editor

 

to enable  debug :

 

Go to the folder /config
Look for the file defines.inc.php 
Download this file to your computer
 
in this file look for :
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', false);
And change in :
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', true);

After editing upload the file back to your config folder

 

when you go now to the editor do you get any errors ?

No,didnt show any error when edit,but html tab just dissappear,ok i will try your suggestion,thank you.

Link to comment
Share on other sites

Hello,maconl already solved it is tinymcejs problem already upload new file from prestashop installation,but new problem come up like this 

 

Warning: tempnam(): open_basedir restriction in effect. File public_htmlcache is not within the allowed path(s):  in PrestaShopAutoload.php on line 151 Fatal error: Uncaught --> Smarty: Unable to load template file '/product-item.tpl' in './products.tpl' <-- thrown in /public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129

Link to comment
Share on other sites

Hello vekia,thanks for reply the error show like this     :

Warning: tempnam(): open_basedir restriction in effect. File(/var/zpanel/hostdata/public_htmlcache) is not within the allowed path(s): (/var/zpanel/hostdata/public_html/:/var/zpanel/temp/) in /var/zpanel/hostdata/public_html/classes/PrestaShopAutoload.php on line 151

[PrestaShopException]

Theme tidak ditemukan "leo_carsmarket". Harap cek folder theme dan hak aksesnya.
at line 176 in file classes/controller/FrontController.php

170.         if ($this->auth && !$this->context->customer->isLogged($this->guestAllowed))
171.             Tools::redirect('index.php?controller=authentication'.($this->authRedirection ? '&back='.$this->authRedirection : ''));
172.
173.         /* Theme is missing */
174.         if (!is_dir(_PS_THEME_DIR_))
175.             throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\')))));
176.
177.         if (Configuration::get('PS_GEOLOCATION_ENABLED'))
178.             if (($newDefault = $this->geolocationManagement($this->context->country)) && Validate::isLoadedObject($newDefault))
179.                 $this->context->country = $newDefault;
180.
  • FrontControllerCore->init - [line 45 - override/controllers/front/IndexController.php]
    39.         {        
    40.             $this->display_column_left = ((int)Configuration::get('ASP_HOME_COLUMN_LEFT') == 1);
    41.             $this->display_column_right = ((int)Configuration::get('ASP_HOME_COLUMN_RIGHT') == 1);
    42.         }
    43.         
    44.         parent::init();
    45.         
    46.         if(Module::isInstalled('agilemultipleshop') && Shop::$id_shop_owner>0)
    47.         {        
    48.             $this->productSort();
    49.             
  • IndexController->init - [line 163 - classes/controller/Controller.php]
    157.     /**
    158.      * Start controller process (this method shouldn't be overriden !)
    159.      */
    160.     public function run()
    161.     {
    162.         $this->init();
    163.         if ($this->checkAccess())
    164.         {
    165.             // setMedia MUST be called before postProcess
    166.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
    167.                 $this->setMedia();
  • ControllerCore->run - [line 373 - classes/Dispatcher.php]
    367.             // Execute hook dispatcher
    368.             if (isset($params_hook_action_dispatcher))
    369.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
    370.
    371.             // Running controller
    372.             $controller->run();
    373.         }
    374.         catch (PrestaShopException $e)
    375.         {
    376.             $e->displayMessage();
    377.         }
  • DispatcherCore->dispatch - [line 28 - index.php]
    22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
    23. * International Registered Trademark & Property of PrestaShop SA
    24. */
    25.
    26. require(dirname(__FILE__).'/config/config.inc.php');
    27. Dispatcher::getInstance()->dispatch();
Link to comment
Share on other sites

×
×
  • Create New...