VirtueMart Developer Portal

         
[BUG-1640]  -  require_once virtuemart_parser.php in virtuemart.php
Tags:   No tags associated yet.
All Tags...
Go Back
  0  
 Tracker:  Bug  Priority:  Normal  Status:  Closed
 Resolution:  Fixed  Owner:  --  Severity:  Trivial
 Submitted by:  manfred Jan 06 2008 01:22  Assigned to:  soeren_nb Jan 07 2008 19:08  Modified by:  Aravot Jan 10 2008 08:04
 Category:  --  Platform:  --  OP-SYS:  Linux
 Version:  VirtueMart 1.1.0 beta2  Joomla! Version:  Joomla! 1.5.x  Browser Version:  Firefox 2.0
 Fixed in Version:  --
Description:
/components/com_virtuemart/virtuemart.php on line 22
require_once( dirname(__FILE__).'/../../components/'.$option.'/virtuemart_parser.php' );

return emty tags "<div></div>". i'm still not understand reason, but i've found that the ".'/../../components/'.$option" part is not necessary because it make a wrong path

/home/components/com_virtuemart/../../components/com_virtuemart/virtuemart_parser.php

I've change the code this way, "<div></div>" is still exist but the path is righte

require_once( dirname(__FILE__).'/virtuemart_parser.php' );
/home/components/com_virtuemart/virtuemart_parser.php
Details:
Comments (1)
Attachments (0)
Associations (0)
SCM Commits (1)
All (2)

Submitted Comment
Aravot
Jan 10 2008 08:04
Implemented in SVN 1142