Where to set page after pressing Finish

  • Posts: 60
  • Thank you received: 0
10 years 8 months ago #171219

-- HikaShop version -- : latest
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.5.11
-- Browser(s) name and version -- : IE11

So I successfully did a transaction, but the website shows this error when it tries to go to www.[website].com/component/hikashop/checkout/step/step-1


"
This webpage is not available
The webpage at http://radon2:801/component/hikashop/checkout/step/step-1 might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_CONTENT_DECODING_FAILED
"


All of the other methods I have (PayPal, Bank Trnasfer, Purchase Order) go to checkout/step/step-1 without any issue and show the respective text.


If I turn off GZIP compression, the page shows OK. EXCEPT, I get this error:
Notice: Undefined variable: dbg in C:\xampp\htdocs\plugins\hikashoppayment\virtualmerchant\virtualmerchant.php on line 154
Why does this error show? I have Debug turned off.

And, I want to keep gzip compression on. Can you fix the hikashop credit card plugin to work with GZIP?

Last edit: 10 years 8 months ago by hikalikethat.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 8 months ago #171262

Hello,

I just tried it on my end and the virtual merchant plugin is working fine, to be sure can you downlaod the last Hikashop version through our website, install it, and test it again ?

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 0
10 years 8 months ago #171304

I got it fixed.

I changed the code in C:\xampp\htdocs\plugins\hikashoppayment\virtualmerchant\virtualmerchant.php on line 154 from this:
$dbg .= ob_get_clean();
To this:
if( !empty($dbg) ) $dbg .= ob_get_clean();

and now it works with GZIP compression set to Yes in Joomla 3.3.0

Please Log in or Create an account to join the conversation.

  • Posts: 83894
  • Thank you received: 13581
  • MODERATOR
10 years 8 months ago #171307

Hi,

Thanks for the feedback.
That line should actually be changed to :
$dbg = ob_get_clean();
and you won't get the error either. We'll add that fix in the next version of HikaShop.

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 0
10 years 8 months ago #171906

No...it WAS this:
$dbg = ob_get_clean();

that is what caused the error $dbg not found.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #171924

Hi,

Doesn't the line was "$dbg .= ob_get_clean();" and not "$dbg = ob_get_clean();" ?
The difference is the dot before the equal symbol.

If it was that, thanks to try by just removing the dot. :)

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 0
10 years 8 months ago #172013

Yes the original line had the dot. I forgot it when I re-typed it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum