Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Re: The configuration file for VirtueMart is missing!
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Re: The configuration file for VirtueMart is missing!

Re: The configuration file for VirtueMart is missing! 13 years, 1 month ago #24729

Hello Jan, just i have the same problem but on my page the virtuemart is running. The problem appears when you click on the buttons eTicket, Ticket Check, Sell Ticket, Update Ticket, etc. ..

Someone could fix it?
The topic has been locked.

Re: The configuration file for VirtueMart is missing! 13 years, 1 month ago #24730

Hi Everyone...

I have the same problem: The configuration file for VirtueMart is missing!

It should be here: /administrator/components/com_virtuemart/virtuemart.cfg.php
My website is www.controldeaccesos.in and the main menu there is a section called "acceso promotores" where four other options are displayed, each with module functions VMeTicket.

If I have a user session starts, the system sends a message telling me that I have permission to view this resource, then I login and login. But to go back and try to enter, she gives me the error.
The topic has been locked.

Re: The configuration file for VirtueMart is missing! 13 years, 1 month ago #24798

  • pedu
  • OFFLINE
  • Posts: 177
Hello,

The error of missing VM configuration file is caused by some plug-ins or modules of VirtueMart.
As the first step I recommend you to find, which module (plug-in) displays the error.

I don't know what level are your programmer skills, but the errors are caused by wrong checking, if the configuration file exists.

The code contains something like this:
if (!require_once ...virtuemart.cfg.php) {
die;
}

So if the configuration file is already included before, the page returns error.

You have two options:
1.) check the wrong module (plug-in) and turn it off (in the Joomla administration)
2.) modify this code to work it without errors. (This option has one disadvantage - Your modifications can be overwritten after next VirtueMart update)
ARTIO Support Team
The topic has been locked.

Re: The configuration file for VirtueMart is missing! 13 years, 1 month ago #24860

Turn off the module "VirtueMart Shopping Cart" and everything works perfectly.

Thanks...
The topic has been locked.

Re: The configuration file for VirtueMart is missing! 12 years, 10 months ago #26564

Any suggestions how to show the cart instead of using mod_virtuemart_cart?
The topic has been locked.

Re: The configuration file for VirtueMart is missing! 12 years, 10 months ago #26566

  • pedu
  • OFFLINE
  • Posts: 177
it should help to modify the "/components/com_virtuemart/virtuemart_parser.php" file.

find the row 64. and this code:

if( !file_exists( $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php" )) {
die( "<h3>The configuration file for VirtueMart is missing!</h3>It should be here: <strong>"
. $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php</strong>" );
}

and write /* and */ before and after this part of code. It will disable it:

/*
if( !file_exists( $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php" )) {
die( "<h3>The configuration file for VirtueMart is missing!</h3>It should be here: <strong>"
. $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php</strong>" );
}
*/

Than find this row (it's right under the previous code):

require_once( $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php" );

and write the absolute path to the configuration file to the brackets. should be something like this:

require_once("/var/www/joomla/administrator/components/com_virtuemart/virtuemart.cfg.php");

It should help and you'll be able to use the cart module as well.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Moderators: pedu
User Login Empty