News:

Support the VirtueMart project and become a member

Main Menu

Accidentally changed the General assets folder location....

Started by jhiles, May 11, 2015, 22:26:55 PM

Previous topic - Next topic

jhiles

I accidentally changed the general assets folder location in configuration. now when I click the configuration button in the backend to change it back it give me this error:
An error has occurred.
0 DirectoryIterator::__construct(/home2/jhiles1/public_html/pureandsimplewc//http://mysite.com/pureandsimplewc/components/com_virtuemart/assets/images/availability/): failed to open dir: No such file or directory

Is there a .css file or something of this nature that I can edit to point back to the right address: components/com_virtuemart/assets/

Version is:
VM 3.0.8

jenkinhill

CSS is totally unrelated to this!

You could try editing administrator/com_virtuemart/virtuemart.cfg to enter the correct path. These should be like this:

##Paths
    assets_general_path=components/com_virtuemart/assets/
    media_category_path=images/stories/virtuemart/category/
    media_product_path=images/stories/virtuemart/product/
    media_manufacturer_path=images/stories/virtuemart/manufacturer/
    media_vendor_path=images/stories/virtuemart/vendor/
   forSale_path_thumb=images/stories/virtuemart/forSale/resized/

Then go to VM configuration in the backend hit save a couple of times.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum