New answers tagged

0

I think you are aware, that you can create hooks on install process. E.g. https://docs.joomla.org/J2.5:Managing_Component_Updates_(Script.php) https://docs.joomla.org/J3.x:Creating_a_simple_module/Adding_an_install-uninstall-update_script_file Here is my approach, where I after install publish plugin as an example https://github.com/gruz/NotificationAry/blob/...


0

First check your session handler in configuration.php and try to set it to 'none'. $session_handler = 'none'; That should work in most cases and you might get some information on the true causes of the failure. In my case, the $session_handler was set to 'database' and I had an error in my database setup. If this applies to you as well, check your database ...


1

JDatabaseDriver::quoteName() is for quoting SQL identifiers. Use JDatabaseDriver:quote() to quote and escape strings. $query->where($db->quoteName('element') . ' = ' . $db->quote('com_componentname'));


0

If you Joomla work and need to access the database use Joomla functional to connect database $db = JFactory::getDbo();


Top 50 recent answers are included