Hello, I just bought SEF Advance 2008 and it works perfectly with Joomla. I am also using Virtuemart 1.1.1 and I am having a couple of problems with the sef_ext.php extension that is available.
Just dropping in the file as-is produces the error:
Direct Access to this location is not allowed.So, I replaced line 14:
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
with
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
Then, when trying to view a product page I got the following error:
Fatal error: Call to a member function setQuery() on a non-object in /home1/picturj2/public_html/components/com_virtuemart/sef_ext.php on line 255which is referring to this line of code:
$database->setQuery( $q );
Any idea how to fix that one?
Thanks!