CiviCRM's public pages – contribution pages, event registration, profiles, mailing-list sign-ups – reach visitors through Joomla. After a Joomla upgrade or a site rebuild, it is common for some of them to stop working while the CiviCRM back end looks fine. Here is how to find and fix them.
How CiviCRM pages reach the front end
There are two ways a visitor lands on a CiviCRM page in Joomla:
- A Joomla menu item of a CiviCRM type: Contribution Page, Event Information Page, Event Registration Form, Event Listing, Mailing List Subscription, Profile forms, CiviCRM Dashboard and others. The menu item stores which page it shows (for example, the contribution page ID).
- A direct component URL with a CiviCRM path in the
taskparameter, for example:
These are in old emails, receipts, social posts and other sites linking to you./index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=1
Both can break in an upgrade for different reasons.
Check 1: The menu items still exist and are valid
- Open Menus » All Menu Items and filter by the CiviCRM component. Every item should show a CiviCRM type, not "Menu item type unknown".
- Open each one and check Basic Options still points at the right page (contribution page, event, profile).
- Check access levels: the CiviCRM Dashboard should be Registered, public forms Public.
- Check the menu item is published and assigned to the right language.
If a CiviCRM menu item type is missing entirely, the component may not have installed cleanly – reinstall the same CiviCRM version over itself and check again.
Check 2: The CiviCRM page itself is active
A contribution page or event that was disabled, ended, or reached its registration limit shows an error or redirect, which can look like a broken page. In CiviCRM, open the page's settings and check it is active and within its dates.
Check 3: SEF URLs and aliases
- If you changed menu aliases or moved items between menus, the friendly URL changes. Links in emails and on other sites still use the old one.
- Joomla's Redirects component (enable the "System - Redirect" plugin with "Collect URLs" on) shows which old URLs visitors are hitting. Add a redirect for each.
- Long
task=civicrm/…URLs should keep working as long as the component is installed and the CiviCRM page exists. If they 404 too, the problem is the component or the page, not the alias.
Check 4: Old links in emails and receipts
Receipts and mailings sent years ago still carry links. Test a few real ones from your sent items: renewal links, event "register" links, unsubscribe and opt-out links. Unsubscribe and opt-out links are the ones you must not break – they come from CiviMail and need the component working, not a menu item.
Check 5: The template
A new template may lack an override CiviCRM's front-end pages rely on, or hide the component area on certain pages. If the CiviCRM form loads but appears empty or unstyled, test the same page with Joomla's default template (Cassiopeia). If it works there, the template is the cause.
Prevent it next time
- Before an upgrade, export a list of every CiviCRM menu item with its target page.
- Keep aliases unchanged during the upgrade; redesign URLs separately, with redirects.
- Add every public CiviCRM page to your post-upgrade test list – our test checklist has them all.
List every CiviCRM menu item from SQL
Before and after an upgrade, export the CiviCRM menu items with the page each one points to. Then a broken one is a diff, not a hunt:
# terminal – Joomla database, adjust the prefix
mysql -e "SELECT id, menutype, published, path, link
FROM jos_menu
WHERE link LIKE 'index.php?option=com_civicrm%' AND client_id = 0
ORDER BY menutype, lft;" joomla_db
The link column carries the CiviCRM route (task=civicrm/contribute/transact, civicrm/event/register, civicrm/profile/create …) and the page id, so you can check each one against CiviCRM: is contribution page 3 still active, does event 12 still exist?
For old links that must keep working, test them as a visitor would, without a session:
# terminal – status code of each old link (one URL per line in old-links.txt)
while read -r url; do
printf '%s %s
' "$(curl -s -o /dev/null -w '%{http_code}' -L "$url")" "$url"
done < old-links.txt
We keep the links that are already out there. On every CiviCRM upgrade we check menu items, old task URLs and add redirects where needed.
CiviCRM Joomla 6 upgrade →
CiviCRM does a lot of its work on a schedule: sending CiviMail mailings, membership reminders and status updates, processing bounces, recurring contribution jobs. None of that happens unless a server cron calls CiviCRM regularly. After a Joomla or PHP upgrade, this is one of the first things to break – quietly.
Symptoms
- Mailings stay "Scheduled" and never send.
- Membership statuses don't change, renewal reminders stop.
- System Status says cron is not running.
- The job log (Administer » System Settings » Scheduled Jobs → View Log) has no recent entries.
Step 1: Check the job works by hand
In Scheduled Jobs, pick a harmless job such as CiviCRM Update Check, set it to run "Always", and click Execute Now. If it fails here, the problem is inside CiviCRM (permissions, a broken extension), not cron. Fix that first.
Step 2: Run the same job from the command line
There are three common ways to run CiviCRM's cron on Joomla. Try them by hand, as the same system user the web server runs as (often www-data).
cv (recommended)
cv cron --cwd=/var/www/example.org
cv is CiviCRM's command-line tool; cv cron is the alias of its core:cron command. It runs the jobs with full admin rights for the default domain. If it works in your shell but not from cron, use absolute paths to PHP and cv:
/usr/bin/php8.3 /usr/local/bin/cv cron --cwd=/var/www/example.org
cli.php
/usr/bin/php8.3 /var/www/example.org/administrator/components/com_civicrm/civicrm/bin/cli.php \
-s example.org -u cronuser -p 'password' -e Job -a execute
Use a dedicated Joomla user with the CiviCRM permissions the jobs need. -s should be your real domain – CiviMail uses it to build absolute links.
HTTP (cron.php)
If you have no shell access, call the cron URL from a web cron service:
https://example.org/administrator/components/com_civicrm/civicrm/bin/cron.php
with name, pass and key (your site key, CIVICRM_SITE_KEY in civicrm.settings.php) sent as POST data rather than in the URL.
Step 3: The usual causes after an upgrade
Different PHP on the command line
The web server runs PHP 8.3, but php on the command line is still 8.1 – or lacks bcmath or intl. CiviCRM's docs call this out specifically. Check both:
php -v
php -m | grep -E 'bcmath|intl|mbstring|zip'
Then put the full path to the right PHP binary in the crontab.
The path moved
A new server, a new document root or a staging copy promoted to live – and the crontab still points at the old folder. Check the paths in the crontab line one by one.
The cron user changed
Running cron as a different system user than the web server can leave files in media/civicrm that the web server can't write, and vice versa. Run cron as the web server user:
sudo crontab -e -u www-data
Only one job is called
If the crontab calls a single job (for example process_mailing) instead of Job.execute, mailings go out but System Status still reports cron as not running, and other jobs never run.
Step 4: Stop runs from piling up
On one of our client sites, the host flagged heavy database load from CiviCRM's cron after an upgrade. A run took longer than the five-minute interval, the next run started on top of it, and so on. The fix is a lock and a hard time limit:
*/5 * * * * flock -n /tmp/civicrm-cron.lock timeout 600 /usr/bin/php8.3 /usr/local/bin/cv cron --cwd=/var/www/example.org --quiet
flock -nskips a run if the previous one is still going.timeout 600stops a run after ten minutes, so one stuck job can't hold the lock forever.
After a week, check the job log: if jobs regularly hit the limit, look at which one is slow (often a large mailing or a bounce mailbox with thousands of messages).
Step 5: Confirm it runs
- Wait for the next cron interval.
- Open the job log – the test job should have a fresh "Success" entry.
- Check System Status – the cron warning should be gone.
- Set the test job back to its normal frequency.
Read the job log from SQL
The Scheduled Jobs screen shows one job at a time. The table behind it, civicrm_job_log, shows the whole picture: which jobs ran, when, and what they said.
# terminal – last run per job, newest first (in the CiviCRM database)
mysql -e "SELECT j.name, MAX(l.run_time) AS last_run, j.is_active, j.run_frequency
FROM civicrm_job j LEFT JOIN civicrm_job_log l ON l.job_id = j.id
GROUP BY j.id ORDER BY last_run DESC;" civicrm_db
# what the last ten runs reported
mysql -e "SELECT run_time, name, LEFT(description, 120) FROM civicrm_job_log ORDER BY id DESC LIMIT 10;" civicrm_db
An active job whose last_run is days old is your problem job. A gap of exactly the same length for all jobs means cron itself stopped. The civicrm_job table also has last_run and last_run_end: a last_run without a matching end means a run started and never finished, which is exactly the overlapping-run case above.
System Status from the shell, so you can check it from the same cron user:
# terminal
cv api4 System.check --cwd=/var/www/example.org | grep -iE '"(title|severity)"'
Cron is one line we check on every CiviCRM upgrade. We test it on the new stack with a time limit, alongside payments and mailings.
CiviCRM Joomla 6 upgrade →
CiviCRM core keeps up with PHP well. CiviCRM extensions – payment processors, reports, integrations, small helpers someone installed years ago – are maintained on their own schedules, and they are usually what breaks when PHP goes up. CiviCRM's own docs warn about exactly this. Here is how we audit them before an upgrade.
1. List what is installed
Go to Administer » System Settings » Extensions. For each enabled extension note:
- name and key (for example
org.civicrm.example) - installed version
- whether an update is offered
- what the site uses it for – ask the people who run the site, not just the admin screen
With shell access, cv ext:list -Li lists installed extensions with versions, which is quicker to paste into a spreadsheet.
Disabled extensions still sit on disk. Remove the ones nobody needs before the upgrade – less to check, less to break.
2. Check each one
For every enabled extension, find its page in the CiviCRM extensions directory or its code repository and look for:
- Supported CiviCRM versions in the release info – does it list your target version?
- Last release date. Nothing in two or three years on an extension with PHP code is a warning sign.
- Open issues mentioning PHP 8.2 or 8.3, "deprecated", or the CiviCRM version you are moving to.
Then sort the list into three groups:
| Group | What it means | Action |
|---|---|---|
| Compatible | Recent release supporting your targets | Update it on staging |
| Update needed | A newer version exists | Update first, then test its feature |
| Unclear or abandoned | No recent release, no word on PHP 8.3 | Test on staging; replace, patch or remove |
3. Test on staging with errors visible
On a staging copy running the target PHP version, turn on CiviCRM's debugging and keep an eye on the PHP error log. Then use each extension's feature – run the report, make a test payment through the processor, trigger the integration.
On PHP 8.x, look for:
- Fatal errors – the extension is not usable as is.
- "Deprecated" notices – fine today, but they become errors in a later PHP version. Note them for the next round.
- Silent failures – a payment that never records, a report that comes back empty. Only testing the actual feature catches these.
4. Decide what to do with the problem ones
- Is it still needed? Often the feature moved into CiviCRM core (SearchKit and FormBuilder replaced many old report and form extensions).
- Is there a maintained alternative? Especially for payment processors.
- Can it be patched? Small PHP 8 fixes are usually quick. Send the patch upstream, so you are not maintaining a private fork.
What a good audit looks like
On a typical site we review, most extensions are fine, a few need an update and one or two need a decision. That one-line summary – "12 installed, 10 compatible, 2 to update" – is what should go into the upgrade plan and the quote, before any work starts.
Part of the bigger picture in CiviCRM on Joomla 6: the complete guide.
Speed it up with static checks
Clicking through every feature is the only real test, but a static pass finds the obvious PHP 8 problems first, so the click-through is shorter:
# terminal – where extensions live, and their declared compatibility
cv ext:list -Li --cwd=/var/www/example.org
grep -h -A3 "<compatibility>" /path/to/civicrm/ext/*/info.xml | grep "<ver>"
# syntax check every extension with the target PHP binary
find /path/to/civicrm/ext -name '*.php' -print0 | xargs -0 -n1 php8.3 -l | grep -v '^No syntax errors'
# PHP 8.3 compatibility scan (PHP_CodeSniffer + PHPCompatibility)
composer global require squizlabs/php_codesniffer phpcompatibility/php-compatibility
phpcs -p --standard=PHPCompatibility --runtime-set testVersion 8.3- /path/to/civicrm/ext/org.example.someext
PHPCompatibility reports removed functions, changed signatures and deprecated syntax. It can't see behaviour that changed silently (string-to-number comparisons, for example), which is why the feature test still decides.
Want the audit done for you? Every CiviCRM upgrade review we do lists each extension with a verdict, before we quote.
CiviCRM Joomla 6 upgrade →
Most failed CiviCRM upgrades we see don't fail in CiviCRM. They fail on the server: a PHP extension that isn't there, a database too old for Joomla 6, a command-line PHP that differs from the web one. Fifteen minutes of checking saves a broken weekend.
The target
For CiviCRM 6.x on Joomla 6 you need what both ask for:
| Check | Minimum | Better |
|---|---|---|
| PHP (web and CLI) | 8.3 | 8.4 |
| MySQL | 8.0.13 | 8.4 |
| MariaDB (instead of MySQL) | 10.4 | 10.6+ / 11.4 |
| PHP memory limit | 256M | 512M |
| PHP extensions | bcmath, intl, zip, mbstring, gd, dom, simplexml, json, curl, mysqli/pdo_mysql | |
On Joomla 5.4, PHP 8.1+ and MySQL 8.0.13 / MariaDB 10.4 already apply; CiviCRM 6.16+ recommends PHP 8.3 or newer.
1. PHP on the web
In Joomla: System » System Information » PHP Information. Note the version and search the page for bcmath, intl, zip and mbstring. CiviCRM's own System Status screen also warns about missing extensions.
2. PHP on the command line
This is the one that gets missed. Cron and cv run on the command-line PHP, which can be a different version with different extensions:
php -v
php -m | grep -Ei 'bcmath|intl|zip|mbstring|mysqli|pdo_mysql'
php -i | grep -E 'memory_limit|max_execution_time'
If php is the wrong version, find the right binary (for example /usr/bin/php8.3 or, on cPanel, /opt/cpanel/ea-php83/root/usr/bin/php) and use its full path in cron.
3. The database
In Joomla: System Information » System Information shows the database version. Or from the shell:
mysql -V
mysql -u user -p -e "SELECT VERSION();"
MySQL 5.7 or MariaDB 10.3 means a database upgrade before Joomla 6 – on shared hosting, often a move to a newer plan or server. Ask the host early; it is the slowest part to arrange.
If CiviCRM uses its own database, check it lives on the same server version, and read about the separate-database upgrade bug.
4. Limits that matter during the upgrade
memory_limit– 256M at least; the CiviCRM installer and database upgrade are memory-hungry.max_execution_time– raise to 300–600 seconds for the upgrade itself.upload_max_filesize– only matters if you upload the package through the browser; unzipping intotmpand using Install from Folder avoids it.
5. Disk space and permissions
- Room for a full backup plus the unzipped CiviCRM package (several hundred MB).
- The web server user can write to
media/civicrmand the Joomlatmpfolder.
Write it down
Keep the results with your upgrade plan: PHP web/CLI versions, extensions, database version, limits, and who changes what (you or the host). If anything is below the minimum, fix the server first and upgrade second – never both on the same night.
Next: audit your CiviCRM extensions for PHP 8.3, then follow the upgrade walkthrough.
The whole check as one script
Run it as the user cron runs as, so you see the CLI PHP that matters:
# terminal – precheck.sh
#!/bin/sh
echo "PHP CLI: $(php -r 'echo PHP_VERSION;') ($(command -v php))"
for ext in bcmath intl zip mbstring gd dom simplexml json curl mysqli pdo_mysql; do
php -m | grep -qix "$ext" || echo "MISSING extension: $ext"
done
php -r 'printf("memory_limit=%s max_execution_time=%s
", ini_get("memory_limit"), ini_get("max_execution_time"));'
mysql -N -e "SELECT VERSION();"
df -h . | tail -1
# CiviCRM's own view of the environment (after install)
cv status --cwd=/var/www/example.org
Compare the CLI result with System → System Information in Joomla (the web PHP). Any difference between the two is a cron problem waiting to happen.
Not sure your hosting can take it? We include a server check in every CiviCRM upgrade review, and help move to a host that meets it.
CiviCRM Joomla 6 upgrade →
Every CiviCRM site eventually needs something CiviCRM doesn't do out of the box: a changed form, a workaround for a bug, a Joomla 6 compatibility fix. The quickest way is to edit the file that causes the problem. It is also the way that guarantees the problem comes back. This post is about where fixes should live instead.
Why core edits fail
A CiviCRM upgrade on Joomla installs the new package over the old one. Every file CiviCRM ships – in administrator/components/com_civicrm, in its Joomla plugins, in components/com_civicrm – is replaced. Your edit is gone, silently, and usually nobody remembers it existed until a donation form breaks.
The cost is not the first fix. It is every update after it: either someone re-applies the patch by hand each month, or the site stops getting updates – including security releases.
Where fixes should live
| Kind of change | Put it in |
|---|---|
| Change CiviCRM behavior (validation, form fields, totals, permissions) | A CiviCRM extension using hooks such as hook_civicrm_buildForm, validateForm, post, alterAPIPermissions |
| Change how a CiviCRM page looks | A CiviCRM extension with template overrides or CSS, or the Joomla template |
| New reports, searches, forms | SearchKit and FormBuilder (saved as managed entities in an extension) |
| Joomla-side behavior (user sync, routing, Joomla 6 compatibility) | Your own Joomla plugin, packaged as a separate extension |
| A real bug in CiviCRM | A patch sent upstream, plus a temporary hotfix extension until the release includes it |
CiviCRM itself works this way for urgent problems: for the August 2026 APIv4 security issue, one of the official mitigations was a small "hotfix" extension you could install instead of upgrading. See CiviCRM 6.17.1 security release.
A small example: a hook instead of an edit
Say a contribution form must reject donations below 5 in your currency. Instead of editing the form class, a CiviCRM extension adds a validation hook:
function myorg_civicrm_validateForm($formName, &$fields, &$files, &$form, &$errors) {
if ($formName === 'CRM_Contribute_Form_Contribution_Main') {
$amount = (float) ($fields['total_amount'] ?? 0);
if ($amount > 0 && $amount < 5) {
$errors['total_amount'] = ts('The minimum donation is 5.');
}
}
}
The extension has its own folder, its own version number and its own repository. A CiviCRM upgrade doesn't touch it.
Joomla 6: the same principle
On Joomla 6, CiviCRM's own Joomla plugins need updating for the event system (explained here). Rewriting them in place would be a core edit. Instead, the compatibility code goes in a separate Joomla extension of your own. That is how we run CiviCRM on Joomla 6 on NorCal CarciNET and WARMTH: zero CiviCRM core files changed.
Prove it survives an update
A fix is only "outside core" if an update proves it. On staging:
- Note what each fix does and how to see it working.
- Install a CiviCRM update – or reinstall the current version over itself.
- Check every fix again.
If anything disappears, it was in the wrong place. Move it before the next real update finds it for you.
Keep a register
For every customization, write down: what it does, why, where it lives (extension name and version), and how to test it. One page is enough. It turns "what did the last developer change?" into a five-minute read.
Start the extension with civix
CiviCRM's scaffolding tool civix creates an extension with the right structure, info.xml and hook wiring in a minute, so there is no excuse to put a fix anywhere else:
# terminal – in CiviCRM's extensions directory
civix generate:module org.example.donationmin
cd org.example.donationmin
# add myorg-style hook functions to donationmin.php, then:
cv ext:enable org.example.donationmin --cwd=/var/www/example.org
Keep the extension in its own Git repository and deploy it like any other code. The register of customisations then points at a repository, not at a person's memory.
Inherited a CiviCRM site with core edits? We find them, move them into extensions and hooks, and prove they survive the next update.
CiviCRM Joomla 6 upgrade →
Newer security release: CiviCRM 6.20.1 (18 November 2026) fixes 29 more advisories, and every version up to 6.20.0 is affected. What Joomla sites should do.
On 5 August 2026 CiviCRM released 6.17.1, 6.16.5 and 6.10.10 (ESR) to fix a highly critical security issue. If your Joomla site runs CiviCRM and has not been updated since, this is the one to do now.
What the problem is
CIVI-SA-2026-37: any user – including an anonymous visitor – could bypass APIv4 permission checks with a specially crafted REST call. In other words, data and actions that should need a login and the right permission could be reached without either.
It is a variation of an earlier issue (CIVI-SA-2026-35), whose first fix was deliberately narrow. The new fix closes more variations of the same bug.
Who is affected
| Affected | CiviCRM 6.17.0 and earlier |
|---|---|
| Fixed in | 6.17.1, 6.16.5, 6.10.10 (ESR), and every later release |
| Risk | Highly critical · access bypass |
The Joomla version doesn't matter – this is in CiviCRM core.
What to do
CiviCRM lists three ways to mitigate it. Any one is enough:
- Upgrade to a fixed version – today, that means the current release (6.19.1 at the time of writing), or 6.10.10+ if you stay on ESR.
- Install the hotfix extension "Hotfix: Camel Attack" through the extensions screen or the command line, if you can't upgrade straight away.
- Apply the patch linked from the advisory – for developers who manage CiviCRM by hand.
Upgrading is the best option; the hotfix buys time. If you use the hotfix, plan the full upgrade anyway.
Check after updating
The advisory notes a regression risk: APIv4 now treats more properties as case-sensitive. That matches how APIv4 is meant to work, but third-party code that relied on the old, looser behavior may break. After updating, test:
- Integrations that call CiviCRM's API – website forms, external apps, sync scripts.
- Custom CiviCRM extensions written in-house.
- FormBuilder forms and SearchKit displays that the public can reach.
An "unknown field" or "not found" error from an integration after this update usually means a property name with the wrong capitalization in the calling code.
Lessons for next time
- Subscribe to CiviCRM's security announcements, so you hear about the next one the day it ships.
- Keep a staging copy fresh enough that a security update can be tested in an hour, not a week. Our update routine is built for exactly this.
- Keep fixes out of CiviCRM core, so security updates never wait on re-applying patches. More here.
Verify it, don't assume it
# terminal – which version is really running, and is the hotfix extension installed?
cv status --cwd=/var/www/example.org | grep -i civicrm
cv ext:list -Li --cwd=/var/www/example.org | grep -i hotfix
# integration code that may rely on case-insensitive APIv4 property names
grep -rnE 'api4\(|Civi\\Api4' /path/to/integrations --include=*.php | cut -c1-140
After a security update, look at the web server log for the days before it: requests to /civicrm/ajax/api4/ or the REST endpoint from unknown addresses, at volumes no form would produce, are worth a closer look.
Behind on CiviCRM updates? We bring CiviCRM up to date on staging, test what takes money and email, and update live.
CiviCRM Joomla 6 upgrade →Page 2 of 2

