Hello:
Yiks! I accidentally deleted the following file. What is the best way to fix this? Where can I find these files in the upload packages?
root/administrator/components/com_virtuemart
and now I get a site error - The configuration file for VirtueMart is missing!
It should be here: //administrator/components/com_virtuemart/virtuemart.cfg.php
Thank you in advance!
Hello
Unpack the VM package locally. Then You see the directory structure.
Copy the deleted files to Your website ;)
regards
Jörgen @ Kreativ Fotografi
Thank you. I tried that, but couldn't find a file "administrator/components/com_virtuemart"
What am I missing? Thank you.
Also I can not find "administrator/components/com_virtuemart/virtuemart.cfg.php",
only a file virtuemart.cfg-dist.php
Quote from: crystalm28 on September 26, 2016, 10:14:57 AM
Yiks! I accidentally deleted the following file. What is the best way to fix this? Where can I find these files in the upload packages?
root/administrator/components/com_virtuemart
That is not a file - it is a directory full of files!! Open the com_virtuemart package and within the administrator directory is the /components/com_virtuemart/ directory
Quote from: crystalm28 on September 26, 2016, 10:14:57 AM
and now I get a site error - The configuration file for VirtueMart is missing!
It should be here: //administrator/components/com_virtuemart/virtuemart.cfg.php
virtuemart.cfg.php does not exist in the pre-install directory, it is generated when VirtueMart is installed and updated with your site's default settings.
Suggest you revert to your latest site backup.
If you made the beginner's mistake of not making backups then re-install VM, but use phpMyAdmin to make a copy of the database first to ensure you have a backup of product data. If you use Joomla's extension manager to reinstall then you should not lose any data, but missing files will be replaced. Do not try to uninstall VM first!