Jump to content

ralaper

Members
  • Posts

    6
  • Joined

  • Last visited

About ralaper

  • Birthday 10/09/1983

Contact Methods

Profile Information

  • Location
    China
  • First Name
    Ricco
  • Last Name
    Li
  • Activity
    Web Development Agency

ralaper's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. in prestashop version 1.6.x,when the admin translate key exit and the key value is empty,PrestaShopLogger::addLog return error,This will likely lead to the failure of the background management login. information: [PrestaShopException]Property PrestaShopLogger->message is empty at line 909 in file classes/ObjectModel.php 904. } 905. 906. $message = $this->validateField($field, $this->$field); 907. if ($message !== true) { 908. if ($die) { 909. throw new PrestaShopException($message); 910. } 911. return $error_return ? $message : false; 912. } 913. } 914. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 487 - classes/ObjectModel.php] ObjectModelCore->add - [line 133 - classes/PrestaShopLogger.php] PrestaShopLoggerCore::addLog - [line 196 - controllers/admin/AdminLoginController.php] - [7 Arguments] AdminLoginControllerCore->processLogin - [line 161 - controllers/admin/AdminLoginController.php] AdminLoginControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 47 - master/ajax-tab.php] now,fixed the bug for Translate.php,line 72 if (isset($_LANGADM[$class.$key])) to if (isset($_LANGADM[$class.$key]) && !empty($_LANGADM[$class.$key]))
  2. II also encountered this problem, try to solve it,Then I found the causes of this problem. If you encounter this problem, please complete the following steps to check: step1.Whether to use a standard method naming convention For example: your module name is mymod,but you admin tab class name is AdminMymodclassnameController, " Invalid Security Token" will be show. now,You only need change "AdminMymodclassnameController" to "AdminmymodclassnameController",Problems will be solved
  3. 我也来秀个,www.elegantbest.com,婚纱礼服
  4. 这个还是很容易排除的,down下来所有网站程序,搜索源代码几个常用的EMAIL发送函数,不是你所要使用的,直接删除掉,建议仔细检查下你的漏洞入口,要不然你怎么删除都是无用的。
  5. I have the same mistake,you can execute this sql script,it's work fine SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for request_sql -- ---------------------------- DROP TABLE IF EXISTS `request_sql`; CREATE TABLE `request_sql` ( `id_request_sql` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(200) NOT NULL, `sql` text NOT NULL, PRIMARY KEY (`id_request_sql`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of request_sql -- ---------------------------- -- ---------------------------- -- Table structure for required_field -- ---------------------------- DROP TABLE IF EXISTS `required_field`; CREATE TABLE `required_field` ( `id_required_field` int(11) NOT NULL AUTO_INCREMENT, `object_name` varchar(32) NOT NULL, `field_name` varchar(32) NOT NULL, PRIMARY KEY (`id_required_field`), KEY `object_name` (`object_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of required_field -- ----------------------------
×
×
  • Create New...