I getting errors right after installing both packages for Joomla 1.5 Native and Virtuemart 1.1.2.
When i try to open in Admin section Components > JD Testimonials > Testimonials | Orders Sent | Settings i get the error:
Fatal error: Call to a member function acl_check() on a non-object in /home/xxxx/public_html/mmodostunuz/administrator/components/com_jdtestimonials/jdtestimonials.php on line 20
When i install the module too and enable it i get the error:
Fatal error: Call to a member function setQuery() on a non-object in /home/xxxx/public_html/mmodostunuz/modules/mod_jdtestimonials/mod_jdtestimonials.php on line 26
when i try to open my web page.
I downloaded the component and module packages today from the download section today.
The lines 19-25 for the first error
| Code: |
/* Ensure user has access to this function */
if (!($acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'all' )
| $acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'com_jdtestimonials' ))) {
$mainframe->redirect( 'index2.php', JText::_('Not authorized to access JD Testimonials'));
}
$db =& JFactory::getDBO();
|
The lines 25-26 for the second error
| Code: |
// prepare the query in the database connector
$database->setQuery( $query );
|