Author Topic: SEF - products disappear, user registration uses 60% CPU - SEF / SEO bug ?  (Read 292 times)

kacie_23

  • Beginner
  • *
  • Posts: 8
  • A beginner
Hello Everybody,

I am fairly new to Virtuemart, and need to get my shop up and running.
Everything seemed to work good, and then I tried to enable this SEF system, that makes my URL's nice and professional.

All sorts of problems seem to occur:

Some of my image sliders, logos etc. does not load in the page.
When trying to enter the user-registration, the CPU's (eight cores), seem to be totally overloaded for 30 seconds before the page loads. General increase in loading time.
All the products in my shop disappear.....

Again.... I am fairly new to this, but have acquired quite good knowledge about the Joomla system (overrides, modules and code-base).
So just hit me with everything you know. I need help :)

Thank you!

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3846
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Do you use SH404 or other sef plugin ?

kacie_23

  • Beginner
  • *
  • Posts: 8
  • A beginner
Usually I do not use any complex modules, unless they are simple modules for visualizations.
The reason is simple. I want to have control over the content and code. Installing a lot of extra stuff, degrades this possibility.
And I have searched for "sh404 problems", and they seem to be equally many as for "SEF problems"

I upgraded to the latest version of joomla, and use VirtueMart 3.4.2.

I have performed changes to the .htaccess files, something that I was recommended on the Joomla forum.
I had some issues with the multiple language options, that was fixed.

It seem to be an empty #system-message-container in my shop. Is it possible to enable some extensive system messages, or look in some error log?

Somtimes I get a message where they want me to add the shop to a menu-item.
This appeared because I wanted to only use my shop when registered (not public access). I removed this, when the error occurred.

The page is without bugs when I enable SEO in Virtuemart, but when I do this with Joomla SEF enabled - the problems start to occur.

The SEF system seem to work, but it is extremely slow as mentioned.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3451
  • using Matomo instead of Google Analytics
A few ideas:

In the Joomla forum you wrote "localhost/nb/component/virtuemart/user?Itemid=0". I wonder if you have a menu item which is assigned to the 'Menu Item Type' 'VirtueMart' > 'Category Layout' and selected 'Top Level Category' from the 'Select a Category' dropdown list. Also select a language for each menu item.

Next I would suggest to clear all your caches from the Joomla 'System' menu and your browser cache. Then select 'Menu' > 'Manage' and click 'Rebuild menu'.

Check your php memory limit in the Joomla system information. 256 mb is a frequently recommended value.

Another possible source of the problem might be that your template is using an older jQuery version. You can locate many problems, if you use the Firefox browser's 'Inspector'. Choose Tools > Web Developer > Inspector.


Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

kacie_23

  • Beginner
  • *
  • Posts: 8
  • A beginner
I have done everything you mention, several times. These are fairly intuitive tasks to check.
The php memory limit is now 1024, and nothing changes.

I have multilanguage, and I have three languages with the Shop -> Category Layout -> Top Level Category on each of the languages.

It is good to hear that you are on both the Joomla forum and here. I am trying to get different pieces of information from different locations. I want to solve this fast :)
It would be interesting to know how to debug this SEO system and the SEF system. Are there some php files that I can look at.

If jQuery is causing problems, how and where is this influencing the SEO or SEF system. I can try to install a different jQuery, but this will influence my Template too.
I did not think that jQuery had any influence on the Joomla core.

This seem to be a reoccurring issue many people still experience.
Sometimes I think about reinstalling everything. But is a fairly big task and not a guarantee that the problems will not reoccur.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3846
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
I dont think that you have a core problem.
Have you add new plugins ? You can have problems with some system plugins or redirections because SEF rules or bad .htaccess setting.
If you had a live website we can help you more, but it's hard to find the culprit without access to the problem

kacie_23

  • Beginner
  • *
  • Posts: 8
  • A beginner
It is probably not a core problem.
It was probably just my own mistake, when everything was working properly and I pressed the Joomla update button.

Can this be a problem?

Joomla! 3.9.6 Stable [ Amani ]
with .... VirtueMart 3.4.2

But really.... everything is working. I just need to find the code that start to spin out of control.
I find it strange that noone talks about coding here.
In an open source system, coding seem to be a vital part.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3846
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
But really.... everything is working. I just need to find the code that start to spin out of control.
I find it strange that noone talks about coding here.
Why should this be a "code"?
If all VM shops had the same problem, then it might be a code. But I only see your report, so it may be a conflict with a third-party plugin in your case. Disabling the right plugin can be the solution

kacie_23

  • Beginner
  • *
  • Posts: 8
  • A beginner
Probably not .....

I just reinstalled the system, assuming it is quicker to follow instructions, in comparison to think.

How can I delete this post..... I don't need it anymore .... I will rather add another.