News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Own Extension

Started by kiki90, August 22, 2012, 14:15:22 PM

Previous topic - Next topic

kiki90

Hello Again !

I have succeeded in doing so but after some time it started giving me the invalid Token doAuthentication problem .. this resulted from the permissions.php file. And I thought it's because I'm not a logged in user and trying to input stuff into virtuemart from the frontend.. So i thought to myself .. Which is worth commenting out the checkToken() line from permissions.php or using Joomla's own way to input stuff into Joomla like
      $db = JFactory::getDbo();
$query = $db->getQuery(true);

$query->insert('#__database_table');
$query->set('column_1 = ' . $value);
$query->set('column_2 = 1');
$db->setQuery($query->__toString());
$db->query();


I'm asking this because I don't want any security issues

Thanks :)