
Jeet Kune Do
Members-
Posts
148 -
Joined
-
Last visited
Jeet Kune Do's Achievements
Newbie (1/14)
2
Reputation
-
Google Analytics v2.1.1-No HTTP response detected
Jeet Kune Do replied to ccw0103's topic in Configuring and using PrestaShop
You saved my day. Thank you! Working for 2017! -
Different COOKIE KEY for Each Website (Multi Store)
Jeet Kune Do replied to Jeet Kune Do's topic in General topics
Anyone? -
Hello. I started from scratch, and imported 4 e-commerce website in to 1 new installation multi store. My question is: Can I have different cookie key for all my 4 multi store website, so my customer have the same password and don't need to reset them? define('_COOKIE_KEY_', 'xxxxxxxxxxxxxxx'); in settings.inc.php Is this possible? Maybe some other solutions? Any help is appreciated. Please, it's urgent! Best regards! Jeet
-
Hello community, I would like to be informed of which are the best options for a dedicated mobile website, template. The bootstrap responsive theme is fine, but I want the best user experience. Based on my research I need a dedicated mobile option. Fully customized for mobile e-commerce. What I need, a module, theme etc... I'm using prestashop version 1.6.1.4. Any suggestions, ideas will be really appreciated! Best regards! Jeet
-
I opened all, didn't know for this option. [PrestaShopException] Property Order->payment is empty at line 866 in file classes/ObjectModel.php 861. 862. $message = $this->validateField($field, $this->$field); 863. if ($message !== true) 864. { 865. if ($die) 866. throw new PrestaShopException($message); 867. return $error_return ? $message : false; 868. } 869. } 870. 871. return true; ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] 267. * 268. * @return array All object fields 269. */ 270. public function getFields() 271. { 272. $this->validateFields(); 273. $fields = $this->formatFields(self::FORMAT_COMMON); 274. 275. // For retro compatibility 276. if (Shop::isTableAssociated($this->def['table'])) 277. $fields = array_merge($fields, $this->getFieldsShop()); ObjectModelCore->getFields - [line 299 - classes/order/Order.php] 294. public function getFields() 295. { 296. if (!$this->id_lang) 297. $this->id_lang = Configuration::get('PS_LANG_DEFAULT', null, null, $this->id_shop); 298. 299. return parent::getFields(); 300. } 301. 302. public function add($autodate = true, $null_values = true) 303. { 304. if (parent::add($autodate, $null_values)) OrderCore->getFields - [line 480 - classes/ObjectModel.php] 475. } 476. 477. // Database insertion 478. if (Shop::checkIdShopDefault($this->def['table'])) 479. $this->id_shop_default = min($id_shop_list); 480. if (!$result = ObjectModel::$db->insert($this->def['table'], $this->getFields(), $null_values)) 481. return false; 482. 483. // Get object id in database 484. $this->id = ObjectModel::$db->Insert_ID(); 485. ObjectModelCore->add - [line 304 - classes/order/Order.php] - [2 Arguments] 299. return parent::getFields(); 300. } 301. 302. public function add($autodate = true, $null_values = true) 303. { 304. if (parent::add($autodate, $null_values)) 305. return SpecificPrice::deleteByIdCart($this->id_cart); 306. return false; 307. } 308. 309. public function getTaxCalculationMethod() OrderCore->add - [line 335 - classes/PaymentModule.php] 330. 331. if (self::DEBUG_MODE) 332. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order is about to be added', 1, null, 'Cart', (int)$id_cart, true); 333. 334. // Creating order 335. $result = $order->add(); 336. 337. if (!$result) 338. { 339. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order cannot be created', 3, null, 'Cart', (int)$id_cart, true); 340. throw new PrestaShopException('Can\'t save Order'); PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] 59. '{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'), 60. '{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')), 61. '{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS')) 62. ); 63. 64. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key); 65. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key); 66. } 67. } BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] 166. // setMedia MUST be called before postProcess 167. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 168. $this->setMedia(); 169. 170. // postProcess handles ajaxProcess 171. $this->postProcess(); 172. 173. if (!empty($this->redirect_after)) 174. $this->redirect(); 175. 176. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) ControllerCore->run - [line 374 - classes/Dispatcher.php] 369. // Execute hook dispatcher 370. if (isset($params_hook_action_dispatcher)) 371. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 372. 373. // Running controller 374. $controller->run(); 375. } 376. catch (PrestaShopException $e) 377. { 378. $e->displayMessage(); 379. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch();
-
When I'm trying to create an order I got the server error 500. When enable debug mode I get this error: [PrestaShopException] Property Order->payment is empty at line 866 in file classes/ObjectModel.php 861. 862. $message = $this->validateField($field, $this->$field); 863. if ($message !== true) 864. { 865. if ($die) 866. throw new PrestaShopException($message); 867. return $error_return ? $message : false; 868. } 869. } 870. 871. return true; ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 299 - classes/order/Order.php] OrderCore->getFields - [line 480 - classes/ObjectModel.php] ObjectModelCore->add - [line 304 - classes/order/Order.php] - [2 Arguments] OrderCore->add - [line 335 - classes/PaymentModule.php] PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] When I creat the order with cash on delivery everything is working like it should. Under MODULES / POSITIONS There is no text and everything has the same images. Also in the dashbord there is no text When I want to configure whatever module there is no text in the save icon. Prestashop version 1.6.0.11 Please let me know if you need additional information. Thank you in advance! Best regards! Jeet
-
Orders without status and/or products.
Jeet Kune Do replied to Jeet Kune Do's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
For sure the problem reacuring with some product only. I tryed to change the product information and re-order the same product over and over again. I find that the field EAN-13 or JAN barcode is triggering the problem. The EAN is like this 00700078 / 05. How can I work around this problem? I need the EAN field for supplier code, how can I turn off error checking or something like this?- 28 replies
-
- orders
- order status
-
(and 2 more)
Tagged with:
-
Orders without status and/or products.
Jeet Kune Do replied to Jeet Kune Do's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
I tryed to make the same order on localhost in FO as my customer and I get the following error when I want to confirm my order: 500 Server ErrorOops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists.- 28 replies
-
- orders
- order status
-
(and 2 more)
Tagged with:
-
Hello, some customers orders are ok, but unfortunately some orders doesn’t have assigned any status and the list of products is less than the total amount or there are even no products. For example the order have one product which cost 3,99 € but the order total is 46,99 €. When I take a look at the customer last cart I can find 5 products with a total of 46,99 €. The order clearly left out the other 4 products. Sometimes the order has no status and when I opened it, I cannot find any products but only the order total and shipping. Have a fresh install of Prestashop which is version 1.6.0.8 Server information: Linux #1 SMP Thu Jul 10 04:59:56 CDT 2014 x86_64 Server software version: Apache PHP version: 5.4.29 Memory limit: 256M Max execution time: 30 MySQL version: 5.5.37-35.1 MySQL engine: InnoDB Tables prefix: ps_ Current theme in use: default-bootstrap Required parameters: OK Optional parameters: OK
- 28 replies
-
- orders
- order status
-
(and 2 more)
Tagged with:
-
After importing CSV Products & Categories 404 error
Jeet Kune Do replied to kolega's topic in OUT - 1.6.0.11 [7 Jan 2015]
Thank you, without this post I will be screwed! Best regards! Jeet -
Hello, when I try to translate the field name translations I got a white and empty page. After enabling development mode I can see this error: Fatal error: require() [function.require]: Failed opening required '/home3/jkdfma/public_html/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/jkdfma/public_html/classes/PrestaShopAutoload.php on line 122 I contacted my hosting providers and they told me that I have a lot of errors like: 22-Apr-2014 17:37:29] PHP Notice: Undefined index: available_later in /home3/jkdfma/public_html/cache/smarty/compile/b5/34/f9/b534f9196aee8f1a3b2936322ce4276182ac55ce.file.product-list.tpl.cache.php on line 248 [22-Apr-2014 17:37:29] PHP Notice: Undefined index: available_later in /home3/jkdfma/public_html/cache/smarty/compile/b5/34/f9/b534f9196aee8f1a3b2936322ce4276182ac55ce.file.product-list.tpl.cache.php on line 248 [22-Apr-2014 17:37:29] PHP Notice: Undefined index: available_later in /home3/jkdfma/public_html/cache/smarty/compile/b5/34/f9/b534f9196aee8f1a3b2936322ce4276182ac55ce.file.product-list.tpl.cache.php on line 248 [22-Apr-2014 19:06:06] PHP Fatal error: Uncaught Lost connection to MySQL server during query<br /><br /><pre>SELECT * FROM `ps_shop_group` a WHERE (a.id_shop_group = 1) LIMIT 1</pre> thrown in /home3/jkdfma/public_html/classes/db/Db.php on line 635 [22-Apr-2014 12:06:08] PHP Fatal error: Uncaught Lost connection to MySQL server during query<br /><br /><pre>SELECT * FROM `ps_country` a LEFT JOIN `ps_country_lang` `b` ON a.id_country = b.id_country AND b.id_lang = 4 LEFT JOIN `ps_country_shop` `c` ON a.id_country = c.id_country AND c.id_shop = 1 WHERE (a.id_country = 193) LIMIT 1</pre> thrown in /home3/jkdfma/public_html/classes/db/Db.php on line 635 They recommend contacting a web developer or the developers of PrestShop regarding these erorrs and correct them before moving forward. They did look at a system trace of the error to provide it to the PrestaShop developers: 12:13:59 read(4, "tion($name)\n\t{\n\t\treturn preg_replace('/^[0-9]+\\./', '', $name);\n\t}\n\n\t/**\n\t * This method is allow to know if a feature is used or active\n\t * @since 1.5.0.1\n\t * @return bool\n\t */\n\tpublic static function isFeatureActive()\n\t{\n\t\treturn Configuration::get('PS_SCENE_FEATURE_ACTIVE');\n\t}\n}", 8192) = 283 12:13:59 read(4, "", 4096) = 0 12:13:59 read(4, "", 8192) = 0 12:13:59 read(4, "", 8192) = 0 12:13:59 close(4) = 0 12:13:59 munmap(0x7fd020647000, 4096) = 0 12:13:59 stat("/home3/jkdfma/public_html/classes/SearchEngine.php", {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0 12:13:59 open("/home3/jkdfma/public_html/classes/SearchEngine.php", O_RDONLY) = 4 12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0 12:13:59 mmap(NULL, 2299, PROT_READ, MAP_SHARED, 4, 0) = 0x7fd020640000 12:13:59 munmap(0x7fd020640000, 2299) = 0 12:13:59 close(4) = 0 12:13:59 time(NULL) = 1398186839 12:13:59 lstat("/home3", {st_dev=makedev(8, 33), st_ino=2, st_mode=S_IFDIR|0711, st_nlink=337, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=24, st_size=12288, st_atime=2014/04/18-09:54:14, st_mtime=2014/04/22-12:10:01, st_ctime=2014/04/22-12:10:01}) = 0 12:13:59 lstat("/home3/jkdfma", {st_dev=makedev(8, 33), st_ino=92012545, st_mode=S_IFDIR|0711, st_nlink=20, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/21-22:00:18, st_mtime=2014/04/22-04:51:21, st_ctime=2014/04/22-04:51:21}) = 0 12:13:59 lstat("/home3/jkdfma/public_html", {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0 12:13:59 lstat("/home3/jkdfma/public_html/classes", {st_dev=makedev(8, 33), st_ino=92017727, st_mode=S_IFDIR|0755, st_nlink=17, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-03:36:08, st_mtime=2014/04/21-22:08:58, st_ctime=2014/04/21-22:08:58}) = 0 12:13:59 lstat("/home3/jkdfma/public_html/classes/SearchEngine.php", {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0 12:13:59 open("/home3/jkdfma/public_html/classes/SearchEngine.php", O_RDONLY) = 4 12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0 12:13:59 fcntl(4, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) 12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0 12:13:59 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd020647000 12:13:59 lseek(4, 0, SEEK_CUR) = 0 12:13:59 lseek(4, 0, SEEK_SET) = 0 12:13:59 read(4, "<?php\n/*\n* 2007-2014 PrestaShop\n*\n* NOTICE OF LICENSE\n*\n* This source file is subject to the Open Software License (OSL 3.0)\n* that is bundled with this package in the file LICENSE.txt.\n* It is also available through the world-wide-web at this URL:\n* http://opensource.org/licenses/osl-3.0.php\n*'>http://opensource.org/licenses/osl-3.0.php\n* If you did not receive a copy of the license and are unable to\n* obtain it through the world-wide-web, please send an email\n* to license@prestashop.com so we can send you a copy immediately.\n*\n* DISCLAIMER\n*\n* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\n* versions in the future. If you wish to customize PrestaShop for your\n* needs please refer to http://www.prestashop.com for more information.\n*\n* @author PrestaShop SA <contact@prestashop.com>\n* @copyright 2007-2014 PrestaShop SA\n* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)\n* International Registered T rademark & Property of PrestaShop SA\n*/\n\nclass SearchEngineCore extends ObjectModel\n{\n\tpublic $server;\n\tpublic $getvar;\n\n\t/**\n\t * @see ObjectModel::$definition\n\t */\n\tpublic static $definition = array(\n\t\t'table' => 'search_engine',\n\t\t'primary' => 'id_search_engine',\n\t\t'fields' => array(\n\t\t\t'server' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl', 'required' => true),\n\t\t\t'getvar' => array('type' => self::TYPE_STRING, 'validate' => 'isModuleName', 'required' => true),\n\t\t),\n\t);\n\n\tpublic static function getKeywords($url)\n\t{\n\t\t$parsed_url = @parse_url($url);\n\t\tif (!isset($parsed_url['host']) || !isset($parsed_url['query']))\n\t\t\treturn false;\n\t\t$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT `server`, `getvar` FROM `'. _DB_PREFIX_.'search_engine`');\n\t\tforeach ($result as $row)\n\t\t{\n\t\t\t$host =& $row['server'];\n\t\t\t$varname =& $row['getvar'];\n\t\t\tif (strstr($parsed_url['host'], $host))\n\t\t\t{\n\t\t\t\t$array = array();\n\t\t\t\tpreg_match('/[^a-z]'.$varname.'=.+\\&/U', $parsed_url['query'], $array);\n\t\t\t\tif (empty($array[0]))\n\t\t\t\t\tpreg_match('/[^a-z]'.$varname.'=.+$/', $parsed_url['query'], $array);\n\t\t\t\tif (empty($array[0]))\n\t\t\t\t\treturn false;\n\t\t\t\t$str = urldecode(str_replace('+', ' ', ltrim(substr(rtrim($array[0], '&'), strlen($varname) + 1), '=')));\n\t\t\t\tif (!Validate::isMessage($str))\n\t\t\t\t\treturn false;\t\t\t\t\n\t\t\t\treturn $str;\n\t\t\t}\n\t\t}\n\t}\n}\n\n\n", 4096) = 2299 12:13:59 lseek(4, 2299, SEEK_SET) = 2299 12:13:59 read(4, "", 4096) = 0 12:13:59 read(4, "", 8192) = 0 12:13:59 brk(0x414c000) = 0x414c000 12:13:59 read(4, "", 8192) = 0 12:13:59 close(4) = 0 12:13:59 munmap(0x7fd020647000, 4096) = 0 12:13:59 open("/home3/jkdfma/public_html/", O_RDONLY) = 4 12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0 12:13:59 mmap(NULL, 4096, PROT_READ, MAP_SHARED, 4, 0) = -1 ENODEV (No such device) 12:13:59 close(4) = 0 12:13:59 time(NULL) = 1398186839 12:13:59 lstat("/home3", {st_dev=makedev(8, 33), st_ino=2, st_mode=S_IFDIR|0711, st_nlink=337, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=24, st_size=12288, st_atime=2014/04/18-09:54:14, st_mtime=2014/04/22-12:10:01, st_ctime=2014/04/22-12:10:01}) = 0 12:13:59 lstat("/home3/jkdfma", {st_dev=makedev(8, 33), st_ino=92012545, st_mode=S_IFDIR|0711, st_nlink=20, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/21-22:00:18, st_mtime=2014/04/22-04:51:21, st_ctime=2014/04/22-04:51:21}) = 0 12:13:59 lstat("/home3/jkdfma/public_html", {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0 12:13:59 open("/home3/jkdfma/public_html", O_RDONLY) = 4 12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0 12:13:59 close(4) = 0 12:13:59 time(NULL) = 1398186839 12:13:59 open("/home3/jkdfma/public_html", O_RDONLY) = 4 12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0 12:13:59 close(4) = 0 12:13:59 open("error_log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 4 12:13:59 time([1398186839]) = 1398186839 12:13:59 write(4, "[22-Apr-2014 19:13:59] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home3/jkdfma/public_html/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/jkdfma/public_html/classes/PrestaShopAutoload.php on line 122\n", 278) = 278 12:13:59 close(4) = 0 12:13:59 write(1, "Content-Type: text/html; charset=utf-8", 38) = 38 12:13:59 write(1, "\r\n", 2) = 2 12:13:59 write(1, "\r\n", 2) = 2 12:13:59 write(1, "<br />\n<b>Fatal error</b>: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home3/jkdfma/public_html/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home3/jkdfma/public_html/classes/PrestaShopAutoload.php</b> on line <b>122</b><br />\n", 285) = 285 12:13:59 write(3, "\1\0\0\0\1", 5) = 5