Questions tagged [joomla-2.5]

For questions regarding version 2.5 of the Joomla Content Management System. This version is part of the LTS (Long Term Support). Please note this version of Joomla is no longer supported and is recommended you migrate to Joomla 3.x

Filter by
Sorted by
Tagged with
1 vote
1 answer
482 views

How to clear page and component caching by a URL in Joomla 2.5.x?

There is a website made in Joomla 2.5.x. It has System Cache enabled. The website contains a component called com_magic that handles URLS like: https://websiteurl.com/bikes?view=best https://...
0 votes
1 answer
45 views

Login Error Joomla 2.5

There is some issue on my site when users visit directly http://spcrepsite.com (without www.) it works accurately, But when http://www.spcrepsite.com (include www.) it will show (homepage) that page ...
1 vote
1 answer
218 views

Redirection not work from non www to www(https) You configured HTTP(80) on the standard HTTPS(443) port!

I'm currently have a website which runs under https and work with no issue and I've tried to do something on my .htaccess file so that when I try http://abc.com it will redirect to https://www.abc.com ...
0 votes
1 answer
169 views

Alias title in joomla 2.5 link

I know Joomla! 2.5 is out of date but I need a help. I have a search plugin and I'm using 2 languages. The problem is that every time I'm using the 2nd language, the result link from the search ...
0 votes
0 answers
17 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\...
2 votes
1 answer
112 views

bxSlider as module loads the body of my template again

I face a problem with plugin bxSlider and my 2.5 Joomla website. I am using it as a custom module. The problem is that when it loads, under my image it loads the whole template again! This happens ...
1 vote
0 answers
30 views

getting first image of article for open graph

I've been a PHP developer for long time, but I am new to Joomla. On a Joomla 2.5 project, I need to make open graph meta tags. As a part of open graph meta tags, I need to find first image of article. ...
1 vote
1 answer
51 views

Upgrading an Old Joomla 2.5 Site to 3.x Version

I have an old Joomla 2.5 site and am trying to upgrade it to the current version. My problem is I need to update some items but I'm not finding the old versions of them for doing that. They are: ...
0 votes
2 answers
333 views

Pass xml field inside module's helper class

I have a custom Joomla module. In the helper.php class, I need to pass XML field data. Here is what I have so far. class modcatbanerHelper { // I need to pass here public $selected_cat = $...
0 votes
0 answers
16 views

Main menu, footer, right menu not showing up on default page

Inside the template manager, I have selected a bunch of pages for main menu, top header, right menu. However, the website loads just the default Home page article without these menus. Any tips on ...
3 votes
4 answers
1k views

Multiple INSERTS in one query Joomla

How can I do multiple inserts like: $query = "INSERT INTO `table` (`fied1`, `field2`, `field3`) VALUES ('one', 'two', 'three'),('four', 'five', 'six'); INSERT INTO `table` (`fied1`, `field2`, `field3`...
6 votes
3 answers
2k views

Adding Mathjax to a Joomla website

I would like to add MathJax functionality to my website but I have no idea how to go about doing so. Does this require using a specific template or modifying an existing one? (I'm currently using ...
0 votes
0 answers
26 views

Where to find script causing mixed content Joomla

I setup an SSL on my Joomla website. Right after the SSL is enabled, the submenus are not displayed. I checked the browser options and found Mixed Content. There is a script which is not loading http. ...
5 votes
1 answer
430 views

updating premium joomla extensions from update manager

As this article says, the extension update system is now compulsory for all extensions in JED. I searched the web but did not find any satisfactory information about implementing it for my premium ...
15 votes
4 answers
11k views

How to check what component is being used on current page?

I want to set up my template so it will display different layout depending on what component is being used on current page. How to check for this?
1 vote
0 answers
43 views

Unable to change 'Joomla Update' options for upgrading Joomla 2.5 to 3.x

I am trying to upgrade Joomla 2.5.28 to Joomla 3.x using the steps described here: https://docs.joomla.org/Joomla_2.5_to_3.x_Step_by_Step_Migration I backed up the original website using Akeeba and ...
1 vote
0 answers
39 views

Some users cannot log in on frontend

I have some users who are stuck in a loop where entering their login information redirects them back to the login page and nothing happens. A few were able to get around this by using another device ...
17 votes
4 answers
34k views

Adding custom CSS styling on some of my pages

I would like to add custom CSS styling to some of my pages to give them a unique style, and override the default template styling. How can I achieve this in Joomla?
1 vote
1 answer
60 views

Upload multiple versions(ex: 2.5 & 3.0) of the extension as single zip file in JED

I have an Joomla extension for both v-2.5 & v-3.0 in JED. After updating the v-3.0 extension locally, I uploaded it into JED. I see that there is written_ For multiple versions of the extension (...
15 votes
7 answers
10k views

Upgrade from 2.5 to 3.x overview

This is something I have been curious on for some time considering a few things. How well is the "one click" upgrade going to improve prior to the EoL of Joomla! 2.5? Right now we have a very low ...
2 votes
2 answers
574 views

How to use Joomla editor on a field of form into custom component?

I have created a custom installable component for Joomla. I need to add editor on a textarea. How can I use Joomla editor into custom component??
2 votes
3 answers
91 views

Change existing template in Joomla 2.5

My live website is not user-friendly, and I'm considering to use a new template. I bought a template, but how can I use the new template for the same content with some modification? If I use new ...
0 votes
0 answers
66 views

How to redirect website from non www to www ( Windows +Wamp+Joomla)

I have an issue here where I have already added line below into .htaccess file, AllowOverride all in httpd.conf file, enabled Use URL Rewriting from Joomla, but none of those work. Did I miss out ...
1 vote
1 answer
2k views

How to load JPATH_BASE in my module?

I'm creating a new menu module, but I keep running into the same problem. I'm trying to make my stylesheet variable, by taking params that people can fill in in the admin panel, and putting them in ...
6 votes
3 answers
3k views

Joomla! JFactory::getDate wrong

According to the documentation JFactory/getDate $tzOffset default value is 0. However, the following example: $date_default_offset = JFactory::getDate('now'); echo $date_default_offset->toRFC822(...
0 votes
1 answer
47 views

How to access a custom action page

I have never worked on Joomla so I apologize for my naive question. I have a button on a page which redirects to this URL - https://ttmac.com/en/online-courses/buy?view=order-multiple-courses&...
2 votes
4 answers
3k views

Hide Joomla module on blog detail page

I have been struggling with this one for about 4 hours to no avail. I have a joomla site that uses numerous modules on the homepage and a few other pages. I have done tons of research and see that I ...
0 votes
1 answer
222 views

1054 Unknown column 'a.extra_query' in 'field list' SQL=SELECT DISTINCT [duplicate]

I'm finally upgrading Joomla 2.5 to 3.9 with a step to 3.5.1. However, whatever I try, I keep getting this error: 1054 Unknown column 'a.extra_query' in 'field list' SQL=SELECT DISTINCT a....
0 votes
1 answer
495 views

Joomla 2.5 post with python to login

I´m trying to create an script to do fails logins in Joomla. I had a brutal force attack some days ago and the plugin Brutal Force Stop was failed, I have changed the database from MySQL to DynamoDB ...
0 votes
1 answer
313 views

How can I remove check for user data (invalid token error)

I've found a lot of advice on how to keep [invalid token] error from occurring. I've tried them and still have an issue. I just want to get rid of the check. Can anyone tell me off hand where I ...
2 votes
3 answers
1k views

Text search within single article content

I have inserted the Joomla search module in an article. Now I wish that this module would allow me to search only in the article in which it is present and not throughout the site! Is it possible?
7 votes
1 answer
561 views

How to access an array in $_GET using JInput?

I've been researching different ways to get an array using JInput. According to http://docs.joomla.org/Retrieving_request_data_using_JInput there are 2 methods that I can use. Method1 $jinput = ...
3 votes
3 answers
1k views

Edit a record saves a new record with updated fields

I'm writing a small Joomla component for my school but there is a little problem with it. When I go to edit a record and then save it, instead of updating that record, it saves it as a new record ...
2 votes
1 answer
363 views

Email - is this possible

I created a Joomla 2.5 site (needs updated I know) for a client a while back, the site hasn't been maintained in quite a while. They contacted me today concerned about an email which was (thought to ...
1 vote
1 answer
176 views

Site got hacked - kill the daemon that inserts the data

There is a backend process on my hosting that got hacked few days ago. The process inserts rows in a table. The website is on Joomla. Whenever I move the website from root to another folder, the ...
4 votes
2 answers
7k views

Error 503 service unavailable in my Godaddy hosting with Joomla 2.5 website

I create a Joomla website before 1 year, but before 1 month my Godaddy hosting said we have reached all resources and the CPU 100%, when I contact the support they said we have a PHP Script that start ...
1 vote
3 answers
321 views

Insert custom text to JCE using Javascript

How to insert custom text to JCE v. 2.3.4.4 using javascript? I have opened the page source and saw that the editor is an iframe. Text is in <body id="tinymce">. I was trying something like: $...
15 votes
2 answers
40k views

Where is $this->baseurl defined in joomla?

I asked this question on stackoverflow.com first (question here). In the comments you can read that it would be better if I ask that question here. On my joomla website I'm using echo $this->...
10 votes
4 answers
2k views

How to develop a Joomla module?

I've looked far and wide for a tutorial on this, but can't seem to find anything satisfactory. How do you make a new module for joomla? Right now I'm using custom HTML modules all over my code, and ...
4 votes
2 answers
9k views

Do I need to complete the cookie domain and path information in Joomla?

In the Joomla backend, under Global configuration -> Site I have the following cookie setting information My Joomla website seems to work fine without having completed the cookie fields, so my ...
3 votes
1 answer
3k views

Creating custom field type multiselect list - how to save the values?

I want to make a module that parses the manufacturers from virtuemart, and the user will select which manufacturers he wants to be shown in the index page. Its the first time I try to create a custom ...
0 votes
2 answers
165 views

How to write a condition to check if a number is a multiple of 30?

How to set up an array so that instead of maximum - an array on multiples of 30 is shown i.e $max = 30, 60, 90, 120, 150......and so on If array $max matches on multiple of 30, 60, 90, 120, 150, 180,...
5 votes
2 answers
4k views

How to do SQL exception / error handling compatible with 2.5 and 3.x?

I was trying to develop Joomla 2.5 and 3 component. As many things deprecated between these two versions and the way to throw and catch database and other errors, I could not find ways yet to make ...
2 votes
2 answers
44 views

How to stop Joomla 2.5 from disabling PHP

I need to stop Joomla from converting PHP code to a comment (or otherwise disabling it). I copied a working page with a basic [directory listing] function, and the duplicate wouldn't work. I am ...
1 vote
1 answer
974 views

SP Smart Slider doesn't load

If you check this webpage: http://www.benaventegrow.com/ I don't know why, but SP Smart Slider module doesn't load. It must be a JQuery conflict. I have read about the .noConflict() function, but it'...
1 vote
1 answer
152 views

Form inside a backend component redirects me to index page

I got the function addNew() that creates a form inside a backend component. function addNew() { $route= JRoute::_( 'index.php?option=com_pelatol&task=insertyo'); $html.='<form action=...
0 votes
1 answer
131 views

Bulk delete disabled k2 users Joomla 2.5

I have thousands of spam users. I use K2 and I would want to delete them from "k2_users" and from "users". I want to delete the blocked ones. I have tried deleting K2_users from the admin, but it does ...
0 votes
1 answer
84 views

Accessing path to tmp directory in my component

How can I access in a custom component the full path to tmp directory configured in the Joomla configuration? I have changed the tmp directory to be outside of the Joomla! installation.
2 votes
2 answers
1k views

Joomla 2.5, how to use "HAVING" using Query Object

"SELECT *, ((ACOS(SIN($lat * PI() / 180) * SIN(latitude * PI() / 180) + COS(78 * PI() / 180) * COS(latitude * PI() / 180) * COS((87 - longitude) * PI() / 180)) * 180 / PI()) * 60 * 1.1515) AS distance ...
2 votes
1 answer
656 views

Update from 2.5.28 to 3.5.1 then to 3.6 on PHP 5.6 everything works except joomla update or database fix cause these errors

clicking joomla update button in backend end gives this error: 1054 Unknown column 'a.extra_query' in 'field list' SQL= SELECT DISTINCT a.update_site_id, a.type, a.location, a....

1
2 3 4 5
9