Questions tagged [joomla-3.x]
For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.
3,129
questions
1
vote
1
answer
18
views
How to know the Joomla article ID for customization
I have a demo installation of J 3.10.9 with protostar template (https://joomla4.extrowebsite.com/).
The menu item "Home" -> blog category - has N articles.
The article "Welcome to ...
1
vote
0
answers
14
views
Pre-filter set without any effect in List Fabrik Joomla
I have a List "Document Manager" defined in Fabrik module in Joomla and I want to pre-filter the documents from the list, in order to show only the documents belonging to the currently ...
0
votes
0
answers
26
views
How to check in my plugin whether the user has bought a product in the j2store or not
I am going to write a plugin for J2store to check if the current user has purchased the product successfully or not.
I do not know how to use the J2store API to check if the user has purchased the ...
0
votes
0
answers
25
views
Joomla all versions not worked 404 pages on Litespeed server
i see front page without component, → 404 error not shows but i have its in my template..
error.php:
error->getCode(); ?> - title; ?>
i found very much articles, whats is maybe litespeed not support ...
1
vote
1
answer
29
views
admin edit.php saves but doesn't retrieve data from "params" database field
I have a config.xml with some parameters for my component.
I need to define these parameters for each individual item.
So in admin/models/forms/myview.xml, I've written my fields:
<fields name=&...
1
vote
1
answer
59
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
93
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
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
0
answers
25
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 ...
0
votes
0
answers
26
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 ...
2
votes
0
answers
27
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&...
0
votes
0
answers
14
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
0
answers
17
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
16
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
58
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
28
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
22
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 "...
2
votes
3
answers
68
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 ...
1
vote
0
answers
48
views
Help: Joomla routing and pass-through redirects
I have a little project integrating a 3rd party application, which seems pretty easy and straight forward for the most part.
However, it requires some internal Routing to be set in place, in order to ...
1
vote
1
answer
26
views
Joomla mysql query - group_contact
I have mysql query:
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
$formId = 21;
$query = "select * from #...
0
votes
1
answer
35
views
Missing article in the admin panel
I posted a recent article on the website, one of the users logged in the admin panel logged in and tried to edit the article accidentally the article disappeared and I can't get it. I have searched ...
1
vote
0
answers
29
views
Adsense Ads Not Loading on Joomla Logged In Pages
I run a website which has Adsense ads served on all pages (in the footer for example) and these ads load absolutely fine on all pages of my website. I'm currently building a tool/feature for users and ...
2
votes
1
answer
69
views
How to get Joomla article association?
How can I get the associated articles programmatically in my custom component function?
I have my custom component and I am creating a new article for a multilingual site, so I need to associate ...
1
vote
2
answers
150
views
How can I reference JFactory within a PHP class?
In Joomla 3:
I'm writing a class to represent a semi-complex data structure. In that class, some methods need to access the app, dbo, document and user objects from JFactory.
Here's a snippet of the ...
3
votes
2
answers
48
views
How to set/change default article category in Joomla 3.10?
When I create a new article, there is a default category of "Uncategorised". Is there any way to set a different default article category instead of the native default "Uncategorised&...
0
votes
1
answer
86
views
ERROR 0 - Object of class stdClass could not be converted to string
The code where the error occurs is:
$css .= 'height:'.$gallery_height.'px;';
$css = '';
if($gallery_height){
$css .= $addon_id .' .sppb-gallery-parallax:after {';
$css .= 'height:'.$...
0
votes
1
answer
21
views
Out of sort memory, consider increasing server sort buffer size Out of sort memory, consider increasing server sort buffer size
I have an error showing in Joomla v3.10.5, while accessing the modules under extensions
Out of sort memory, consider increasing server sort buffer size Out of sort memory, consider increasing server ...
3
votes
1
answer
34
views
Count the number of articles tagged with the same tag
On my Joomla website, I'd like to count all the articles by tag.
I found this thread about how to count the number of articles by category : How to Show number of published articles?
I tried to find ...
1
vote
2
answers
21
views
Joomla 3 - How to find if logged in user is registered?
I have the following code:
<?php if ($user->id >= 1): // logged in ?>
This checks to see if the user is logged in, but not which group the user belongs to. I'm trying to show content only ...
1
vote
0
answers
14
views
Removing the Category ID from article Url
Joomla 3.7(?) to 3.10.5 Legacy router issue fix
So, our site articles' urls needed the category id to be removed (only, not the article id, as removing both causes a 404).
Here is the solution that ...
0
votes
0
answers
13
views
Payment plugin for Documents Seller
I am trying to build a payment plugin for Joomdonation Documents Seller. I can send an order to a Bank and pay, but after that I am having a problem.
When an order is created and sent, it has status: ...
0
votes
2
answers
62
views
Error: Failed to start application: Failed to start the session
I have hosted web application develop using joomla in ubuntu 20 and use mysql as database.
one i hosted and viewed in the web browser it show me Error: Failed to start application: Failed to start the ...
0
votes
0
answers
16
views
in jDownloads 3.9, how do I make the link to downloads the actual download name, rather than "?task=download.send"
I recently updated jDownloads on my Joomla website from 3.2 to 3.9. I noticed that now, when I hover over a link in a category, instead of using the download's name, like it used to, it's now using a ...
1
vote
1
answer
21
views
Change first item in Breadcrumb to custom static link
I've got this bit of code that works well for my Joomla setup
However, due to the way my main menu is set up, the first item in every page we have breadcrumbs enabled is always "Products" ...
1
vote
0
answers
44
views
render Subform repeatable custom fields joomla4
I have created one subform custom fields in my Joomla 4 article from backend and selected media filed at subform
and use this code for load custom fields at joomla article
YOUR_JOOMLA_WEBSITE_ROOT/...
1
vote
1
answer
36
views
Simple Joomla plugin not working on frontend
I have a simple Joomla 3 plugin that works fine on backend for resizing images when uploading from multimedia manager:
<?php
defined('_JEXEC') or die('Restricted access');
class ...
0
votes
1
answer
26
views
How secure is the Note field in a Joomla Article?
I'd like to know how secure is the Note field in a Joomla Article? I'd like to put a Note in there just for the Joomla Administrator to see. Is there any likelyhood this could become visible elsewhere ...
1
vote
0
answers
14
views
Upload volume changes do not apply to php.ini
Hi I have a centos 7 server and a cwp 7 panel. I have the latest version of Joomla and WordPress installed on them. The size of uploaded files in Joomla is 2 MB. I increased the upload_max_filesize ...
0
votes
1
answer
41
views
How to restore Isis template and see it in Extensions->templates
I am trying to restore the Isis template. I have reinstalled the zip file from Git. I can see the Isis folder and all of it's files under Administrator/templates, BUT I cannot see it in the Admin ...
0
votes
1
answer
140
views
Application shows session_start(): Failed to read session data: on browser
I have hosted a website using a backup and when I access it through a web browser, it shows me error and I have changed configuration.php file from:
public $error_reporting = 'none';
To:
public $...
0
votes
0
answers
12
views
Can't access Joomla site after failed akeeba backup
Sorry if this is the wrong forum but I can't find any help elsewhere.
I tried to take a backup with akeeba but it got stuck so I closed the browser but now I can't access anything. 504 Gateway Time-...
2
votes
1
answer
42
views
Can't edit index.php in Joomla 3.10
I am trying to edit my index.php file in my website using the Joomla! extension manager. I have to add the code right before my closing tag however there is no HTML! So I've tried adding some, after ...
0
votes
1
answer
13
views
Keep user logged into Joomla session after browser closed
How can I keep a user logged in after they close the browser? I don't want the user to have to log into the site every time they visit it. I have increased session lifetime, but that does not work ...
1
vote
0
answers
47
views
In standard Joomla 3 how to decide the length and perhps parts of a text of an article in Archive listing
I am a beginner and should like to have certain length of archived articles to appear in search result.
Currently ~ 110 characters appear at the user screen.
I looked over the different menus in this ...
0
votes
1
answer
40
views
JFormField extension doesn't access $this->element from the constructor
I'm creating my custom Field extending the clasic JFormField like this:
class JFormFieldExtension extends JFormField {
protected $type = 'extension';
// Constructor
public function __construct(\...
1
vote
1
answer
38
views
Render an admin view to a site template in Joomla!
Recently I am facing a challenge. I have a view and two layouts.
Say the view name is form and the layouts are edit, edit-frame.
Now I want to render the edit-frame layout into an iframe. This is the ...
0
votes
1
answer
44
views
Virtuemart Call for price form submission allows user to got logged in to the frontend of the website
Virtuemart Call for price form submission allows user to got logged in to the frontend of the website if the user has a account with a submitted email id. how to get resolve this issue?
2
votes
0
answers
58
views
Custom Component, display function is not called from specific view/controller
I have made a custom component, also with help from component-creator.com. But I am struggling with display methods. For example I want to check something in the display method, but when I try to add ...
0
votes
1
answer
18
views
Periodically (monthly) delete files in a specific folder
I am wondering if there is a way (script/extension) to delete files from a folder after a certain file has reached the age of 30 days. For example, I have a folder which receives uploaded files daily. ...