Questions tagged [joomla-3.x]
For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.10.
3,182
questions
0
votes
1
answer
47
views
How do I change a page URL on Joomla 3.10.11?
I'm a complete newbie to Joomla here (been working with it for a few days only) and wanted to ask what is probably a silly question. For clarification I'm not using any SEF extensions/plugins - only ...
2
votes
0
answers
18
views
'This page doesn't work' in articles & items
A strange issue occurred in my site https://myagiaparaskevi.gr/ suddenly. I've done no changes except publishing new articles. Every time I try to visit an article I get 'This page doesn't work'. ...
0
votes
1
answer
27
views
Tags not saving for Joomla category custom component with the correct entry in the #__content_type for the Joomla 4 and Jooma 3
Created field type category in the custom component com_drawing
but not able to save the tags in the category(refer to the image)
Table entry in the table #__content_types
INSERT INTO #...
0
votes
1
answer
18
views
Add title to image tag
Seo optimizers cannot find titles in pictures, and I can not find how to add it through the admin panels. Please help.
0
votes
0
answers
10
views
Joomla Vote causing an error in Google Search Console : itemReviewed
I found that using built-in in Joomla 3.10 content vote plugin is causing some errors on Google Search Console - itemReviewed.
I turned this plugin off - it helped, no errors.
I installed JVE free ...
1
vote
3
answers
36
views
Indexing time of smart search increases heavily
I have a large site with over 900.000 articles. Now I want to use smart search.
Therefore I use the CLI method to index the smart search:
php -d memory_limit=256M finder_indexer.php
No matter how ...
0
votes
1
answer
36
views
Joomla 4 - change in way URLs generated compared to Joomla 3
I've copied the exact menus and menu structured over from a J3 website to a J4 website but the resulting URL tree is generating differently on the J4 site.
For example the old J3 URL is: https://old....
0
votes
1
answer
69
views
Using MySQL "LOAD DATA LOCAL INFILE" with the Joomla database connection object
In a Joomla 3 component I use the MySQL "LOAD DATA LOCAL INFILE" command to import large CSV files into a Joomla database table.
When moving to a new server, it is no longer possible to ...
0
votes
2
answers
130
views
Help with update a JoomlaCli-Application from Joomla 3 to Joomla 4
I'm working with a JoomlaCli Application, called from a external php command via a cronjob. It worked in Joomla 3, but in Joomla 4 some classes have changed.
Our class name is import
Namespaces:
use ...
1
vote
1
answer
54
views
Reoder featured articles after migration to joomla 4
I have upgrade my site from Joomla 3.10.x to Joomla 4.3.2.
My homepage shows a list of featured articles. I have create new featured articles and if i change the order in the backend with drag & ...
0
votes
1
answer
43
views
Is there any way to hide banners in article but keep them in category list?
I have a website running under Joomla 3.10.11, which displays various banner modules on all post category pages.
The goal is to NOT show any banner when the user enters the article page. Is it ...
2
votes
0
answers
31
views
Help With Joomla PHP Upgrade
I need a little bit of guidance when it comes to upgrading PHP on a Joomla! site
The server is running RHEL 8.7 and I have already updated Lampp on my webserver to xampp-linux-x64-7.4.30-1. (this ...
0
votes
0
answers
28
views
Add image to registration email
I have some issues getting the registration email that I want. I have changed the language override to have the text I want. But now I want to add some images, logo and signature to the email.
But how ...
1
vote
2
answers
105
views
Can't Access Cookie From Plugin That Was Set in Another Extension
Background: I'm writing a component where you can add items to a cart. When the user isn't logged in, it uses a token to identify them, stored as a cookie. The cookie is stored in a view's controller.
...
2
votes
1
answer
39
views
How to 3rd party routing to my component?
I need to add EasySocial routing to my own component, so that JRoute([some EasySocial link]) outputs a proper EasySocial URL.
How can I do that? If I understand correctly, EasySocial routing is active ...
0
votes
2
answers
41
views
Using namespase USE in a module
I'm writing several joomla modules and I'd like to put common functions in the libraries folder. However I want to use them from a joomla Ajax call in my module. I'm preparing to upgrade from 3.x to ...
2
votes
2
answers
54
views
Undefined offset: 0 In old com_search override - PHP 8
as you are all probably aware PHP is not my expertise. I'm helping plan a Joomla migration to PHP 8 (J3) and a previous developer has created a com_search override of the default_results.php file.
The ...
1
vote
1
answer
159
views
Change JS/jQuery Scroll function based on screensize
I'm working on a J3 site which I've had to use quite a bit of custom html/js code. I've reached a 'can't see the wood for the tree's moment'. Joomla and PHP I can do, jQuery - my old brain doesn't ...
1
vote
0
answers
35
views
404 errors in Joomla backend
I've a problem in the back end for Joomla. I am moving my web site to a new server; it's not ready to go live yet. The problem happens all over the place not just in Article manager but here's an ...
1
vote
1
answer
49
views
Secure joomla admin: Disable editing css/html files for templates
I'd like to disable entering and editing any files in the Templates/Templates area. We have some security issues with template files (they are edited by hackers) and we are afraid that it is used for ...
0
votes
0
answers
24
views
SP Page builder integrations :invalid url error
When I want to integrate SP page builder with Joomla articles, I receive 'invalid url" error.
It's my first time working with Joomla. Can you help me with that?
0
votes
0
answers
24
views
Multipart form data long json string can not be parsed
I am posting to joomla a multipart form data that contains and image and json string through android and retrofit 2.
I have no problem with the image, it is uploaded fine.
But with the second field ...
1
vote
1
answer
41
views
Parsing errors in language files
My joomla 3.10 website was transferred to a new server. I get the following error message from the joomla debug console: "JROOT/administrator/language/en-GB/en-GB.plg_system_jdom.ini : error(s) ...
1
vote
1
answer
39
views
Modifying email address through PHP
I'm using Regular Lab's sourcerer to embed code in an article to modify users' email addresses once a questionnaire has been completed (anonymization).
I used this code to no avail:
$user = JFactory::...
0
votes
0
answers
28
views
Unable to load user with ID
I have Joomla 3.10.11 and my PHP version is 7.3
When I change the username of the existing user to a number (example: 123456789) and login into the front end, the following message appears:
Warning ...
3
votes
1
answer
366
views
Acess Joomla framework from external php file
Please advise on how to access the Joomla framework in 3.10 using an external php file in Joomla 3 which can work in Joomla 4 too
I am getting this issue:
Warning: Constant JPATH_BASE already defined ...
1
vote
1
answer
69
views
Joomla function to list down models in 3.11 not working in Joomla 4
am calling file - getbrand.php to display list of models using ajax
default.php
<?php
function brand_down(){
$db = JFactory::getDBO();
$sql = "SELECT * from #__car_categories where ...
2
votes
1
answer
260
views
Better way to rewrite method without deprecated JRequest
I believe JRequest is deprecated in the latest version of Joomla 3, have rewritten this function:
public function display($tpl = null)
{
$app = JFactory::getApplication();
$user = JFactory::...
0
votes
1
answer
39
views
How to return Http 401 on Joomla Administrator for an unauthenticated user?
everyone
How can I have /administrator/index.php?option=COM_MYCOMPONENT&controller=MYCONTROLLER&task=MYTASK return a "401 Unauthorized" HTTP error instead of redirecting to the ...
1
vote
1
answer
46
views
Suggestions for temporary fix with controller.php ($cachable = false, $urlparams = [])
I'm looking for a possible quick fix (temporary) for the follow error. This is on a Joomla 3 site, which I can only seem to assume was migrated from a Joomla 2.5 site which hopefully will be migrated ...
0
votes
0
answers
56
views
php beginner: handling array in Joomla module
Newbie in php, I am trying to create a module to extract orders from Joomla database and plot monthly results as a yearly curve.
I am trying to store first the products in an array, followed by a ...
0
votes
2
answers
40
views
joomla php notice error of only variable should be passed in
Hi Getting php notice error of only variable should be passed in
$this->assignRef('CatList' , $modelUsedcar->loadMainCat($brand,$Carmodel));
Can anyone suggest on how to make this function ...
0
votes
1
answer
18
views
Menuitem form field type: show only components
I am building an admin side form and placed a Menuitem form field, that is working just fine.
It is showing all the menu entries as expected, but I need it to list only the ones for "components&...
2
votes
1
answer
182
views
Show button for each iteration of foreach loop
I have built a module using Joomla's subform XML. The XML in the subform is
<fieldset name="topics" label="Topic">
<field name="title" type="text&...
2
votes
1
answer
3k
views
Joomla 3.10 admin not working after upgrade to PHP 8
My provider has upgraded the PHP version from 7.4 to 8.1. I'm working with Joomla 3.10 and thought that no actions were needed since PHP 8 is recommended for Joomla 3.10.
Since the upgrade was done, I ...
1
vote
0
answers
145
views
cart.json error in joomla
While checking error logs in hosting account, finding this error on few pages of cart.json not available
i have checked source page, file and never had this kind of file or link cart.json in it
Also ...
1
vote
0
answers
146
views
"Call to a member function setState() on bool" with responsivizer component after upgrading from joomla 3.9 to 3.10
After updating my Joomla site from version 3.9 to 3.10, everything is working except the responsivizer component where I am getting this error in the backend:
Call to a member function setState() on ...
0
votes
0
answers
44
views
How to push the menu information for data layer in Joomla?
I have the same forms in different menus. When a user clicks the form link, it will redirect to the form page. In google tag manager, we need to track from which menu the user has been redirected to ...
0
votes
0
answers
17
views
Joomla Taxibooking component - show price in two currencies
I'm using component "taxibooking" by Kanev and I need a solution for displaying price in two currencies.
EURO is coming to our country and my shop will have to display prices in two ...
3
votes
2
answers
187
views
JCE Editor toggle editor button missing V2.9.32
I manage quite a few Joomla sites and following a stint of updates I've noticed that the Toggle editor button is missing on sites with JCE 2.9.32 Joomla 3.10.11.
I had some sites which I was yet to ...
2
votes
0
answers
57
views
Very slow HTTP response times possibly due to SEF rules in htaccess
Im running Joomla 3.X and can't seem to pinpoint why I'm getting such high HTTP response times.
I think I narrowed it down to the SEF rules in my .htaccess
I ran some tests and thought to post my ...
1
vote
1
answer
234
views
Display google photos embed as a grid on joomla website (publicalbum.org)
I will upload a pretty large amount of photos on my website and I don't want to overload the server.
I was thinking it might be a good idea to upload the images to google photos and embed them on the ...
0
votes
0
answers
19
views
Newly published article does not load
I have published a new article, which is in a published category and menu that contain other published articles.
The article, which is public, goes to a 404 error page. The url of the article is:
...
1
vote
0
answers
103
views
How to change 'Response Headers "cache-control" '
I have got a site running on AWS using Cloudfront which is caching the site.
I've got browser and page cache enabled in Joomla.
However, when looking at the Response Headers, under cache control it's ...
1
vote
1
answer
755
views
"Warning: session_start(): Failed to read session data" after upgrading from PHP 7.4 to PHP 8.0
After upgrading a stable Joomla 3.10.11 website from PHP 7.4 to PHP 8.0, the following error is displayed on the front end and back end of the website:
Warning: session_start(): Failed to read ...
0
votes
2
answers
109
views
Not correcting redirect to 404 page if url not exist
Today I caught a bug with my 404 page redirecting.
If I have not existing page like this https://domain.com/blablapage, redirecting to 404 is working all good.
But if user go to url https://domain.com/...
1
vote
1
answer
68
views
Show images in Joomla 3.10 search results (com_search)
I want to show the intro image of articles in Joomla 3.10 search results (com_search).
In previous Joomla 3 versions, I know that you could do this:
Create template override:
/templa tes/...
0
votes
1
answer
129
views
J4, Custom Input Field SQL "WHERE" based on another input field
Having the SQL in the XML file to build custom inputs is great, I just can't figure it out how to link the value based on another imput...
Say you have the Language Selection, then you want that value ...
1
vote
2
answers
188
views
Custom Fields Implementation
I have a custom component I am creating. I am trying to implement custom fields for several of my views. I have custom fields added currently and I can create a custom field and custom field groups ...
0
votes
1
answer
31
views
Discover uitlity not finding component
I'm developing a component and Joomla can't find it using Discover utility. This is my component xml file.
<?xml version="1.0" encoding="utf-8"?>
<extension type="...