Jump to content

lesteller

Members
  • Posts

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    Spain
  • Activity
    Freelancer

lesteller's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, After replacing false by true in Validate.php I get a blank page when I try to access to the URL where Prestashop 1.6 is installed. I can not access to Prestashop 1) Line I modified in Validate.php: public static function isCleanHtml($html, $allow_iframe = true) 2) To see the error I enabled the debug mode in the file defines.inc.php /* Debug only */ define('_PS_MODE_DEV_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_) 3) I get the error below when I go to the URL (www.dacsuministros.com) of my Prestashop shop: Fatal error: Class 'Validate' not found in /home/dacsumin/domains/dacsuministros.com/public_html/classes/ObjectModel.php on line 188 4) I go to the line 188 in ObjectModel.php file and see the following lines, but do not know what is missing: if (!Validate::isTableOrIdentifier($this->def['primary']) || !Validate::isTableOrIdentifier($this->def['table'])) throw new PrestaShopException('Identifier or table format not valid for class '.get_class($this)); Any idea about how to fix it? I would really appreciate it. I upload the files in case it can help. Many thanks in advance, Levi ObjectModel.php defines.inc.php Validate.php
×
×
  • Create New...