VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: ludde on January 26, 2008, 20:28:00 PM

Title: [FIXED] Warning: failed to open stream - dtree
Post by: ludde on January 26, 2008, 20:28:00 PM
When I run VM on my local site and click on the tree view (module: mod_product_categories) it shows the following error messages:

Warning: include(/components/com_virtuemart/js/vm_dtree.php) [function.include]: failed to open stream: No such file or directory in .....\modules\mod_product_categories\mod_product_categories.php on line 58

It looks like the variable "$mosConfig_absolute_path" is not set. If I write "$mosConfig_absolute_path = $GLOBALS['mosConfig_absolute_path'];" in the beginning of the file "mod_product_categories.php" it work - probably not the right way to fix it.
   
VM: 1.1 revision 1189
Joomla! 1.5  Stable
PHP: 5.2.3
Apache 2.2.4
MySQL: 5.0.45
Title: Re: Warning: failed to open stream - dtree
Post by: aravot on January 27, 2008, 00:15:30 AM
Please try build 1193
Title: Re: Warning: failed to open stream - dtree
Post by: ludde on January 27, 2008, 00:56:15 AM
It works in 1193, thanks