Plugin to help developers debug HikaShop plugins?

  • Posts: 139
  • Thank you received: 10
6 years 7 months ago #277911

-- url of the page with the problem -- : www.finalbug.net
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : PHP 7.1.7 .
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : none

Hello Hike Shop

I am wondering if there is a plugin to to debug and understand eCommerce HikaShop plugins events for Joomla.

Similar to this here which according to the documentation only works for Joomla 2.5 and I am on 3+:
github.com/garstud/hikashop_dump_events

I want to try and understand what is going wrong here with this plugin from Deligence Technologies.

github.com/DeligenceTechnologies/DT-Fast...Payment-for-HikaShop

I would be very grateful for any tips :)

thanks in advance

Paul

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
6 years 7 months ago #277929

Hi,

I've tried it on my end and the plugin installs and seems to be working fine on Joomla 3.7 and PHP 7.0, albeit a few warning.
Now I'm not sure how that would help debug a payment plugin. The best would be to add debug traces directly in the plugin. You'll be able to get much more useful data.

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

  • Posts: 139
  • Thank you received: 10
6 years 7 months ago #278001

Hello Nicolas

I've tried it on my end and the plugin installs and seems to be working fine on Joomla 3.7 and PHP 7.0, albeit a few warning.


Thanks for testing this. I have installed it and published it and it has not broken my site so, so far so good. :whistle:

I will probably use it to help me get more of a feel for the nuts and bolts of how Hika Shop & plugin work.

The best would be to add debug traces directly in the plugin. You'll be able to get much more useful data.


I imagine this being similar to when in a movie they add a tracking device to a car and then have another device to follow it?

I guess in my case the car is the "product" which travels to Fast Spring and back but some gets lost on the way back into Hika Shop.

Probably in the plugin from Deligence Technologies!

Obviously I googled

add debug traces directly in the plugin.


And got 620.000 results maybe you share a link that you think might help me?

thanks

Paul

Last edit: 6 years 7 months ago by paurray.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 7 months ago #278027

Hello,

The plugin "hikashop_dump_events" just add some warning ; but if you do display the warning in your website you can have the impression that your website is "broken". As far as we could see, there is no Fatal Error, nothing which would really break the page processing.

To add debug trace in PHP ; it's just performing "echo" or "print_r", or "var_dump".
It's viewing where you're going, displaying variable content, etc.
us3.php.net/manual/en/function.var-dump.php
For the rest, it's just PHP development.

Good luck !


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 139
  • Thank you received: 10
6 years 7 months ago #278100

Hi Jerome

Thanks, fingers crossed.

best

Paul

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

  • Posts: 139
  • Thank you received: 10
6 years 7 months ago #278103

ps for the record if any one else sees this the errors I got with the above plugin in Joomla 3.7.5 were as follows:

An error has occurred.
Call to a member function isConfigured() on null

I got this error when navigating to a "Product" on the "Products" page.

There were probably more but I did not see them :blush:

best

Paul

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

  • Posts: 12953
  • Thank you received: 1778
6 years 7 months ago #278112

Hello Paul,

We'll need more information about your issue and error message to properly help you and understand your issue.

Also, if you want to understand how the plugin from the Deligence Technologies team works, you should probably directly contact them.

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

  • Posts: 139
  • Thank you received: 10
6 years 7 months ago #278276

Hello Mohamed,

Thank you for your reply.

a) I have talked with the developer but I have the feeling that they are very busy.
b) I checked with Fast Spring which is where the order confirmation is coming from they said every thing is OK.
c) I double checked with Admin tools who said their firewall was not blocking anything.

the only reasonable explanation left is that the payment plugin is doing something stupid and dies (bug in the plugin).


If I do not hear from the developers by Friday I will start looking for alternative solutions.

all the best

Paul

Last edit: 6 years 7 months ago by paurray.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum