100's of associated products modules being created

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #215967

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- Browser(s) name and version -- : Chrome

hello,
every time I edit a hikashop module for example "browse our shop" there are multipe modules being created called "Associated products listing for category listing menu 312" It is running into the 100's and I have to keep deleting them. Is there some setting I have got that is creating all these extra modules?

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 1 month ago #215971

Hi,

Is it possible to know the build number you're using ?
You can find that information in the HikaShop configuration, under "main > advanced settings".

every time I edit a hikashop module for example "browse our shop"

A module or a menu ?

Regards,


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: 41
  • Thank you received: 0
9 years 1 month ago #216015

build number is HikaShop Starter 2.6.0 [1509300951]
It is when I edit and save a module, these other extra module keep being created.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #216022

Hi,

Your issue is very very strange.

When creating a module, HikaShop has never created an associated module, even less a module associated to a menu.
That does not make sense. More than that, this creation has even less sense on a module settings update.

Beside, with the new edition interface, the settings are handled in Joomla directly, so we no more use the HikaShop system to generate associated modules at all.

Could you please give us screenshots of the changes you made, that could help us to understand the situation ? :)

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216152

I have deleted all the modules named "Associated products listing for category listing menu 312"
then I click on "HikaShop Content Module" don't even save it just click cancel and new modules appear called "Associated products listing for category listing menu 312" see screenshot.
It happens every time I open a hikashop module.
I am sorry if I may have made an error on configuration or something but I am just still learning with hikashop and joomla.
The site is off line while I setup the shop but I can give you access to it if you require.
I need to solve this asap as the customer has a deadline and it will end up with hundreds of these extra modules which are not needed.
There is something with the item ID 312 in Hikashop hidden menus is this something to do with it? see screenshot.
Let me know if you need any more screenshot and what of?

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216204

Anyone know anything I can do?

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #216256

Hi,

Please try to install again the latest version of HikaShop from our website.
There was maybe an issue on installation which is causing this kind of issue.

What is that menu with the id 312 ? An HikaShop menu ? If yes, could you try to delete it, and recreate the same kind of menu ?

If these operations doesn't solve the issue, so please provide a backend and FTP access via our contact form.
Don't forget to give the url of that topic in the message.
hikashop.com/support/contact-us.html

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216368

Re-installed but still the same, I have deleted the menu item with ID 321 It was in the hikashop hidden menus. I will send login detail as requested

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #216424

Hi,

I went on your website, I have deleted all the associated modules for the menu 312, then edited many hikashop content modules like "browse our shop", "Shop Categories" or "Latest products" and nothing is added.

There is no new modules created when saving another module.

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216435

Thank you but I think I know when it is happening. Every time I view a page in my browser a new module is created with associated modules for menu 312. I view the page refresh the modules in backend and a new module appears every time. Any ideas???

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #216442

Hi,

I have added the code:

return false;
At the top of the function "createAssocModule()" in "administrator/components/com_hikashop/classes/menus.php" in order to avoid the creation of these modules. So you should not have this issue anymore.

These associated modules are no more useful since the last release which allow to edit the settings in the Joomla menus / modules options.

I tried to debug your website to know why this was happening, but I encountered a Fatal error due to the allowed memory size which was to low. Could you increase that value ? That way we will be able to do a complete debug.

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216467

I have added php_value memory_limit 32M to the htaccess file will this do?

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216513

Increased memory to 128M

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #216476

Your limit is currently set at 128Mo, so it must be enough, it is already a high limit.
But unfortunately I am still not able to execute the desired php function to have more informations about that issue.

In you case you can let the code I added previously, it solve the issue, the only thing is when updating this code will be removed and the modules will potentially be created again.

We will try to reproduce that issue on our end.

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #216571

Would a template override solve this?

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #216593

Hi,

A class override is indeed possible.
The solution for that is given in that topic: hikashop.com/forum/checkout/878018-creat...ield-php.html#216506

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

  • Posts: 41
  • Thank you received: 0
9 years 1 month ago #217878

Did you have any luck reproducing this issue, I would like to get this solved. All these modules are showing up when I try and select modules under the product page in System/Main/Product

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #217902

Hi,

Unfortunately we were not able to reproduce that issue and we don't had other feedbacks about that.
As I said in previous post, there is no reason for that to happen normally.

You maybe have a system plugin which is interracting and creating these associated modules...
Does the solution with the class override work ?

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

  • Posts: 6
  • Thank you received: 0
9 years 3 weeks ago #218674

I am having the same issue - running HikaShop Starter 2.6.0 on Joomla 3.4.5 :(

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

  • Posts: 41
  • Thank you received: 0
9 years 3 weeks ago #218678

Can I ask what template you are using?

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

Time to create page: 0.113 seconds
Powered by Kunena Forum