# All Questions

6,384 questions
Filter by
Sorted by
Tagged with
17 views

### Can't get a task to work from CLI

I've got a custom component I've written which has a task that needs to be run every evening. I'm using JApplicationCli but I can't get it to work. From searching on the web I've found a suggestion to ...
25 views

### How do I upload images to a specific folder (Component Backend)

I would like to know how I upload files to a specific folder through Joomla Administrator Panel (My Component Backend). I know how to do it in the site part following along with this tutorial: https:/...
23 views

### Is there a quick way to deny all privledges for a user group?

It seems to me that when I create a new user group they have access to everything and I maybe only want them to have access to one thing e.g. com_content. I have to painstakingly change the ...
20 views

### Joomla DB where statement not works as expected

I don't understand the world right now. I try to make a simple query from the DB, but it fails with the message that the column is not known. I do not understand why Joomla! tries to see the value I ...
30 views

### How to get an AJAX call in component's administrator side

I added a component to my site and it accesses my DB via an AJAX call. In my 'tmpl' folder, I have a 'default.php' file which makes an AJAX call that is received by view.json.php just outside that ...
30 views

### “Fatal error: Only variables can be passed by reference” while trying to upgrade to Joomla 3.6.5

I cannot upgrade my site to Joomla 3.6.5 because I am receiving the following error: Fatal error: Only variables can be passed by reference in /home/esteemso/public_html/administrator/components/...
35 views

### Override 3d party extension plugin method

I found some errors in the code of a third-party system plugin, it is assumed that the developer will release updates and fix them, but for today I would like to fix them myself, for this I made my ...
42 views

### How to display specific K2 extra field of current item with k2 tool module

I am trying to display specific extra field values of a specific item with the K2 tool module. I have tried to get just BRAND, but I'm getting stdClass::brand() error. $db = JFactory::getDBO();$...
30 views

### Pop up AcyMailing subscription form

I am trying to build a Joomla website with an AcyMailing subscription form. I'd like the form to be a pop-up window. I have researched thoroughly and I have achieved most of what I want. Now I have a ...
15 views

How to prevent one Administrator (Not Super User) to look at other Administrator's TFA settings. Currently how it works is it does prevent Administrators from accessing Super Users A/c but it does ...
37 views

### Getting module parameters in AJAX call using module id

I have set up an AJAX call in my module which works fine. I want to get the module parameters when I make the ajax call. So I'm doing this $app = JFactory::getApplication();$module = JModuleHelper::...
60 views

### PlotALOT RSForm Query showing only one result

After being helped very well by Stack community and learning a bit I created a query to show the sum of payments per client. A client can pay multiple times. I would like to know the sum of payments ...
54 views

### Randomly render one of the modules in a given position

I have several modules for a given position, but I only want to display one of them (selected randomly) on the front-end in a Gantry template. Is there any way to do this?
25 views

I have updated Joomla to 3.9 and now I see this error every time I try to load the website: Error: Class 'Joomla\CMS\Cache\Cache' not found: Class 'Joomla\CMS\Cache\Cache' not found Error reporting ...
56 views

### Cannot Connect To MSSQL Server

I am using php 7 and trying to connect to mssql server. I have this code: <?php $serverName = "server"; //serverName\instanceName$connectionInfo = array( "Database"=>"...
37 views

### Trying to connect to an external ODBC data source

I have a need to connect to a data source on an old unix box via ODBC, but I don't seem to be getting far and I can't find any examples to help me. I have started with https://docs.joomla.org/...
31 views

### JRoute not working - always shows the current view

I have created a view for my custom component and it works OK however I've noticed that JRoute only works for the current view. If I am, for example, on the view picture and I try to "JRoute ...
31 views

### How do I pass _JEXEC to a php file?

I have a form in my Joomla! site. Once completed, the form should send an e-mail but only if some conditions have been met. Not having been able to use standard, commercially available mailers while ...
23 views

### Docker compose Start command throwing “No volume error”

I am working on deploying a Joomla application on a Linux server using Docker. When I use the docker-compose start command, I get the following error: "Cannot start service joomla-1: get ...
13 views

### Joomla - File systems failed and made the backend and FTP unable to display files?

There is a serious incoherence between Joomla and the file server. The Joomla is running on Azure as SaaS. A few months ago, as I uploaded photos via Joomla Administrator, I could access them via FTP....
20 views

### Virtuemart installation first page not working?

I'm trying to install Virtumart on my apache server. I used this reference as my installation guide: https://hostadvice.com/how-to/how-to-install-joomla-on-an-ubuntu-18-04-vps-or-dedicated-server/ ...
32 views

### Error Updating Component - does not update

I'm not sure if it's a good title for my question, because my component actually updates - at least that's what Joomla tells me. So, the problem is that I developed a component and now I need to ...
73 views

### Straight forward code example to save and retrieve the data for a Subform?

I hope that I may ask this, but is there a straight forward code example for a subform to save the data and to retrieve the data. What I have now is written an save function in controller/model with ...
16 views

### Using the SQL Delimiter statement in component update

For the next version of my component I need split some data into different tables, which requires some rather more complex SQL than I would usually use. The problem is that there doesn't seem to be a ...
28 views

### Deleting rows in two different tables

I'm trying to make function (task) and deleting rows in two tables. But I don't get this sql query working, I only got this error: 1064 - An error has occurred. You have an error in your SQL syntax; ...
72 views

### How do I add async attribute for scripts?

I would like to add async to script tags coming from here <jdoc:include type="head" />. I have done some research and I found a few solutions, however those are for custom scripts. I ...
32 views

### Search Tools not expanding for Advanced Module Manager

My joomla 3.6.4 site has been recently upgraded to Php7.1.33 I am seeing one issue in Advanced Module Manager. "Search Tools" are not expanding for it. It is expanding for Article Editors ...
40 views

### Json encoding being escaped

I'm writing to the db (I'm automatically creating a module): $module = new stdClass();$module->title = $moduleTitle;$module->note = ""; $module->content = "";$module-&...
15 views

### Fabrik security issue: input tag attributes expose database table prefix

In the generated HTML for the input field, the id and name attributes shows the Joomla database table prefix. Exposing the database prefix is a security concern. Is there a way to prevent this? <...
28 views

### Edited css not updated in XAMPP

I am new to Joomla and just downloaded a template (from my company) and deployed it on XAMPP. When I try to edit the CSS and refresh the page, the css does not get updated. I have tried clearing the ...
34 views

34 views

### How to reference a file locally within my class

I'm trying to use file_get_contents to reference a .json file in my module. My directory structure is as follows my custom field which is trying to reference the json file /models/fields....