I am using Open Cart 3.0.2.0
Site URL: http://mmbleather.com
For example:
This doesn't work (Product Page)
Product Page URL: http://mmbleather.com/index.php?route=p ... uct_id=170
Error_log:
Here is the coding of "so-revo/template/product/product.twig" at line 322[06-Oct-2017 22:13:33 UTC] PHP Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unknown "endif" tag in "so-revo/template/product/product.twig" at line 322.' in /home/mmbleath/public_html/system/library/template/Twig/Parser.php:178
Stack trace:
#0 /home/mmbleath/public_html/system/library/template/Twig/Parser.php(100): Twig_Parser->subparse(NULL, false)
#1 /home/mmbleath/public_html/system/library/template/Twig/Environment.php(619): Twig_Parser->parse(Object(Twig_TokenStream))
#2 /home/mmbleath/public_html/system/library/template/Twig/Environment.php(671): Twig_Environment->parse(Object(Twig_TokenStream))
#3 /home/mmbleath/public_html/system/library/template/Twig/Environment.php(396): Twig_Environment->compileSource('{{ header }}\n\n<...', 'so-revo/templat...')
#4 /home/mmbleath/public_html/storage/modification/system/library/template/twig.php(42): Twig_Environment->loadTemplate('so-revo/templat...')
#5 /home/mmbleath/public_html/system/library/template.php(51): Template\Twig->render('so-revo/templat...', '1')
#6 /home/mmbleath/public_h in /home/mmbleath/public_html/system/library/template/Twig/Parser.php on line 178
php.ini:#319 {% endfor %}
#320 {% endif %}
#321
#322 {% endif %}
#323
#324 <div class="form-group box-info-product">
#325 <div class="option quantity">
#326 <div class="input-group quantity-control">
#327 <input class="form-control" type="text" name="quantity" value="{{ minimum }}" />
#328 <input type="hidden" name="product_id" value="{{ product_id }}" />
#329 <span class="input-group-addon product_quantity_down fa fa-caret-down"></span>
#330 <span class="input-group-addon product_quantity_up fa fa-caret-up"></span>
#331 </div>
#332 </div>
Please tell me the solution of this problem.magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 128M;
max_execution_time = 36000;
max_input_vars=25000
upload_max_filesize = 999M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.auto_start = Off;
session.use_only_cookies = On;
session.use_cookies = On;
session.use_trans_sid = Off;
session.cookie_httponly = On;
session.gc_maxlifetime = 3600;
allow_url_fopen = on;
;display_errors = 1;
;error_reporting = E_ALL;
Thanks