Jump to content

andrzejdlugosz

Members
  • Posts

    25
  • Joined

  • Last visited

Profile Information

  • Location
    United Kingdom
  • Activity
    Developer

andrzejdlugosz's Achievements

Newbie

Newbie (1/14)

2

Reputation

3

Community Answers

  1. Sorry, actually i had more than 24 conditions in IF statement and that was the issue. Wow.
  2. i think I have checked it all. File is encoded in UTF-8. It is simple as: FILE WITHOUT PART below in if statement - no error, page loads fine. With PART below php fatal error mentioned before -page broken. Very frustrating. || ($product->name)=='product3'
  3. Please note I only pasted this bit below in if statement and error is pointing to beginning of product.tpl file. $product->name=='product3'
  4. As mentioned above THERE IS NO ISSUE BEFORE I add extra option in if statement (simply copied and pasted another option there) I have tried several times. File is quite long so I hopefully there is no need to see it all.
  5. Thanks for reply, but did not help. Same error.
  6. Hello, Everything working fine, there is no code issues in .tpl file. I have simple if statement with: {if ($product->name)=='product1' || ($product->name)=='product2' } <!-- some text here --> {/if} But for some reason when I add another option: {if ($product->name)=='product1' || ($product->name)=='product2' || ($product->name)=='product3' } <!-- some text here --> {/if} I get below error. There is nothing wrong with coding. Maybe with file encoding? Could not find solution online. Could anyone help? Thanks for reading. [22-May-2017 12:27:17 Europe/London] PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/gbs2/public_html/themes/autumn/product.tpl" on line 1 "{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/license in /home/gbs2/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667
  7. As I was testing the payment I emptied the table.
  8. Thing is already running on VPS with problems in generating large amount of combinations in prestashop ;(
  9. Still quite expensive module (US $150) for such a basic thing. Decent VPS should be able to process that without issues. Thank you for your advice.
  10. It seems that prestashop has trouble generating large amount of combinations for products (quantity around 10000 products), Is there any solution to that? what is the acceptable quantity of products in prestashop? Thank you.
  11. I just found the solution. I have to uninstall module Cache Manager.
  12. Hello, after following instructions to enable profiling from: http://doc.prestashop.com/display/PS16/Developer+tips+and+tricks I can only see profiling results (on the bottom of the page) on my dashboard's pages but not on my shop pages. I do not know where could be a problem. Can anyone help? Thank you.
  13. Thank you for your reply. Url to shop: http://sit-stand.com/ I define: define('_PS_MODE_DEV_', true); in defines.inc.php Now I have had trouble causing an error but after few tries in fancybox window: Impossible to add the product to the cart. textStatus: 'error' errorThrown: '' responseText: and in developer tools: Failed to load resource: net::ERR_EMPTY_RESPONSE http://sit-stand.com//modules/paypal/express_checkout/ajax.php?get_qty=1&id_product=16&id_product_attribute=5019&_=1422570635251 Failed to load resource: http://sit-stand.com/?rand=1422570636584 Failed to load resource: net::ERR_EMPTY_RESPONSE
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More