Friday , December 20 2024

Joomla 1.5 admin panel in Virtuemart does not open sections and icons are not loaded

Today I got this problem on an old project where the entire admin panel worked correctly, but for Virtuemart all links looked like http://domain.ruadministrator/index.php?pshop_mode=admin&page=product.product_list&option=com_virtuemart. There should be a slash after the domain, but there is no slash, and therefore all Virtuemart sections in the admin panel do not work. An important note – this concerned only the admin panel, all products on the site worked correctly.

The solution is so simple:

Open via FTP the file /administrator/components/com_virtuemart/virtuemart.cfg.php.

In this file on lines 34-35, there is a mention of the domain name:

define( 'URL', 'https://domain.com' );
define( 'SECUREURL', 'https://domain.com' );

At the end of these lines, add slashes and clear the cache in the admin panel.

The result should look like this:

define( 'URL', 'https://domain.ru/' );
define( 'SECUREURL', 'https://domain.ru/' );

About admin

Hi there! My name is Iryna, I am a web developer from Ukraine. While working on freelance projects I often face different technical issues and in this blog I publish articles on how to solve them. I am also interested in digital drawing and in this blog you will find brief tutorials that helped me and hopefully can help you as well.

Check Also

Find anchor in URL and scroll to its id on this page using JS

Here is a case: if a link contains a word, then direct the user to …

Leave a Reply

Your email address will not be published. Required fields are marked *