can not add or edit products, then display 500 error

  • Posts: 42
  • Thank you received: 0
1 year 1 month ago #350274

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.4
-- Error-message(debug-mod must be tuned on) -- : 500 error

Hello

I found I can not add or edit products, when clicking the "add" button or edit the products, it will display HTTP ERROR 500, but in editing category or other items, there is no problem.

I turn on the error report, the message is "Fatal error: Declaration of JToolbarButtonHikapopup::fetchButton($type = 'Modal', $name = '', $text = '', $url = '', $width = 640, $height = 480, $top = 0, $left = 0, $onClose = '', $title = '') must be compatible with JToolbarButtonPopup::fetchButton($type = 'Modal', $name = '', $text = '', $url = '', $width = 640, $height = 480, $top = 0, $left = 0, $onClose = '', $title = '', $footer = NULL) in /home2/inflatio/public_html/administrator/components/com_hikashop/buttons/hikapopup.php on line 46"

I can not figure out this, How to solve the problem?
Thank you.

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

  • Posts: 81509
  • Thank you received: 13065
  • MODERATOR
1 year 1 month ago #350279

Hi,

This is because you're using an old version of HikaShop which isn't compatible with your version of Joomla.
Updating HikaShop to the latest version would fix the problem.

Otherwise, there are some work arounds if you're ok with fiddling around:
www.hikashop.com/forum/product-category-...-product.html#317911

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

  • Posts: 42
  • Thank you received: 0
1 year 4 weeks ago #350374

OK, if I should upgrade Hikashop, how can I find out which version (essential or business) of hiksshop installed on my website?
Thanks.

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

  • Posts: 42
  • Thank you received: 0
1 year 4 weeks ago #350375

OK, if I should upgrade Hikashop, how can I find out which version (essential or business) of hiksshop installed on my website?
Thanks.

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

  • Posts: 81509
  • Thank you received: 13065
  • MODERATOR
1 year 4 weeks ago #350376

Hi,

In the HikaShop configuration, at the beginning of the Main tab, the first entry contains your edition name, with the version number and build number.

I can also see you had previously purchased a Business edition. So in all likelyhood, you have a Business edition installed.

Also, if you go in the menu My account>My subscriptions on our website, you'll see your expired subscription to the Business edition, and you'll have a link to renew it.

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

  • Posts: 42
  • Thank you received: 0
1 year 3 weeks ago #350456

Hello,

I have upgraded the latest Hikashop Business v4.7.2 but I found other issues.

1. The text within the contact button is too long so that in mobile view the button will overflow. How can I solve this issue?

2. When submitting the inquiry form, it will display the loading symbol and never submitting data. How can I solve this issue?

Please see the attachments and help me to solve those issues.

Thank you very much.

Attachments:

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

  • Posts: 81509
  • Thank you received: 13065
  • MODERATOR
1 year 3 weeks ago #350457

Hi,

1. You can use a translation override to change the text on the button:
www.hikashop.com/download/languages.html#modify
That way, you can make it shorter.

Also, your buttons use custom CSS you've made for HikaShop.
So if you want the buttons to scale on mobile devices, modifying that CSS is also a solution.
For example, you could add this piece of CSS:

a.hikabtn {
    white-space: break-spaces;
}
That way, the buttons text would automatically resize when not enough space is available.

2. This is because you have a view override on the product / contact view file in your template. And that old view override isn't compatible with the new code in HikaShop.
Go in the menu Display>Views and delete the view override for it and it will work fine.

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

  • Posts: 42
  • Thank you received: 0
1 year 3 weeks ago #350488

Hello

I follow the instructions and solve these issues.

But, When I delete the override for product/contact view, the layout changes a bit...

How to move the submit and cancel buttons below the form? now they are on the right-top, looks somehow weird...

Thank you very much.

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

  • Posts: 81509
  • Thank you received: 13065
  • MODERATOR
1 year 3 weeks ago #350489

Hi,

After you've deleted the old override, edit the view file again.
You'll then have a drag'n'drop interface to move the elements around.
And you can move the buttons at the bottom with this.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum