SEF Advance 2008 1.2.6 & Virtuemart 1.1.0
- benmcntsh
-
- Offline
- New Member
-
Less
More
- Thank you received: 0
16 years 8 months ago #3130
by benmcntsh
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:
with
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 255
which is referring to this line of code:
Any idea how to fix that one?
Thanks!
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 255
which is referring to this line of code:
$database->setQuery( $q );
Any idea how to fix that one?
Thanks!
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
16 years 8 months ago #3131
by Saka
Emir Sakic
www.sakic.net
Activate the legacy mode plugin.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.