Seems that Coupon with 100% discount don't work...


  • Default avatar
    vincenzo1    
     6 years ago
    0

    Hi,


    I have this problem only from a couple of days (I didn't change anything... So I don't know why this happen).

    If I use coupon with 100% discount (I use in some situation to bypass payment), then the cart "disappear".


    Can you help me with this?

  • Your avatar
    seyi    
     6 years ago
    0

    What do you mean by disappear?  Do you just see a white screen?  If so, then you have a php error, can you check the logs to see what it is?
  • Default avatar
    vincenzo1    
     6 years ago
    0

    Sorry...

    Maybe (I don't know when the problem  start, I realize it today when I created a 100% discount) is for Joomla Update?


    Anyway...

    "disappear", yes, sorry -> blank page.


    Exactly, happen this:


    - When you insert the coupon and click on the button, appear the VirtueMart loading bar indefinitely

    - If you reload the page (that is the cart page) is Blank.


    I'll check the error log and let you know...

  • Default avatar
    vincenzo1    
     6 years ago
    0

    This the error log...


    <style type="text/css">.cpanel_internal_message_container {display: inline-block; margin: 10px; width: auto;} .cpanel_internal_message { border: 1px solid #fff; outline-style: solid; outline-width: 1px; outline-color: #aaa; padding: 5px; } .cpanel_internal_error_warn { background-color: #FFF6CF; } .cpanel_internal_error_error { background-color: #F8E7E6; }</style>

    <div id="cpanel_notice_item_1" class="cjt-pagenotice-container cjt-notice-container cpanel_internal_message_container internal-error-container">

        <div class="yui-module cjt-notice cjt-pagenotice cjt-notice-warn">

            <div class="cpanel_internal_message cpanel_internal_error_warn bd">

                <div class="cjt-notice-content" style="width: 420px;">

                    <span>

                        A warning occurred while processing this directive.

                        <a

                            class="error"

                            style="cursor:hand;cursor:pointer;"

                            onClick="document.getElementById('cpanel_internal_error_1').style.display='';this.style.display='none'; return false;">

                            [show]

                        </a>

                        <a

                            class="error"

                            style="cursor:hand;cursor:pointer;"

                            onClick="document.getElementById('cpanel_notice_item_1').style.display='none'; return false;">

                            [close]

                        </a>

                    </span>

                    <div id="cpanel_internal_error_1" style="display:none;">

                        <textarea class="cpanel_internal_error_warn" style="font-weight:900; height:200px; width:410px; color: black;">seek() on closed filehandle ERR at /usr/local/cpanel/Cpanel/Stats.pm line 335.

     at /usr/local/cpanel/Cpanel/Stats.pm line 335.

    Cpanel::Stats::errlog("oukside.com") called at cpanel.pl line 2032

    cpanel::cpanel::dostats("errlog", ARRAY(0x3a0bd60)) called at cpanel.pl line 1919

    eval {...} called at cpanel.pl line 1919

    cpanel::cpanel::_api1("Stats", "stats", "errlog(oukside.com)", "errlog", ARRAY(0x3a0bd60), "safe_html_encode") called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 93

    eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 93

    Cpanel::Template::Plugin::Api1::_api1_exec(0, "Stats", "errlog", ARRAY(0x3a0bd60)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 47

    Cpanel::Template::Plugin::Api1::_captured_api1_exec("Stats", "errlog", ARRAY(0x3a0bd60)) called at /usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.html.tt line 16

    eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.html.tt line 16

    eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.html.tt line 16

    Template::Provider::__ANON__(Template::Context=HASH(0x39ff350)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163

    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161

    Template::Document::process(Template::Document=HASH(0x3a0b7a8), Template::Context=HASH(0x39ff350)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357

    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327

    Template::Context::process(Template::Context=HASH(0x39ff350), Template::Document=HASH(0x3a0b7a8)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94

    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91

    Template::Service::process(Template::Service=HASH(0x39fef18), "/usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.ht"..., HASH(0x39f3f68)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64

    Template::process(Template=HASH(0x39f4478), "/usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.ht"..., HASH(0x39f3f68), SCALAR(0x1666d38)) called at /usr/local/cpanel/Cpanel/Template.pm line 501

    Cpanel::Template::process_template("cpanel", HASH(0x39f3f68), HASH(0x17965d8)) called at cpanel.pl line 1031

    cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.ht"..., 1) called at cpanel.pl line 4408

    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 864

    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/stats/errlog.html.tt") called at cpanel.pl line 271


  • Your avatar
    seyi    
     6 years ago  last edited 6 years ago
    0

    I do not recognize these logs.  Is this the php error_log file?

    If you like, I am happy to have a direct look at it if you can send a private message with temp admin and ftp access.
  • Your avatar
    seyi    
     6 years ago
    0

    Thanks for the access.  I found that there is an infinite loop causing the blank screen.  And this is because you are using a one page checkout extension.  I have coded an exception for this extension and it should work now.
  • Default avatar
    vincenzo1    
     6 years ago
    0

    Oooh

    very thanks...

    (But: the problem never show until these days; maybe it's the Joomla upgrade?)


    Anwyay, I think it would be useful for other user to report what One Page I'm using: VMUikit from Joomlapro: https://joomlapro.com/


    Thanks again.