All Questions
7,190
questions
0
votes
1
answer
19
views
Login works sometimes
Here is a video of what I see:
https://youtu.be/Qbljr2CZu9k
When I visit my login page here:
https://www.dev.plantbasedplanet.co.uk/sign-up
I cannot login using my credentials.
However, when I fail to ...
1
vote
2
answers
279
views
Joomla 3.10.x SQL Injection XSS Vulnerability
I have a website setup on my infrastructure that is running Joomla 3.10.8. During a security audit, certain SQL injection vulnerabilities / XSS have been identified.
The setup includes a bunch of ...
0
votes
1
answer
66
views
Override a method of the Indexer class (com_finder) using a plugin
I'm trying to override a Joomla method (toggleTables in the Indexer class of the com_finder) using a plugin, but it doesn't work. Where am I going wrong?
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\...
0
votes
0
answers
48
views
SEO-friendly URLs are being corrupted after update
I have built a directory website and started to add some content. I have created the standard pages (contact us, privacy, etc.) and added businesses. I would like SEO-friendly URLs, so I set:
Search ...
2
votes
1
answer
226
views
What is the difference between mysqli and mysqlnd php extensions?
I'm considering upgrading from PHP7.4 to PHP8.0 on a Joomla 3.10.8 installation. I was surprised to find that my hosting provider only offers mysqlnd as a PHP extension in PHP 8.0, but not mysqli. ...
1
vote
1
answer
36
views
select onChange changed to on-change after saving Joomla 4.1 form
I have been successfully using a homemade article including a form and some javascript for a while now on Joomla 3 which also uses the Regularlabs Sourcerer plugin.
Turns out that I recently migrated ...
2
votes
0
answers
26
views
Joomla MEMORY tables cause an error in creating/editing articles
I am encountering an error with Joomla 4 that has never occurred to me in previous installations. When I try to create/edit an article, a category or to index contents in smart search, I get the ...
1
vote
1
answer
93
views
Updated to Joomla 4 and custom PHP scripts no longer run
I have just upgraded from Joomla 3.10.8 to the latest version of Joomla 4 (it is 100% better). However some of my scripts that have run for years now no longer work. The scripts basically import files ...
0
votes
1
answer
478
views
Update Joomla! 3.10.8 to PHP 7.4 or PHP 8.0
I am using a Joomla! 3.10.8 Stack from Turnkey Linux, it shows a warning, that I have to upgrade to a higher PHP-version. So how I update/upgrade the higher PHP-version? And is it clever to upgrade to ...
0
votes
2
answers
72
views
How can I sort an unordered list alphabetically by class with JavaScript or PHP?
In a custom J4 site I am using the Shack Locations (previously Focalpoint) core extension that displays a dynamically generated legend of location types on the front end, but it is listing the nine ...
0
votes
1
answer
22
views
Fetching custom user field values in custom module
I'm having some problems with a custom module that I'm making to display some basic "logged in" user information.
I'm working on a template with "SP Page Builder" CMS.
My module:
{...
2
votes
2
answers
152
views
Joomla 4 URL processing/routing
I have a Joomla extension running on 3.10 which fails on Joomla 4. The issue is that it generates URLs of the form /index.php?option=COMPONENT&view=VIEW&task=TASK¶meter=PARAM which ...
0
votes
0
answers
19
views
Language pre-selection based on user group
Administrator area.
When user login, I need to preselect categories, articles and modules based on the user's main group.
Group EN
Group ES
Group IT
For each group you have specific "language&...
0
votes
1
answer
77
views
How to return data from 2 tables to one table using a select field
My tables:
dzialki
+--------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+-------------+------+---...
0
votes
1
answer
40
views
Displaying API data in Joomla Component
So, this is a two parted question but both pertaining to REST APIs. I am developing a component for Joomla in which I have a few database fields (ie. teamid and platform) that are stored in the local ...
0
votes
1
answer
62
views
Implement SELECT query with a LEFT JOIN in J4
I want to get data from two tables using a LEFT JOIN. My query works in my current PHP code, I just don't know how to implement it with query building methods in J4. Can anyone help?
SQL:
SELECT `...
1
vote
0
answers
37
views
How do I get the tag parent with Joomla 4?
I'm using Joomla 4 and need to use the new API to get tags which have a specific parent. (I am already able to do it with the legacy API using the $tag->parent_id). It seems that the new API doesn'...
1
vote
0
answers
26
views
Make a custom user field searchable and sortable in administrator list
I'm trying to figure how to make a custom user field searchable, and sortable, in admin users panel.
My custom field stores a client ID. As I can have multiple accounts per ID, i'd like to make this ...
1
vote
1
answer
54
views
How to remove a file from a template using the installer?
I am developing a template for a small group of sites. In the old J3 days, I had to make an override for some core templates to fix some minor things. With the update to J4 this was no longer ...
0
votes
0
answers
32
views
Get IP and Country of user who downloads a file
I've written a component for downloading files from my website and it also writes data to the database about the downloading of files. To understand where the downloading users are from, I want to ...
1
vote
1
answer
51
views
Cannot login to previously working Joomla site front end and back end
Front end and also Admin does not log in, and it does not error. It just seems to refresh. I'm using Joomla 3.x
I have tried overwriting all of the core files via FTP
plg_user_joomla is enabled (...
0
votes
0
answers
43
views
How to encrypt and decrypt User data in joomla
I am new to joomla, and working on joomla application which is currently running on production environment.
Application contains 1000+ registered users.
As per GDPR Policy, I have requirement for ...
1
vote
0
answers
15
views
Create a public controller method
I have a controller method that outputs some JSON which should be publicly accessible
index.php?option=com_mycomponent&task=mycontroller.json&format=json
If I set this as a System > URL ...
0
votes
0
answers
8
views
How can I dynamically remove tab-index when URL off the page?
In J4.1x I have a three-article carousel, on a 24-second repeating cycle, based on an alternative blog menu item. The carousel works purely with CSS and animation delays of 0, 8 and 16 seconds, with ...
3
votes
3
answers
156
views
New files in Joomla 4 components
In Joomla 4 there are new files in the components, like:
services/provider.php
Extension/XxxComponent.php
Service/HTML/AdministratorService
Are there available documentation about how to implement ...
2
votes
0
answers
35
views
MySQL Server has gone away with mysqli_connect to another LAMP Stack / TURNKEY Linux
I am trying to connect to another VM (192.168.16.27) from 192.168.16.28 to get Data out of the MariaDB Database (joomla).
So my Code is:
$link = mysqli_connect("192.168.16.27", "user&...
1
vote
1
answer
82
views
How to use Joomla for insert, delete, display and update data from mysql?
I'm just started to learn using Joomla and one of the things that I need to do is to build a form that can insert data and that data can be displayed to another Joomla page.
I got a few comments from ...
1
vote
1
answer
151
views
jQuery scripts not working in Joomla 4 template
I am trying to upgrade my Joomla 3 website to Joomla 4. One of the issues I am facing is that none of the jQuery code in my template's index.php file is working. Does jQuery not get loaded ...
0
votes
0
answers
15
views
No route found for "GET /index.php/en/"
I am trying to access my website and I am getting this error:
No route found for "GET /index.php/en/"
Code:
try {
if ($referer = $request->headers->get('referer')) {
...
0
votes
1
answer
23
views
URL on three-image CSS carousel not changing with images and text
I have created a rotating carousel using a Joomla 4 blog alternative menu item. The blog shows the three latest articles as 'intro items' on a rotation of 24 seconds in total, i.e. 8 seconds each. The ...
1
vote
1
answer
58
views
How to stop Joomla 4 from loading collapse.min.js in my template
I built a custom Joomla 4 template and unfortunately Joomla is automatically loading collapse.min.js
When I view the page source I see this in the head:
<script src="/media/vendor/bootstrap/js/...
0
votes
1
answer
41
views
Incorrect Uri::root() with external PHP file
The file /srv/http/components/com_mycomponent/ajax/editAction.php was initialized with https://github.com/joomla/joomla-cms/issues/34586#issuecomment-865080001, except that we use
define('JPATH_BASE', ...
0
votes
0
answers
20
views
importing joomla on local host
after typing http://localhost/kickstart.php and then extraction of backup it shows this error
Fatal error: Cannot use "parent" when current class scope has no parent in C:\xampp\htdocs\...
0
votes
0
answers
25
views
Imagelist Custom Field Joomla
I have a custom field "imagelist Field" containing a json string and I need a php code to display the images in a carousel div. Can anyone help?
The value in the database table is:
{"...
0
votes
0
answers
19
views
How to assign the correct Itemid to manufacturer products page link form the product details page
I'm using Joomla! 3.10.6 and Virtuemart 3.8.9 with PHP 7.4.27.
On the product details page, I linked the manufacturer logo to the manufacturer products page, but the link Itemid is wrong.
Here is the ...
0
votes
0
answers
18
views
How to edit article custom field through the frontend?
There is a text from the additional field inside the material.
I want to implement the ability to change this text through the frontend with the ability to save it there (when authorized by the admin)....
0
votes
1
answer
131
views
Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()
I'm having this error in Joomla for some reason:
Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()
I see other posts with this error, but I suppose they are using ...
0
votes
0
answers
29
views
Problem with password reset: The object must be an array or an object that implements ArrayAccess
When I try to reset my password from my website, I get this error:
Error
The object must be an array or an object that implements ArrayAccess
What is the root cause?
0
votes
0
answers
15
views
ResponsiveSlides.js not working in https protocol
When my site is opened via a url starting with https://, the slide is not showing. Even if I change the location of the files to be the full path, they don't show. I mean https://www.example.com/...
0
votes
0
answers
89
views
error with joomla 4 when i try to get value from user custom Fields
with joomla v3 we use the following code to get values from database
//
$userfields = FieldsHelper::getFields('com_users.user', JFactory::getUser(), true);
return $customFields[6]->value;
//
now ...
1
vote
0
answers
72
views
409 Conflict on Joomla 4 administrator backend
I am building a site using Joomal 4. I developed it on my local and uploaded that to the server. All the public pages of the site are rendering properly, but when I try to open the /administrator page,...
0
votes
0
answers
31
views
How to implement and manage canonical URLs in Joomla 4.1
I want to implement and manage canonical URLs in Joomla 4.1.
I know that Joomla does not provide an automatic way to generate this type of links, although they can be quite important for SEO.
It is ...
0
votes
0
answers
26
views
Accessibility error in offcanvas element in Joomla site
I have a problem with a validation error to http://www.tsiapos.gr/ (Joomla 3.9.10 - yootheme template0
https://wave.webaim.org/report#/https://tsiapos.gr/
which is related to empty link in "...
0
votes
0
answers
11
views
Rescale Facebook Iframe
I want to embed a Facebook Feed into a Joomla page.
I need to find a way to transform the page that opens beyond the last link into "100% Size in the width of the parent container". For ...
0
votes
0
answers
20
views
Joomla cache issue causing incomplete extension installation
I recently upgraded AcyMailing extension to 5.10.27 on Joomla 3.10.6. The installation appeared to complete normally but the site reported PHP warning errors about a missing folder. I contacted Acyba ...
0
votes
0
answers
12
views
Can I batch copy menu together with linked articles?
Copying a menu using batch processing is great for adding a new translation to Joomla. Is it also possible to copy the linked articles? The English menu is pointing to English content, and when ...
2
votes
1
answer
41
views
HTMLHelper call a custom class in a module
In the xml file for a module, I call a custom field class:
<config>
<fields name="params">
<fieldset name="basic" addfieldprefix="Myextension\Name\...
2
votes
1
answer
53
views
Scheduled Tasks Infrastructure in Joomla 4.1
Is there documentation for the new Scheduled Tasks Infrastructure in Joomla 4.1 (https://github.com/joomla/joomla-cms/pull/35143)?
I just created a test task for setting the site offline. I scheduled ...
2
votes
3
answers
132
views
Joomla administrator page not entirely loading
I'm struggling pushing my Joomla website to the remote server. When I login into the administration page everything works fine, but after then the configuration panel isn't loaded properly:
The ...
0
votes
1
answer
40
views
Use Joomla article title as a variable inside a paragraph
I'm looking to set up a bunch of pages that have the same paragraph except one bit of text that will be the same as whatever the article's title is. Is there a way to pull in the article's title as a ...