Jump to content
thirty bees forum

Steve

Members
  • Posts

    155
  • Joined

  • Last visited

Everything posted by Steve

  1. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 INSERT INTO tb_product_group (id_product, id_group) VALUES Does anyone know how I can fix this? Thanks! Edit: Already fixed it, the product didn't have a group.
  2. @haylau I just added the customer to a group that I made and I used the free module to restrict/give access. Thanks!
  3. @haylau Seems to me that assigning those customers to a specific group would be the preferred option. I just realised that I can make a group myself. How can I assign customers to it? And can I restrict access to a category that way? (perhaps explain the reasoning so we can understand better) My website will be B2B, I want some manufacturers not be able to see some brands (every category is a brand in the shop) that they don't work for.
  4. So I would like to restrict access to a some products for some customers, how can I do that? I already installed this module: http://nemops.com/free-prestashop-module-product-access/ which works perfectly, but that only hides a product for a whole group not a customer. Thanks! Edit: Restricting a category per customer would be even better, but it doesn't matter that much.
  5. Steve

    HTTP Error 500

    @traumflug Using PHP 5.6? Yes: Current PHP version: 5.6.38
  6. So I had Panda theme installed but I could only acces the homepage, once I clicked on a product, I get a HTTP 500 Error. I sometimes get it in Thirtybees too, but then are only some tabs locked. Here are the error logs: ``` [Fri Dec 14 10:04:00.487962 2018] [:error] [pid 4320:tid 792] [client 127.0.0.1:55653] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88604672 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248, referer: http://webshop/en/ Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88604672 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248 [Fri Dec 14 10:04:01.004574 2018] [:error] [pid 4320:tid 932] [client 127.0.0.1:55674] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88604672 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248, referer: http://webshop/en/ Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88604672 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248 [Fri Dec 14 10:04:18.105346 2018] [:error] [pid 4320:tid 792] [client 127.0.0.1:55703] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88604672 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248, referer: http://webshop/en/ Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88604672 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248 [Fri Dec 14 10:08:52.313399 2018] [:error] [pid 4320:tid 236] [client 127.0.0.1:56123] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88342528 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248, referer: http://webshop/en/ Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 88342528 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248 [Fri Dec 14 10:09:08.830902 2018] [:error] [pid 4320:tid 796] [client 127.0.0.1:56162] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 87031808 bytes) in C:\xampp\htdocs\webshop\classes\exception\PrestaShopException.php on line 248, referer: http://webshop/en/ ``` I'm using localhost. Does anyone know how I can fix this? Thanks!
  7. @datakick Yes, I installed version 1.6.1.
  8. Fatal error: Cannot assign by reference to overloaded object in C:\xampp\htdocs\webshop\modules\orderfees\controllers\admin\AdminOrderFeesController.php on line 57 Can't really ask for their help because they said it doesn't work with TB without testing it. It should work though because it did install it succesfully. I get this error when I want to configure it. Thanks! Edit: Code: ``` $ this->select = "CASE WHEN (isfee & " . (int) $this->module->getConstant('ISOPTION') . ") THEN '" . pSQL($this->l('Option')) . "' WHEN (isfee & " . (int) $this->module->getConstant('IS_REDUCTION') . ") THEN '" . pSQL($this->l('Discount')) . "' ELSE '" . pSQL($this->l('Fee')) . "' END AS type"; $this->_where = ' AND (is_fee & ' . (int) $this->module->getConstant('IS_FEE') . ')'; array_splice($this->actions, 1, 0, 'duplicate'); $this->_post = &$_POST; //line 57 }
  9. Which one should I choose? These two modules: https://addons.prestashop.com/en/page-customization/24867-product-arrangement.html https://addons.prestashop.com/nl/prijsbeheer/12794-options-fees-taxes-and-discounts-shipping-cost.html
  10. @traumflug Thanks for your reply! Is this also possible on Windows?
  11. I'd like to test sending confirmation and invoice emails, but I'm on localhost. How can I test it without having a live site? Thanks!
  12. @lesley https://addons.prestashop.com/nl/prijsbeheer/12794-options-fees-taxes-and-discounts-shipping-cost.html https://addons.prestashop.com/en/page-customization/24867-product-arrangement.html Why do I need to fill in my store URL when I download a module or theme? When you download a module or theme from your customer account, you must fill in your store's URL. The module or theme you purchased, which is valid only for a single e-commerce site, will be linked to this URL. This information is important because if you need technical support for a given product, its developer will need this information to act as quickly as possible. If you are on a test environment, enter the address of your future website. If you are not yet sure, you can apply for a change via our contact form later on. Taken from from PrestaShops FAQ
  13. When I try to download it it says that I need to give the url of my website but I don't have a website yet, I'm working locally. Don't I get the source code when I download it? I don't want to risk needing to buy the module again. Thanks!
  14. Also tried this comment from the link but without luck: If nothing works, make a text file and copy this code below and save it as php.ini memory_limit = 64M max_execution_time = 1000; max_input_time = -1; post_max_size = 20M; upload_max_filesize = 20M; max_input_vars = 10000; suhosin.get.max_vars = 10000; suhosin.post.max_vars = 10000; Then copy this php.ini file to the root of your site and inside your admin folder, see my exemple below: My path to the root of my website, where "shop.slabestesanatos.eu" must be your site: public_html/shop.slabestesanatos.eu/ My path for the Admin folder, where /admin771t4r1u is the custom folder that Prestashop installer creates automaticaly after installation on Prestashop, yours must be with different numbers and letters exemple: admin1234ta /shop.slabestesanatos.eu/admin771t4rt1u
  15. Full error Warning! Your PHP configuration limits the maximum number of fields allowed in a form 1000 for max_input_vars. Please ask your hosting provider to increase this limit to 1171 at least, or you will have to edit the translation files. I'm trying to translate the COD module. I'm using XAMPP with localhost. I've already tried some solutions here: https://www.prestashop.com/forums/topic/245816-warning-your-php-configuration-limits-the-maximum-number-of-fields-to-post-in-a-form-1000-for-max_/ But none of them have worked so far. Does anyone else have a solution? I could also translate directly in the module files themselves but I don't know how exactly. Thanks! (Please note that the only php.ini file I found was at xampp/php.ini, so not in my root directory of my site)
  16. @the-rampage-rado Yes, it should be there. Try to remove “-master” from the zip? I found out by the time you commented, will comment again if I have more questions. Thank you!
  17. @the-rampage-rado You have to install the module through the system modules page Do you mean Back Office --> Modules and Services --> Add a new module? Because that's what I did. Edit: I downloaded it from here btw: https://github.com/PrestaShop/cashondelivery Edit 2: I fixed it, when you download it from github it has '-master' in the name, that is not allowed.
  18. @the-rampage-rado Thanks for helping me and saying there's a free module! I was looking at this: https://addons.prestashop.com/en/cash-on-delivery-cod/6337-cash-on-delivery-with-fee-surcharge-plus-cod.html I have uploaded the zip but I can't seem to find it in my back office though. Do you know why?
  19. @the-rampage-rado I will look into COD, looks intresting. I could change the name from 'cash on delivery' to something different, that would be maybe work. So instead saying 'cash on delivery' the customer sees 'Pay later'. You receive all the code when buying a module right?
  20. @traumflug What rampage said. I need the Customer to 'purchase' products without paying.
×
×
  • Create New...